On 2003.06.23 10:54, Richard Crawford wrote:
Suppose I have a short script as such:
find . -name 'wwwboard.html' -print | while read i do print $i done
how can I pass the name of the directory where $i lurks to another variable, such as $dir?
In csh, the appropriate syntax would be $i:r
-- I usually have a GPG digital signature included as an attachment. If you don't know what it is, either ignore it or visit www.gnupg.org My PGP key was last signed 6/10/2003 please download my key again if it is more recent than your copy. If you use GPG, *please* talk to me to sign it. The key is keyID E2B2CAD1 on pgp.mit.edu
pgp00000.pgp
Description: PGP signature
