Thread: help with 7za
View Single Post
Old November 16th, 2012, 12:40 AM   #10 (permalink)
EarlyMon
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,323
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,706
Thanked 57,145 Times in 22,962 Posts
Default

ls | sed '/zip$/d' | sed '/7z$/d' > /tmp/zip_list

LoL I just went back and looked at 9to5's list maker, same thing. The dollar says to match the pattern only to end of the line.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
Last edited by EarlyMon; November 16th, 2012 at 02:16 PM.
Reply With Quote
The Following User Says Thank You to EarlyMon For This Useful Post:
9to5cynic (November 16th, 2012)