Subject: sh backtick deficiency?
To: None <current-users@NetBSD.ORG>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: current-users
Date: 03/30/1998 10:37:15
What's the exact semantics on backtick expansion in /bin/sh? Up to a few
minutes ago, i was under the impression that whatever the command in the
backticks outputs is handed as _one_ argument, just as enclosed in double
quotes.
Now our /bin/sh seems to pass every word as a single argument:
$ cat /tmp/cm
Network sniffer, via FreeBSD PR ports/6160.
$ cvs add -m `cat /tmp/cm` sniffit
cvs [add aborted]: no such directory `ports'
So, is it just me, or is it our shell? If the latter, tell me and I'll
send-pr this.
- Hubert
--
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>