How to escape $?...
- From: Hans Durast <65644434343@xxxxxxxxx>
- To: emelfm2@xxxxxxxxxxxxx
- Date: Sat, 25 Mar 2006 09:19:48 +0100
How to escape sequences like '$?', '?' in command line?
I have a construct like this:
|Xdialog --yesno "really delete???\n%%f" 7 0; sh -c "if [ $? == 0 ];
then kdesu 'rm -rf %f'; fi"
It works on the last Version of emelfm2, but not on the newest.
1. There is no '???' in the Xdialog-message, tried '\?': nothing
2. I had to replace '\n' to '\\n' for a line break, this works
3. '$?' results in nothing
What can I do?
Thanks, Hans Durast
--
Users can unsubscribe from the list by sending email to
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by
logging into the web interface.
- Follow-Ups:
- Re: How to escape $?...
- From: tpgww
Other related posts:
- » How to escape $?...
- » Re: How to escape $?...
- » Re: How to escape $?...
- » Re: How to escape $?...
- » Re: How to escape $?...
- Re: How to escape $?...
- From: tpgww