delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/19/13:02:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-10.3 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50083DA9.2030104@redhat.com>
Date: Thu, 19 Jul 2012 11:02:33 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: length in gawk returns wrong value
References: <loom DOT 20120719T103849-659 AT post DOT gmane DOT org> <20120719092024 DOT GA31055 AT calimero DOT vinschen DOT de> <loom DOT 20120719T131247-62 AT post DOT gmane DOT org> <20120719113927 DOT GH31055 AT calimero DOT vinschen DOT de> <CAEhDDbCJyHY-MWPCZ5=OQJFyvohuUU4AFsoPDzFudLQgfb-8Jw AT mail DOT gmail DOT com> <BLU0-SMTP132D949A0B60293ECBEAD2CED90 AT phx DOT gbl> <20120719145544 DOT GL31055 AT calimero DOT vinschen DOT de> <BLU0-SMTP1675452B38FDC1ABC528A69CED90 AT phx DOT gbl> <50083976 DOT 8020804 AT hones DOT org DOT uk> <BLU0-SMTP378D15331901273FA4EC87DCED90 AT phx DOT gbl>
In-Reply-To: <BLU0-SMTP378D15331901273FA4EC87DCED90@phx.gbl>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
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

--------------enig9136DAFDE10B45D05E1B9F62
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 07/19/2012 10:53 AM, Aaron Schneider wrote:
>> I think you'll find the clue is the ".csh" extension.  That syntax is
>> for the C-shell, not bash.
>>
>> -- Cliff
>>
>=20
> I can't find such csh or cshell on my system, I've searched from
> packages and I only see scsh, slsh, posh, mosh, tcsh, zsh, mksh that I

Both scsh and tcsh are from the csh family of shells.

posh, zsh, mksh, bash, dash, and ksh are from the Bourne family of shells

No idea what slsh or mosh are

> don't have installed in my system any of them, unless csh comes with the
> system. How do I run the csh?

Why bother?  csh syntax is non-standard, and in my opinion, it is ugly
(others around here disagree, or tcsh would have died long ago, but
that's a different story - it's mostly people that were on a system that
picked csh as its default shell long before standardization picked
Bourne over csh syntax).
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

--=20
Eric Blake   eblake AT redhat DOT com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig9136DAFDE10B45D05E1B9F62
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJQCD2pAAoJEKeha0olJ0NqNxUH/Rkm6ym+Hnf/wxXHZU/m9xnh
ildlQ0ah27HWdtjQs0tpZF9rqds9abgbWw/CcYuW8NYMrJ4G9bqyx1gB8CuVuf03
Do2SBIZHhQ1r0KEyOr/QOLB1fHNd2PwORQAKFXUIGr9V5W6iaaQyar6gn22xlH/p
wemSiuqy5AkCodVyXuIV+b4SfYheCi5qyF5+6SlnCl/ZVVoIYvo3tfKjx3Vp3GSp
0F/kjwUQSMqHTKOg5lpCqXwI26QS73d+ZPTUhP5JbluFHXpjATq4eDAe+ANw4hl9
DESHpWn655+emKjE7qPZmXmVxWYYd5RsYLWotcQLCA61srvcKeGyxbYnFmknK8A=
=NXY8
-----END PGP SIGNATURE-----

--------------enig9136DAFDE10B45D05E1B9F62--

- Raw text -


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