Mailing List Archive


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

Re: [tlug] ls *++*: What does echo *++* show?



2007/11/6, jep200404 <jep200404@example.com>:
> "Nguyen Vu Hung" wrote:
>
> 〉 [vuhung@ GraphicsMagick-1.1.10]$/bin/ls -F *++*
> 〉 AUTHORS  COPYING  ChangeLog  INSTALL  Makefile  Makefile.am
> 〉 Makefile.in  NEWS  README  TODO  bin/  demo/  lib/  tests/
> 〉 [vuhung@ GraphicsMagick-1.1.10]$
>
> Is there a directory with "++" in its name?
>
> What does echo *++* show?

$ echo *++*
Magick++

This is intersting because "man echo" says:

$ man -k echo
echo                 (1)  - display a line of text
echo [builtins]      (1)  - bash built-in commands, see bash(1)

$man 1 echo
NAME
       echo - display a line of text

$man 1 bash -> " search echo":

       echo [-neE] [arg ...]
              Output the args, separated by spaces, followed by a
newline.  The return status is always 0.  If -n is specified, the
trailing newline is  suppressed.
              If  the  -e  option  is  given, interpretation of the
following backslash-escaped characters is enabled.  The -E option
disables the interpretation of
              these escape characters, even on systems where they are
interpreted by default.  The xpg_echo shell  option  may  be  used  to
 dynamically  determine
              whether or not echo expands these escape characters by
default.  echo does not interpret -- to mean the end of options.  echo
interprets the following
              escape sequences:
              \a     alert (bell)
              \b     backspace
              \c     suppress trailing newline
              \e     an escape character
              \f     form feed
              \n     new line
              \r     carriage return
              \t     horizontal tab
              \v     vertical tab
              \\     backslash
              \0nnn  the eight-bit character whose value is the octal
value nnn (zero to three octal digits)
              \xHH   the eight-bit character whose value is the
hexadecimal value HH (one or two hex digits)

-- 
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links