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
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
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
$ 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
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