On Sun, 2004-02-08 at 11:51, anton wrote: > Hi, > I want to get a list of the files in a directory that do NOT end with > ".dat". I just can't work out how to do it - any suggestions? > Cheers > Anton > ps, i started with the idea of $ ls | grep \^d^a^t but it fails > miserably :-(
Close. Try: ls | grep -v "\.dat$" Vik :v) -- This PC runs Linux. If you find a virus apparently from me, it has forged the e-mail headers on someone else's machine. Please do not notify me when this occurs. Thanks.
