Re: [Off-Topic] Red Hat Linux 5.1

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/09/98


On Wed, 9 Sep 1998, Edward J Glamkowski wrote:

>foreach ( $x ) `ls` do
>  dos2unix < $x /tmp/$x
>  mv /tmp/$x $x
>end
>
>Which is syntactically totally wrong, but the syntax
>will vary by shell anyway - read the man page! :)

or in Bash instead of (t)csh:

for i in *.c; do { tr -d '\n' < $i > tmp; mv -f tmp $i; } done

Anyway...

How do GET_PC_NAME() changes work? Should we release it as is? :)

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST