Hacker News new | ask | show | jobs
by 1337p337 4683 days ago
Fun times in bash, but very boring in the Inferno shell:

listen -A 'tcp!*!9000' { {req := "{sed '/^\r$/q'}; echo 'HTTP status and headers elided'; echo $req} & }