Hi, the first sed is missing a forward parenthesis, so it will not work. Anyway a sed command with those options only changes a line when it makes a match. Otherwise it will just display the unchanged line. More grep-like behavior requires the -n option. E.g:
will most likely not display anything since no match was found. If you feed it e.g.:
then it will return
The second expression is missing a forward slash. If you feed it
(Apologies for any typos.)
To add to Neo's Arduino subject matter I have decided to upload this in ".zip" format.
Ignore "*.info" files these are AMIGA icons only and also the "HAM" drawer as these are photos in ancient AMIGA HAM modes.
I have noticed that there are current... (6 Replies)
My input file data will be
I am expecting output ,
Note : The change basically the pipe deilmited file does contain | as value for some of the column but | will come with... (8 Replies)
I am trying to write a script to do monitoring kind of stuff,
requirement - when a server is given a start it updates a file called server.log, I need to keep on grepping the word "Running" and as soon as it comes , script should be exited with the message , "Server came up... (2 Replies)
I coudln't think of another topic to post this under as the OS on the system is XP pro.
Ok here is the go.
I'm upgrdaing a mates computer. A AMD 1200Mhz and well it wouldn't boot from the CD to do a fresh install (By upgrade I mean OS with complete new install). So I opened up the box and... (4 Replies)
I hacked my TIVO a few months ago. I made a computer specifically for this, but I only used a UNIX boot disk to get all the TIVO goodies to work. I am intersted in getting some version of UNIX on this machine and getting it onto my network. I only want to do some simple file transfers, maybe... (1 Reply)