Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.followup Subject: Re: !FUNKY!STUFF! Message-ID: <328@umcp-cs.UUCP> Date: Thu, 30-Jun-83 02:34:32 EDT Article-I.D.: umcp-cs.328 Posted: Thu Jun 30 02:34:32 1983 Date-Received: Thu, 30-Jun-83 19:13:21 EDT References: <692@uw-beaver> Organization: Univ. of Maryland, Computer Science Dept. Lines: 43 Well, uw-beaver!jim's latest is pretty good. I still prefer using sed over cat; it gets those '.'s past those mailers. Why, just a few months ago I tried to send someone a file with '.' in it, and they kept getting only the first couple of lines. I finally ran the thing through ``makescript'' [don't you get net.sources? Don't you wonder why I didn't use my own program in the first place?] and it got there with no problems. One other thing: the script you make should say "Run with". The hereis-document terminators \\\work differently/// in the two shells. For example: /bin/cat << 'EOF' This message will appear when this script is run. 'EOF' ls -l /dev/tty If you run that with 'sh', you'll get on your screen: This message will appear when this script is run. 'EOF' ls -l /dev/tty If you run it through 'csh', you'll get: This message will appear when this script is run. crw-rw-rw- 1 root 2, 0 Jun 30 02:12 /dev/tty I *wish* the authors of the shells had not made quoted hereis documents act differently. But there you have it, another typical Unix* black-magic-confuse-the-non-wizards trick.... - Chris *Unix is a trademark of Bell, who didn't want it until half the country was running it. :-) -- UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@UDel-Relay