[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including files

***  For details on how to be removed from this list visit the  ***
***    CCP4 home page http://www.dl.ac.uk/CCP/CCP4/main.html    ***

>>>>> "DEB" == Ditlev Brodersen <ding@mrc-lmb.cam.ac.uk> writes:

 DEB> What is the correct way of doing this and is anyone aware of a
 DEB> way to do it by means of shell streams?

If there is a bug with the `@' construct that you need to work round,
you can do fairly general things with `here documents' in Bourne shell
(/bin/sh).  A straightforward way to do the case in point is:

ccp4prg <<+
CARD    arguments
`cat cards.dat`

Note that they are backquotes around the `cat'.