CompuServe Messages

#Shell & stuff

    28-Jan-87 21:16:12
Sb: #51277-#Shell & stuff
Fm: Steven D. Kapplin 70055,1021
To: BILL LEACH 71330,2621
Bill, you can do something like this: "%q foreach i ( * ) \"if $i = $q ; do something, etc.;endif\"" if you pass a filename to 'q', then you can search for it and find a match. The '*' forces the foreach command to search the current directory. It's inelegant and somewhat slow, but works, sort of. can you use the '%q' in a shell file? or is it only usable in an alias? I haven't figured that one out yet. 73s Steve W4YVP