Shell Golf
Get the output with the fewest characters you can. 50 holes, real pipelines.
Input on stdin
Target output
$
0
Your output
Target
This runs in your browser, not on a server
There is no filesystem and no network - the puzzle input arrives on stdin, and your pipeline's output is compared to the target. Commands understood:
awk is a real implementation: BEGIN/END, arrays, for loops,
$NF, length, substr, split,
gsub, and an expression as a pattern all work. It is checked against GNU awk.
Anything that needs a real machine - ls, find, ps,
df, curl, systemctl - will tell you so rather than
failing silently.