>
> Hi all,
> Pretty simple question , but I meet with .bz2 format first time and
> checked man and info with no result. Please , tell me how "zip" and
> "unzip" form this format?
First, you need the bzip2 package installed. If it's not installed, you
can install it this way:
apt-get in
> Hi all:
>
> How would I enter a command (or write a simple script) that would do:
>
> FOR EACH FILE *.elc IF THERE IS CORRESPONDING *.el, DELETE IT
>
> Are there any good online resources about writing similar scripts?
I found this web page, under the Unix shells section in Yahoo:
http://www
> Hi, I'm a fan of Debian, and soon i'll have to give a speech
> at University talking about Linux and Debian. As our native
> language is not English we always have this problem...
> So the simple question is:
> How is "Debian" pronounced?
I think pronouncing it as you would in Portuguese will
> My mailbox cannot handle the number of posts this list generates,
> especially not when I'm away for the weekend or even week. What should I
> do to participate in this mailing list without clogging my mailbox?
Well, there are several sorts of solutions to this kind of problem.
A simple one is
> I this case the '\'s that appear in #include statements are the ONLY
> ones that need to be changed, so I can look for #include.
Good. So you need to change `\` to `/` in lines that start with
'#include':
cat file.c |sed -e '/^[ \t]*#include/ s,\\,/,g' >outfile.c
That I think should d
> > If backslashes will only appear in file paths, you
> > are set. If they
> > appear in some other contents where they need to be
> > kept, then look at a
> > more sophisticated tool like sed.
> >
> This it true... the '\' also appears in printf's
> IE: fprintf("\t hello \n");
Ok... You're goi
> I need to write a script to replace '\'s with '/', but how can I get
> grep to accept '\' as a regular expression (it assumes it to be line
> continue character, at least from the sh prompt)?
Come to think of it, if you're trying to _replace_ charcacters, instead
of just locating them, you might
> I need to write a script to replace '\'s with '/', but how can I get
> grep to accept '\' as a regular expression (it assumes it to be line
> continue character, at least from the sh prompt)?
You need to escape the '\' with another one:
grep '\\' file
> On Fri Jun 11, 1999, Kenneth Scharf wrote:
> > I need to write a script to replace '\'s with '/', but how can I get
> > grep to accept '\' as a regular expression (it assumes it to be line
> > continue character, at least from the sh prompt)?
>
> Put the expression in single quotes?
This doesn'
9 matches
Mail list logo