delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <39E6D053.45B360F6@cygnus.com> |
Date: | Fri, 13 Oct 2000 11:05:23 +0200 |
From: | Corinna Vinschen <vinschen AT cygnus DOT com> |
Reply-To: | cygwin <cygwin AT sources DOT redhat DOT com> |
X-Mailer: | Mozilla 4.75 [en] (X11; U; Linux 2.2.14-SMP i686) |
X-Accept-Language: | de, en |
MIME-Version: | 1.0 |
To: | cygwin <cygwin AT sources DOT redhat DOT com> |
Subject: | Re: Newbie question: How to use ftpd and telnetd? |
References: | <Pine DOT OSF DOT 4 DOT 21 DOT 0010130547020 DOT 12687-100000 AT garfield DOT cs DOT mun DOT ca> |
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: $ cat << EOF ? #!$SHELL ? EOF #!/bin/bash $ You can switch that behaviour off by double quoting the end of script delimiter: $ cat << "EOF" ? #!$SHELL ? EOF #!$SHELL $ Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT sources DOT redhat DOT com Red Hat, Inc. mailto:vinschen AT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |