[Top][All Lists]

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

getting weird output out of 'echo' w/args

From: Linda Walsh
Subject: getting weird output out of 'echo' w/args
Date: Wed, 29 May 2013 18:08:55 -0700
User-agent: Thunderbird

Why would I get this:

> echo "gtk-2.0/2.10.0/engines/liboxygen-gtk.so 
> [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]"
gtk-2.0/2.10.0/engines/liboxygen-gtk.so [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]

> echo gtk-2.0/2.10.0/engines/liboxygen-gtk.so 
> [u::rwx,u:law:rwx,g::r-x,m::rwx,o::r-x]
gtk-2.0/2.10.0/engines/liboxygen-gtk.so s

^^--so why doesn't it echo out it's input arguments? Where did the acl go?
into 's'?  ;-/

bash ver=4.2.45(1)-release

options (shopt):
+autocd +cdable_vars  +cdspell  +checkhash  -checkjobs  +checkwinsize
+cmdhist -compat31  -compat32 -compat40 -compat41 -direxpand  +dirspell
+dotglob  -execfail +expand_aliases -extdebug +extglob  +extquote -failglob
+force_fignore  +globstar -gnu_errfmt +histappend +histreedit +histverify
+hostcomplete -huponexit  +interactive_comments -lastpipe +lithist
+login_shell  -mailwarn +no_empty_cmd_completion  +nocaseglob +nocasematch
-nullglob +progcomp +promptvars -restricted_shell -shift_verbose
+sourcepath +xpg_echo
-allexport  +braceexpand  -emacs  -errexit  -errtrace -functrace  +hashall
-histexpand +history  -ignoreeof  +interactive-comments -keyword  +monitor
-noclobber  -noexec -noglob -nolog  -notify -nounset  -onecmd -physical
+pipefail -posi-privileged  -verbose  +vi -xtrace

Is this something peculiar to my distro again, or hopefully something
with simpler explanation?  Maybe the [] have some meta meaning now
on output?   Weird...

reply via email to

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