Humm I found my answer in another post the varibles for the text in sed works if a take out the single quotes and replace them with double ones..
I guess I should read and search more posts before asking questions...
yes.. thank you... good catch, I thought I read that all quotes within a command must be escaped...
Thanks again
Here is a working model... any glaring errors?
one thing I see when debugging is this:
Could some one explain this please?
six hours to get this figured out to replace what? <1 min. with vi...lrh
I like this stuff!!
on another note, Should I give sed more time to do its work than 1 second..
my biggest fear is that the ftp.conf file will get munged if there is a hang or whatever...
HI all...
(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)
Hi,
My input file data will be
|ABCD|EFGH|IJKL|MNOP
|ABCD|EF\|GH|IJKL|MNOP
I am expecting output ,
|"ABCD"|"EFGH"|"IJKL"|"MNOP"
|"ABCD"|"EF|GH"|"IJKL"|"MNOP"
Note : The change basically the pipe deilmited file does contain | as value for some of the column but | will come with... (8 Replies)
Hi,
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)
Write a sed script to extract the year, rank, and stock for the most recent 10 years available in the file top10_mktval.csv, and output in the following format:
------------------------------
YEAR |RANK| STOCK
------------------------------
2007 | 1 | Exxon... (1 Reply)
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)