🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #213

Re: Embedded data in shell scripts?

#213
From: David J. Fiander
Date: Mon, 17 Aug 1992 21:38
22 lines
1016 bytes
Submitted-by: davidf@mks.com (David J. Fiander)

According to mengel@dcdmwm.fnal.gov (Marc W. Mengel)
>It is also why the shell has
>here-documents, so you can say
>
>	foo=`sed 1q <<EOF
>	hi there
>	EOF`
>	echo $foo
>	echo Done
>
>to to the job right in a script, pipeline, etc.

I'm quite aware of that.  The problem is that the standard
seems to be attempting to allow my example in scripts and, in
my opinion, failing badly.

- David


Volume-Number: Volume 28, Number 101
Technical Details
Message-ID: <16p68iINNrvs@ftp.UU.NET>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet!not-for-mail
References: <16h4n3INNk80@ftp.UU.NET> <16h7d3INNlkd@ftp.UU.NET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet!not-for-mail
From: davidf@mks.com (David J. Fiander)
Newsgroups: comp.std.unix
Subject: Re: Embedded data in shell scripts?
Date: 17 Aug 1992 14:38:26 -0700
Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
Lines: 22
Sender: sef@ftp.UU.NET
Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
Message-ID: <16p68iINNrvs@ftp.UU.NET>
References: <16h4n3INNk80@ftp.UU.NET> <16h7d3INNlkd@ftp.UU.NET>
NNTP-Posting-Host: ftp.uu.net
X-Submissions: std-unix@uunet.uu.net