cat from script and file 

Newsgroups:  comp.unix.shell
Date:        Fri, 24 Nov 2006 00:31:33 -0500
> Is it possible to cat from script and file using a single cat?
> I.e.,
>
> cat << EOF | cat - file.app
> from script
> EOF
cat - file.app << EOF

You can only redirect standard input once per command, but cat can read from a list of arguments, with the argument '-' representing standard input.

Bill Marcum