🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #7742

Re: Backslashes in control.ctl

#7742
From: Per Hedeland
Date: Sun, 19 May 1996 00:00
19 lines
1290 bytes
In article <4nllr8$khl@polo.iquest.com> dougal@vespucci.iquest.com (Dougal Campbell) writes:
>Erland Sommarskog (sommar@algonet.se) proclaimed:
>[snip]
>>    ${EGREP} "^(${PROG}|all):" <${CTLFILE} >${TEMP}
>[snip]
>The trick is that the shell interprets th backslashes before your
>${EGREP} ever gets a chance to see them.  When the shell sees a
>backslash at the end of a line, it interprets it as a sort of
>line-continuation token, and combines the current line with the next
>one.

Nonsense, the shell never gets to see the ${CTLFILE} in the above
expression. (Sorry, don't know the answer to the original question.)

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <4nn0gj$4af@euas20.eua.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4nl0iu$5cg@epimetheus.algonet.se> <4nllr8$khl@polo.iquest.com>

Show Full Headers
Complete Article Headers
Message-ID: <4nn0gj$4af@euas20.eua.ericsson.se>
Subject: Re: Backslashes in control.ctl
Date: Sun, 19 May 1996 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <4nl0iu$5cg@epimetheus.algonet.se> <4nllr8$khl@polo.iquest.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 155577190
Organization: Ericsson Telecom, Stockholm, Sweden
Nntp-posting-user: per
Newsgroups: news.software.nntp