[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I upgraded the wc tool
From: |
Herve Seignole |
Subject: |
I upgraded the wc tool |
Date: |
Sun, 12 Jun 2005 16:17:53 +0200 |
Hello,
I upgraded the wc tool. I added two commands :
- "-n", "--noname". This command don't print the filename
- "-s", "--nospace". This command don't use the "human
readable function" and don't print spaces before each
number.
These evolutions are useful for me especially if I would like
to use wc in "if condition" (shell script).
Exemple :
if [ `wc -l -n foo.txt` = 1 ]
then
echo "here"
fi
I don't known the rule about versioning, evolution, publication
and licence.
If you could read and test my some modifications. I thank you !
I apologize for my English, I'm French ;-)
Hervé Seignole
"Vive GNU, GNU/Linux et l'open source"
mail : address@hidden
wc.tar.bz2
Description: BZip2 compressed data
- I upgraded the wc tool,
Herve Seignole <=