[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trailing newline in wc
From: |
maximilian attems |
Subject: |
trailing newline in wc |
Date: |
Wed, 25 Jun 2003 12:11:51 +0200 |
hello everybody!
after reading the following article,
about a missing switch in wc
http://safari.oreilly.com/?XmlId=0-596-00461-3/linuxsvrhack-CHP-1-SECT-6
i had fun of looking at the wc src
and the patch ads the demanded switch
for a word count without trailing '\n'
the patch is quite trivial and against Version 2.0,
-n was choosen because auf echo(1) syntax
thanks for taking a look and any feedback
maks
patch_wc_newline
Description: Text document
pgpJMlkvfb40d.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- trailing newline in wc,
maximilian attems <=