To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Backslash not correctly handled by the 'Send script file' feature.

Seb - Tue 05/10/2010 18:31:49 CEST +0200

Hi, found out why somme of my commands were shortened when using the "Send script file" feature, this was because of the backslash that wasn't correctled handled, here is an easy way to reproduce the problem :
unalias xargs
alias xargs="\xargs -L1"

Same problem with this command:
alias xargs='\xargs -L1'

UNEXPECTED RESULT on RHEL5 and SOLARIS 10:
$ alias xargs
alias xargs='
gs -L1'

ANY IDEAS ?

Leo - Tue 05/10/2010 20:52:59 CEST +0200

Try to use \\

Seb - Wed 06/10/2010 09:42:09 CEST +0200

Yeah, it worked with double-backslash, any idea why ?

Leo - Wed 06/10/2010 10:07:14 CEST +0200

It is the design.




Answer


The forum is actually closed