|
|
|
|
|
by repsilat
4114 days ago
|
|
> # gawk doesn't care if it's given a regular file or the output fd of some process: Something wonderful I found out the other day: Bash executes scripts as it parses them, so you can do all kinds of awful things. For starters, bash <(yes echo hello)
will have bash execute an infinite script that looks like echo hello
echo hello
echo hello
...
without trying to load the whole thing first.After that, you can move onto having a script append to itself and whatever other dreadful things you can think of. |
|