On Wed, 12 May 2004, dutchman_mn at charter.net wrote:
> Question:  How do you delete a directory that starts with ${
> 
> I have a number of directories like ${foo}
> 
> When I try, it a bad substitution error out of bash.

rm -r /path/to/\$\{foo\}

or

rm -r '/path/to/${foo}'

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list