[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash, Sed and Find

From: Matt Venn
Subject: Re: Bash, Sed and Find
Date: Sat, 7 Apr 2001 12:38:06 +0100
User-agent: slrn/ (Linux)

>>One thing in particular that I don't understand is that I thought $()
>>was evaluated before the rest of the command. 
>Yes you're right.

Thanks for spotting the obvious mistake! I can't believe that I didn't
get it myself...

Also someone told me about set -x, which would have showed me straight
away what the problem was.

Thanks again,


$A='A';while(print+($A.=(grep{($A=~/(...).{78}$/)[0]eq$_}"  A A A  "
=~m{(...)}g)?"A":" ")=~/([ A])$/){if(!(++$l%80)){print"\n";sleep 1}}

reply via email to

[Prev in Thread] Current Thread [Next in Thread]