mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
fix awk maybe
This commit is contained in:
parent
14e0ace2a0
commit
36ff6c8282
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /tmp/$2
|
||||
timeout -s KILL 2 sed "/___code___/Q" code.code > code.stdin
|
||||
timeout -s KILL 2 sed "1,/___code___/d" code.code > code.awk
|
||||
timeout -s KILL 3 awk -f code.awk < code.stdin
|
||||
timeout -s KILL 3 xargs -a args.args -d '\n' awk -f code.code < stdin.stdin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue