vastutsav / command-line-quick-reference

quick reference on command line tools and techniques for the people with limited time
The Unlicense
359 stars 39 forks source link

add here strings #18

Closed vastutsav closed 2 years ago

vastutsav commented 2 years ago

You should add here strings <<< to 3.2.1, I use them all the time in place of echo. For example, the following are functionally equivalent:

echo "foo" | cmd cmd <<<"foo"