[lug] regular expression question
jarrar.jaffari at gmail.com
Tue Dec 4 10:33:13 MST 2007
As 'ls -1tp' (due to -p) would print one of the '/=@| ' at the end of each
file (ref man ls) and in grep -v '/$' means ignore '/' at the end of the
line, essentially what it is doing is listing the first file without / at
On Dec 4, 2007 9:31 AM, Kevin Kempter <kevin at kevinkempterllc.com> wrote:
> Can anyone tell me specifically what the '/$' bit is in this grep stmt?
> ls -1tp | grep -v '/$' | head -1
> Thanks in advance...
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
Imamiya Education Society
460266 South Birch Street
Glendale, CO 80246
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LUG