Re: How to add ' (comma) at the begining and end of each line? Either Unix or Windows

2003-10-19 Thread bulbultyagi
Use the 'search and replace' functionality of ultraedit with 'regular expressions' enabled. First select 'replace all' for replacing % with ' Then select 'replace all' for replacing $ with ' - Original Message - To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Thursday

RE: How to add ' (comma) at the begining and end of each line? Either Unix or Windows

2003-10-16 Thread Bob Metelsky
A windows solution for /f %d in (C:\yourfile.txt) do echo ,%d,>>C:\yourfilewithcomma.txt bob Hi List I have 1000 lines in my data file. I want to add '(comma) at the begining and end of each line. For example, abf jd djkhk jd3 Shold be convrte

RE: How to add ' (comma) at the begining and end of each line? Either Unix or Windows

2003-10-16 Thread Norris, Gregory T [ITS]
perl -i.orig -p -e "s/^/'/ ; s/$/',/" filename The original version of the file will be retained as "filename.orig". -Original Message- Sent: Thursday, October 16, 2003 9:20 AM To: Multiple recipients of list ORACLE-L Either Unix or Windows Hi List I have 1000 lines in my data file. I

Re: How to add ' (comma) at the begining and end of each line? Either Unix or Windows

2003-10-16 Thread Robert Eskridge
$ cat data.txt abf jd djkhk jd3 $ awk "{print \"'\" \$0 \"',\";}" data.txt 'abf', 'jd', 'djkhk', 'jd3', $ OD> Hi List OD> I have 1000 lines in my data file. I want to add OD> '(comma) at the begining and end of each line. OD> For example, OD> abf OD> jd OD> djkhk OD> jd3 OD> Shold be convrted

How to add ' (comma) at the begining and end of each line? Either Unix or Windows

2003-10-16 Thread Oracle DBA
Hi List I have 1000 lines in my data file. I want to add '(comma) at the begining and end of each line. For example, abf jd djkhk jd3 Shold be convrted to 'abf', 'jd', 'djkhk', 'jd3', Any help will be really appreciated. Thanks Sami __ Do you Yahoo!? The New