> Lane wrote...
>>We have a need to generate files that a PC can get using Samba. The vendors
>>program REALLY wants both CR & LF at the end of each line, not just the LF
>>that tobyte puts. Is there any quick and easy way to do this with standard
>>utilities?
>
> You might try the following to add or remove CR's...
>
> shell/iX: /bin/awk '{print $0 "\r"}' < posixfile > dosfile
>
> shell/iX: /bin/tr -d '\015' < dosfile > posixfile
>
> Lars "YMMV" Appel.
I found the 'tr' command at the Samba/ix web site, but the 'awk' incantation
is missing.
One more silly question while we're on this subject. Are there any tricks to
get frombyte to generate a file other then 80 characters wide? I need
something like 286 characters wide fixed record file.
Once again, thanks for all the help.
Lane