Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (12 sloc) 0.306 kb
#! /bin/bash
cat $2 > $1 &
if [ "$3" = "RAW" ]; then
# raw output
cat $1
else
# filtered output with timeout
`dirname $0`/timeout3 -t 120 awk 'BEGIN { boot = 0 }
/^BOOT$/ { boot = 1; next }
/^EXIT [0-9a-fA-F]+$/ { exit strtonum("0x"$2) }
{ if (boot) print }' < $1
fi
Jump to Line
Something went wrong with that request. Please try again.