Date: Mon, 25 Oct 1999 17:13:53 -0700 (PDT) From: kei@nanet.co.jp To: freebsd-gnats-submit@freebsd.org Subject: bin/14527: sh here-documents failure Message-ID: <19991026001353.E3BF914C01@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 14527 >Category: bin >Synopsis: sh here-documents failure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 25 17:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Katsuyuki Maeda >Release: FreeBSD 3.3-RELEASE >Organization: Nagasaki Network Service Co,.Ltd. >Environment: FreeBSD us01.nanet.co.jp 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: sh here-documents fails when using backquotes and up to 3 pipes. >How-To-Repeat: good.sh ------->------->------->------->------->-------> #!/bin/sh cat <<_EOF_ `echo abc | cat | cat` _EOF_ ------->------->------->------->------->-------> %./good.sh abc is OK. fail.sh ------->------->------->------->------->-------> #!/bin/sh cat <<_EOF_ `echo abc | cat | cat | cat` _EOF_ ------->------->------->------->------->-------> %./fail.sh cat: stdin: Bad file descriptor >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991026001353.E3BF914C01>