RE: Using dos2unix and attaching it to a while loop

2007-04-09 Thread Williams, Gerald S \(Jerry\)
[EMAIL PROTECTED] wrote: > I am dealing with DOS text files and need to output DOS text files. [...] > I found dos2unix, but I do not know how to properly implement it. The > following Bash code is a work-in- progress. Please let me know if a more > efficient approach exists. > > while read line

Using dos2unix and attaching it to a while loop

2007-04-09 Thread robert_neville310
I am dealing with DOS text files and need to output DOS text files. This scenario is not about converting a file in DOS format to UNIX format; or read a file line by line. It relates to using Unix commands and manipulating a dos file and staying in a dos format How do you read each line in a whi