Thank you MillerH. Maybe this is more clear:
# cat file
one
two
three
four
after parsing, i want the file to read:
# cat file
one
FOOBAR
four
how do i do that?
-- Aaron
I am trying to do a simple multi-line substitution in perl, but encountering intractable weirdness. How in the world do I replace BOTH of the lines with "FOOBAR"? The file does not appear to have any windows/dos-style line breaks or CR characters.
# ls -l fb
-rw------- 1 aaronc devel...
Hi, I've tried posting the following problems to the SquirrelMail-users list, but no one replied, so I thought I'd try here...
I am having trouble getting SquirrelMail folders to work with courier-imap. I can create folders, but cannot unsubscribe from them, delete them, or rename them.
In...
JCrou82,
PHP scripts are not the same as command-line shell scripts. When you have a PHP web script, the webserver (likely Apache) interprets it. Command-line scripts are generally written in shell languages such as sh (bourne shell) or bash.
You need to invoke an INTERPRETER to run any...
You edit the 'crontab' with the command:
crontab -e
Note: you are now in the VI editor. If you don't know how to use VI, learn some basics first before attempting to edit crontab. You can bail out by typing ":q!". A crontab entry looks like this:
<min> <hour> <day> <month>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.