Code Sample |
dsl@ttyp1[dsl]$ sudo cat Events >( grep -i "Linux" - > test.txt ) 07:19:DSL 1.3.1 Released 08:02:DSL 1.4 Released. 08:09:Linux World 08:10:Linux World 08:11:Linux World 10:31:Halloween cat: /dev/fd/63: No such file or directory |
Code Sample |
$ cat Events | grep -i "Linux" > test.txt |
Code Sample |
$ cat Events | grep -i "Linux" | tee test.txt |
Code Sample |
$ grep -i "Linux" <(cat Events) > test.txt #redundant |
Code Sample |
cat /dev/ptyu1 | fgrep --line-buffered -e "New Title" -e "Icy-Name" -e "icy-url" | sed -e /"access_http debug: "/s/// -e '/Icy-Name/i\ -- ' -e /"Meta-Info: icy-url"/s//"Icy-Url"/ -e /"New Title="/s//"Now Playing: "/ | tee >(grep --line-buffered "Icy-Name" | sed -e /"Icy-Name"/s/// > CurrentStation.txt) >(grep --line-buffered "Now Playing" | sed -e /"Now Playing"/s///) >(nc) |
Code Sample |
command1 | tee >(command2) >(command3) >(command4) | command5 |