
May 25th, 2004, 08:20 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Remove first character from file
I have an output file which has a control character at the beginning of this file. In using other programs (enscript & ps2pdf), this character (^L) produces errors in output. If I remove the character using vi, and run through enscript & ps2pdf, everything runs fine.
I am in the process of automating conversion of line output to PDF files to be sent to users instead of printing reports.
I have seen (somewhere, can't remember where) on using vi to delete the first character of the file.
Any suggestions on how to accomplish this?
|