4 ms·
It looks like all of these are the same echo hi > out.txt echo append >> out.txt sort < stdin.txt ls /bad 2>&1 | tee out.txt But here doc
by chubot 5y ago
It looks like all of these are the same
echo hi > out.txt
echo append >> out.txt
sort < stdin.txt
ls /bad 2>&1 | tee out.txt
But here docs don't work the same way:
sort <<EOF # syntax error in fish
I don't really like the here doc syntax so I guess that is pretty good. The && issue is still there on my Ubuntu Bionic machine:
fish: Unsupported use of '&&'. In fish, please use 'COMMAND; and COMMAND'.
ls && ls
- ridiculous_fish 5y agoThe && syntax was added in fish 3, released in 2018.