Mercurial > repo
changeset 8291:26bcede56dc6
<shachaf> mkx bin/spore//echo 1 > /hackenv/tmp/spline; cat "${1-/dev/stdin}" > /hackenv/tmp/spout; lines="$(wc -l /hackenv/tmp/spout | awk \'{print $1}\')"; echo "$lines lines"
author | HackBot |
---|---|
date | Fri, 03 Jun 2016 00:37:31 +0000 |
parents | cc4d3c9c6810 |
children | f7eb1a2d57c1 |
files | bin/spore |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/spore Fri Jun 03 00:32:36 2016 +0000 +++ b/bin/spore Fri Jun 03 00:37:31 2016 +0000 @@ -1,1 +1,1 @@ -echo 1 > /hackenv/tmp/spline; cat > /hackenv/tmp/spout; lines="$(wc -l /hackenv/tmp/spout | awk '{print $1}')"; echo "$lines lines" +echo 1 > /hackenv/tmp/spline; cat "${1-/dev/stdin}" > /hackenv/tmp/spout; lines="$(wc -l /hackenv/tmp/spout | awk '{print $1}')"; echo "$lines lines"