bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Alias Error


From: xin wu
Subject: Alias Error
Date: Wed, 10 Mar 2004 21:52:02 -0500

Configuration Information:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include 
-I../bash/lib  -g -O2
uname output: Linux migrant 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 
unknown
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        If an alias was added as the following command:

        $ alias vv="vim \"+call IMAP('NNO','\Note{<++>}<++>','tex')\" 
/tmp/Vim.tex"

        then, useing alias command to check:

        $ alias
        alias vv='vim "+call 
IMAP('\''NNO'\'','\''\Note{<++>}<++>'\'','\''tex'\'')" /tmp/Vim.tex'

        In fact, the output I expected was:

        $ alias
        alias vv='vim "+call IMAP('NNO','\Note{<++>}<++>','tex')" /tmp/Vim.tex'

        But the aliases which are in two different appearances worked
        as an identical function. In other words, both of them work in
        the same way. The only problem in the output of the alias vv is before 
every
        single-quote (') there was a sign ('\') which had a confused
        meaning.

Repeat-By:

Fix:

sincerely!
wuxin
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm





reply via email to

[Prev in Thread] Current Thread [Next in Thread]