> chars in Unix. I found the way to do it using vi, but couldnt find a way to
> like do for a number of files all at once. Any solutions??

Following will work if ^ does not appear elsewhere in the file (other
than with ^M at the end of each line).

cat filename | cut -d^ -f1 > filename

If ^ appears elsewhere also, a simple awk script will do the trick.



_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to