rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: <d7stfax@dtek.chalmers.se>
To: rc@archone.tamu.edu (The rc mailing list)
Subject: echoing '='
Date: Mon, 28 Oct 1991 14:40:40 -0600	[thread overview]
Message-ID: <9110282040.AA21791@hacker.dtek.chalmers.se> (raw)

Arnold D. Robins writes:
>Should rc give me a syntax error when I ask it to
>
>        echo ================= >> somefile
>
>Arnold

I'm sorry to say but I don't understand what point you are trying to
make. When I read the grammar in the man page I get the impression
that this is indeed the called for response, e.g. It's not a bug. In
rc I can say something like:

; echo = apa
; echo $echo
apa
;

to assign the string "apa" to the variable echo. Thus saying:

; echo ======== 

confuses rc's parser since it can't, and IMHO shouldn't, make any
sense in multiple assignment operators one after the other.

I can see that someone might have opinions on how these things are
carried out however; so please state what exactly what it is in the
above that you feel awkward about; the semantics, syntax, e.t.c.

Regards,
-- 
Stefan Axelsson,			Chalmers University of Technology,
d7stfax@dtek.chalmers.se		Sweden


             reply	other threads:[~1991-10-28 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-10-28 20:40 d7stfax [this message]
  -- strict thread matches above, loose matches on Subject: below --
1991-10-28 16:43 Arnold D. Robbins

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=9110282040.AA21791@hacker.dtek.chalmers.se \
    --to=d7stfax@dtek.chalmers.se \
    --cc=rc@archone.tamu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).