From: qwx@sciops.net
To: 9front@9front.org
Subject: [9front] more rc heredoc bugs
Date: Thu, 06 Jan 2022 08:47:57 +0100 [thread overview]
Message-ID: <B1CFA64D04BF8C59A56D80A1FB94132E@wopr.sciops.net> (raw)
Hello,
This previous problem persists, but differently: it happens
in scripts. The prompt below is ('; ' ' '), I've pasted
the output of commands.
Thanks,
qwx
; cat <<! | cat
asdf
!
asdf
; cat <<EOF >a
#!/bin/rc
cat <<! | cat
asdf
!
EOF
; cat a
#!/bin/rc
cat <<! | cat
asdf
!
; rc a
./a:5: token EOF: syntax error
; chmod +x a
; a
./a:5: token EOF: syntax error
;
next reply other threads:[~2022-01-06 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 7:47 qwx [this message]
2022-01-07 7:56 ` Eckard Brauer
2022-01-07 11:49 ` sirjofri
2022-01-07 20:53 ` cinap_lenrek
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=B1CFA64D04BF8C59A56D80A1FB94132E@wopr.sciops.net \
--to=qwx@sciops.net \
--cc=9front@9front.org \
/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).