hi all
i have a file like
151125
25252
2452567
253464576
255
i want this file to be like
'151125','25252','2452567','253464576','255'
please help
thanks
hi all
i have a file like
151125
25252
2452567
253464576
255
i want this file to be like
'151125','25252','2452567','253464576','255'
please help
thanks
$ echo `< infy.txt tr '\n' ',' | sed "s/[0-9]*/\'&\'/g; s/,''$// "`
//Jadu
Not sure if it is...
#!/bin/sh
for i in `cat file10`
do
echo \'$i\',
done | fmt
great!!!!
cheers