index
:
bashweb
trunk
Bashweb Web Server - A web server made using only Bash and basic Linux utilities, potentially vulnerable to a ton of attacks
root
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
preprocessor
/
url.sh
blob: bc4e221744e8c35d217d05dadc2676d8e8ff5061 (
plain
)
1
2
3
4
#!/bin/bash
read_from_pipe
()
{
read
"
$@
"
<
&
0
;
}
echo
"
$(
read_from_pipe
|
head -1
)
"