[clug] IO redirection

Bryan Kilgallin (iiNet) kilgallin at iinet.net.au
Sun Sep 17 12:41:14 UTC 2017


> In fish, the following is a valid command.
> {
> echo Testing.
> }
> 
> So I put that command into a "Test.txt" text file.

> What is the appropriate way to take instructions from a file, and do them?

I report success with the following.
{
eval (cat Test.txt)
}

This put the following on the screen.
{
Testing.
}
-- 
www.netspeed.com.au/bryan/



More information about the linux mailing list