[Techtalk] filtering command line

Miriam English mim at miriam-english.org
Tue Jun 12 00:49:14 UTC 2007


Wim De Smet wrote:
> 
> You seem to know about backquotes so I'm not sure why you use that
> intermediate step of writing it to a temporary file? You could just
> make one line out of it:
> wine c:\\irfanview\\i_view32.exe `echo "z:$@" | tr '/' '\\' `

Very nice! Thank you. That is much cleaner. :)

Best wishes,

	- Miriam
-- 
---------=---------=---------=---------=---------=---------=------
A life! Cool! Where can I download one of those from?
---------=---------=---------=---------=---------=---------=------
Website: http://miriam-english.org
Blog: http://miriam-e.livejournal.com


More information about the Techtalk mailing list