On Sat, 2003-10-25 at 20:25, James Nickerson wrote: > If I want to clip the leading directory off a bunch of source files in bash, > it's not too hard: > Just a thought, but would this do:
for i in src/*.cpp; do echo `basename $i`; done Michael > Thanks, > > -James Nickerson > > ____________________ > BYU Unix Users Group > http://uug.byu.edu/ > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list -- Michael Torrie <[EMAIL PROTECTED]> ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
