View Single Post
Old 10-09-2011, 09:37 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,533
nevermind i figured it out without sed

Code:
for f in *.txt; do
b=${f%.*};
gist --description \"${b//-/ }\" "$f"
done;
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote