From: Nick Drage <nickd@funkyjesus.org>
To: netfilter@lists.netfilter.org
Subject: Re: bad interpreter
Date: Wed, 27 Nov 2002 13:28:05 +0000 [thread overview]
Message-ID: <20021127132805.H14289@funkyjesus.org> (raw)
In-Reply-To: <3.0.1.16.20021127141258.1af7ba26@s-net-04.besancon.org>; from thierry.itty@besancon.org on Wed, Nov 27, 2002 at 02:12:58PM +0000
On Wed, Nov 27, 2002 at 02:12:58PM +0000, Thierry ITTY wrote:
> this happens when you get a script file from dos (with cr/lf eol)
> the first line may look normal
Aaaaahhhh, good point :)
> #!/bin/sh
>
> but the CR (which remains invisible within a text editor that silently
> adapts itself) is misunderstood by shell
>
> just edit the file using vi, then ":set ff=unix" and ":wq". this will
> remove the CRs
cat -v will show the dos line-endings if you have them.
--
FunkyJesus System Administration Team
prev parent reply other threads:[~2002-11-27 13:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 11:53 bad interpreter Taniform Asongwe
2002-11-27 12:01 ` Nick Drage
2002-11-27 14:12 ` Thierry ITTY
2002-11-27 13:28 ` Nick Drage [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021127132805.H14289@funkyjesus.org \
--to=nickd@funkyjesus.org \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox