[Techtalk] filtering command line

Michelle Konzack linux4michelle at freenet.de
Wed Jun 13 17:01:09 UTC 2007


Hello Miriam,

Am 2007-06-11 21:42:03, schrieb Miriam English:
> viewer/converter). At first I was stumped as to why this would be so, 
> but then I began to suspect it was because TextPad was able to cope with 
> "/" characters in the path, but irfanview required "\".
> 
> Does anybody know a very simple filter to substitute "\" for "/" in the 
> passed file path?

[michelle.konzack at michelle1.private:~/] echo "c:\textpad\TextPad.exe" |sed 's|\\|/|g'
c:/textpad/TextPad.exe


Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


More information about the Techtalk mailing list