delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/12/16:24:09

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Conflict of names - nc (netcat) and nc (part of nedit)
Date: Sat, 12 May 2007 21:23:35 +0100
Lines: 42
Message-ID: <f257oc$rcj$1@sea.gmane.org>
References: <7aub43dn29si0g5ebek4gf1fclli0p3kvr AT entropy DOT org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

* Joel Rubin (Sat, 12 May 2007 14:06:27 -0400)
> 1) For cmd or bash scripts there needs to be an explicit path for echo
> or an other-named copy/link because the built-in echo doesn't know
> from backslash sequences.

RTFM:
        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,  
interpreta-
               tion  of  the following backslash-escaped characters is 
enabled.
               The -E option disables the interpretation of these 
escape  char-
               acters,  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)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019