delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/13/12:12:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Mime-Version: 1.0
X-Sender: rschulz AT pop DOT teknowledge DOT com
Message-Id: <p04330100b60ce212c5a0@[206.173.236.14]>
In-Reply-To: <39E6D053.45B360F6@cygnus.com>
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0010130547020 DOT 12687-100000 AT garfield DOT cs DOT mun DOT ca>
<39E6D053 DOT 45B360F6 AT cygnus DOT com>
Date: Fri, 13 Oct 2000 09:05:33 -0700
To: cygwin <cygwin AT sources DOT redhat DOT com>
From: Randall R Schulz <rschulz AT teknowledge DOT com>
Subject: Re: Newbie question: How to use ftpd and telnetd?
X-MDaemon-Deliver-To: cygwin AT sources DOT redhat DOT com
X-Return-Path: rschulz AT teknowledge DOT com

Hi,

This is one of the many reasons I like BASH so much. In this case I 
prefer the $( ... ) syntax in place of the back-quote 
semi-equivalent. I say "semi-equivalent" because unlike back-quote, 
the $( ) construct nests.

Another BASH favorite of mine is $' ... ', a quoted string in which 
backslash escapes are substituted.

Randall Schulz
Teknowledge Corp.
Palo Alto, CA USA


At 11:05 +0200 10/13/00, Corinna Vinschen wrote:
>Neil Zanella wrote:
>>
>>  On Fri, 13 Oct 2000, Corinna Vinschen wrote:
>>
>>  > # The external services are typically called via `tcpd' for
>>  >                                                  ^
>>  > # The external services are typically called via 'tcpd' for
>>
>>  This may sound like a silly question but how does that change things?
>>  I thought anything between a pound sign and a newline character would
>>  be ignored by the bash shell when running a script.
>
>This is inside of a here script. The standard behaviour of sh is
>to do command and variable substitution inside of here scripts.
>This is very helpful to create context dependent output for example.
>Try:
>
>...
>
>Corinna Vinschen



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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