Deutsch   English   Français   Italiano  
<87ttdi5vut.fsf@doppelsaurus.mobileactivedefense.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Rainer Weikusat <rweikusat@talktalk.net>
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Command Languages Versus Programming Languages
Date: Fri, 11 Oct 2024 19:37:46 +0100
Lines: 15
Message-ID: <87ttdi5vut.fsf@doppelsaurus.mobileactivedefense.com>
References: <uu54la$3su5b$6@dont-email.me> <87edbtz43p.fsf@tudado.org>
	<0d2cnVzOmbD6f4z7nZ2dnZfqnPudnZ2d@brightview.co.uk>
	<uusur7$2hm6p$1@dont-email.me> <vdf096$2c9hb$8@dont-email.me>
	<87a5fdj7f2.fsf@doppelsaurus.mobileactivedefense.com>
	<ve83q2$33dfe$1@dont-email.me>
	<87wmighu4i.fsf@doppelsaurus.mobileactivedefense.com>
	<ve8s6d$3725r$1@dont-email.me>
	<87o73rj3sr.fsf@doppelsaurus.mobileactivedefense.com>
	<veamui$3jen7$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net +4dkUSwuzoE4zu0eTHrfeA2Cm5YsopcGFcl5GEmwrx0VRTI6M=
Cancel-Lock: sha1:s9p5yWXheOB0xE32An9chKCS6Ek= sha1:lf+M6/MNe30Ooj674o7Id5vKfWc= sha256:KhMWEyq6Zg7aHuFk3zdgZ9gaOog5diwNIrI70Ynh4Ww=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Bytes: 1567

Muttley@DastartdlyHQ.org writes:
> Rainer Weikusat <rweikusat@talktalk.net> boring babbled:

[...]

>>Eg, this a poor man's implementation of cat:
>>
>>perl -e 'open($fh, $_) and print <$fh> for @ARGV'
>
> Meanwhile in awk: { print }

perl -peZ

It's not only shorter than the awk version but it also works. cat
doesn't abort when some of its arguments don't name existin files.