tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Eliminating Trailing \n in a text file..
@ 2000-08-03 19:49 George Gallen
  0 siblings, 0 replies; only message in thread
From: George Gallen @ 2000-08-03 19:49 UTC (permalink / raw)
  To: tru64-unix-managers

OK. This is driving me nuts (and not a far drive either).

I want to manually enter a text file of 8 characters,
I use vi, type my 8 characters, wq out and my file size is 9.

I tried using head to only take 8 characters and write into another file
and still, it's magically back to 9.

How do I stop that trailing \nl?

I'm trying to build a font download file, and the printer is coughing at 
the extra \nl in the prefix file.

Oh yea, DU 3.2c on a AS2100

George

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen@slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-03 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-03 19:49 Eliminating Trailing \n in a text file George Gallen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox