help-bash
[Top][All Lists]
Advanced

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

[Help-bash] tmp files


From: John Kearney
Subject: [Help-bash] tmp files
Date: Thu, 20 Jun 2013 03:06:44 +0200

 
quick question any better ways of doing this


expect -f <(cat <<EOF
    ...
EOF
)


I've started using <(cat <<EOF
EOF
)
as an alternative to using mktemp and then having to clean them up. Just wondering if I'm missing a cleaner approach to this?
or even
expect -f <(cat <<< "${ExpectScript}" )

cheers

ps. I don't want to use stdin to the program to pass the data.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]