You can do anything in cygwin  recently I did some thing like

Search all jar files (compressed) for a java file that was named like
ABC*****.java and was olded than 5 days old...

Justin

-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED]
Sent: 29 May 2003 12:20
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Line Counter


> Actually its a one line command in cygwin...
>
> $ wc --help
> Usage: wc [OPTION]... [FILE]...
> Print newline, word, and byte counts for each FILE, and a
> total line if more than one FILE is specified.  With no FILE,
> or when FILE is -, read standard input.
>   -c, --bytes            print the byte counts
>   -m, --chars            print the character counts
>   -l, --lines            print the newline counts
>   -L, --max-line-length  print the length of the longest line
>   -w, --words            print the word counts
>       --help     display this help and exit
>       --version  output version information and exit

Alias toilet=wc

:D

Seriously, that's quite useful! I hadn't noticed that before!

Paul



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]





-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to