On Thu, Mar 16, 2000 at 03:17:11PM +1100, Dan Horth wrote:
| that was a zero - they all are now! all 2Gb of text file worth of
| them - thanks... just creating a large file full of 0's to test the
| dat compression with. thanks loads... :)
|
| gotta love perl! really want to learn it properly soon ...
What overkill.
tr '\000' 0 </dev/null
or
tr '\000' 0 </dev/null | dd bs=1024 count=2048 >2megfile
Using perl for this is like using a milling machine to drill a hole.
| >Yes, I was also wondering : I hope that is an ASCII zero he wants
| >to put there ... not the NULL character.
That's NUL-with-one-L dammit! These people who never learn their ASCII
control char names, I dunno... Go cat /usr/pub/ascii (checks on a redhat
system; jeez - it doesn't have it! "man ascii" does the trick, but ugh!)
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
I fit in my suit, my suit fits in my suitcase, hence i fit in my suitcase.
- Cees Keyer <[EMAIL PROTECTED]>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.