request
stringlengths
13
923
response
dict
Use awk printf on `data/records.csv` to print each name followed by its integer score as name=score.
{ "kind": "COMMAND", "value": "awk -F , '{printf \"%s=%d\\n\",$1,$3+0}' data/records.csv" }
Process `data/records.csv` and `data/scores.tsv` and prefix every row with its per-file FNR.
{ "kind": "COMMAND", "value": "awk '{printf \"%d:%s\\n\",FNR,$0}' data/records.csv data/scores.tsv" }
Process `data/records.csv` and `data/scores.tsv` and prefix every row with its cumulative NR.
{ "kind": "COMMAND", "value": "awk '{printf \"%d:%s\\n\",NR,$0}' data/records.csv data/scores.tsv" }
Use getline to read `data/lookup.csv` and print the number of rows read.
{ "kind": "COMMAND", "value": "awk 'BEGIN{while((getline x < \"data/lookup.csv\")>0)n++; close(\"data/lookup.csv\"); print n}'" }
Use getline to read `data/lookup.csv` and print the second field from each row.
{ "kind": "COMMAND", "value": "awk 'BEGIN{while((getline x < \"data/lookup.csv\")>0){split(x,a,\",\"); print a[2]} close(\"data/lookup.csv\")}'" }
Use an awk variable set to 5 to print rows from `data/records.csv` whose third field is at least that value.
{ "kind": "COMMAND", "value": "awk -F , -v limit=5 '$3+0 >= limit {print}' data/records.csv" }
Use an awk variable set to 10 to print rows from `data/records.csv` whose third field is at least that value.
{ "kind": "COMMAND", "value": "awk -F , -v limit=10 '$3+0 >= limit {print}' data/records.csv" }
Use an awk variable set to 20 to print rows from `data/records.csv` whose third field is at least that value.
{ "kind": "COMMAND", "value": "awk -F , -v limit=20 '$3+0 >= limit {print}' data/records.csv" }
Use an awk variable set to 'ROW=' to prefix every row from `data/records.csv`.
{ "kind": "COMMAND", "value": "awk -F , -v prefix=ROW= '{print prefix $0}' data/records.csv" }
Use an awk variable set to 'item:' to prefix every row from `data/records.csv`.
{ "kind": "COMMAND", "value": "awk -F , -v prefix=item: '{print prefix $0}' data/records.csv" }
Show only TCP listeners bound to local port 19180 in the isolated namespace.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19180' | awk '{ $1=$1; print }'" }
Show only TCP listeners bound to local port 19181 in the isolated namespace.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19181' | awk '{ $1=$1; print }'" }
Show only TCP listeners bound to local port 19182 in the isolated namespace.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19182' | awk '{ $1=$1; print }'" }
Show only TCP listeners bound to local port 19183 in the isolated namespace.
{ "kind": "COMMAND", "value": "ss -H -ltn 'sport = :19183' | awk '{ $1=$1; print }'" }
List the UDP listener on local port 19380 and omit other local sockets.
{ "kind": "COMMAND", "value": "ss -H -lun 'sport = :19380' | awk '{ $1=$1; print }'" }
List the UDP listener on local port 19381 and omit other local sockets.
{ "kind": "COMMAND", "value": "ss -H -lun 'sport = :19381' | awk '{ $1=$1; print }'" }
List the UDP listener on local port 19382 and omit other local sockets.
{ "kind": "COMMAND", "value": "ss -H -lun 'sport = :19382' | awk '{ $1=$1; print }'" }
Report the established TCP connection whose local server port is 19180.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19180$/ {print}' | awk '{ $1=$1; print }'" }
Report the established TCP connection whose local server port is 19181.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19181$/ {print}' | awk '{ $1=$1; print }'" }
Report the established TCP connection whose local server port is 19182.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19182$/ {print}' | awk '{ $1=$1; print }'" }
Report the established TCP connection whose local server port is 19183.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$1 == \"ESTAB\" && $4 ~ /:19183$/ {print}' | awk '{ $1=$1; print }'" }
Show all TCP socket states using local port 19180, including the listener and its accepted connection.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$4 ~ /:19180$/ {print}' | awk '{ $1=$1; print }' | LC_ALL=C sort" }
Show all TCP socket states using local port 19181, including the listener and its accepted connection.
{ "kind": "COMMAND", "value": "ss -H -tan | awk '$4 ~ /:19181$/ {print}' | awk '{ $1=$1; print }' | LC_ALL=C sort" }
Download http://127.0.0.1:18180/inspect to network/result.bin and leave the downloaded bytes in that file.
{ "kind": "COMMAND", "value": "curl --fail --silent --show-error --output network/result.bin http://127.0.0.1:18180/inspect" }
Download http://127.0.0.1:18181/data to network/result.bin and leave the downloaded bytes in that file.
{ "kind": "COMMAND", "value": "curl --fail --silent --show-error --output network/result.bin http://127.0.0.1:18181/data" }
Run jobs/job.sh in the background, wait for it to finish, and print its exit status as exit=NUMBER.
{ "kind": "COMMAND", "value": "./jobs/job.sh & pid=$!; wait \"$pid\"; rc=$?; printf 'exit=%s\\n' \"$rc\"" }
Run inputs/tasks/job.sh in the background, wait for it to finish, and print its exit status as exit=NUMBER.
{ "kind": "COMMAND", "value": "./inputs/tasks/job.sh & pid=$!; wait \"$pid\"; rc=$?; printf 'exit=%s\\n' \"$rc\"" }
Run 'work area/tasks/job.sh' in the background, wait for it to finish, and print its exit status as exit=NUMBER.
{ "kind": "COMMAND", "value": "'./work area/tasks/job.sh' & pid=$!; wait \"$pid\"; rc=$?; printf 'exit=%s\\n' \"$rc\"" }
Run -jobs/job.sh in the background, wait for it to finish, and print its exit status as exit=NUMBER.
{ "kind": "COMMAND", "value": "./-jobs/job.sh & pid=$!; wait \"$pid\"; rc=$?; printf 'exit=%s\\n' \"$rc\"" }
Start jobs/first.sh and jobs/second.sh concurrently, wait for both PIDs, and print their exit statuses in launch order.
{ "kind": "COMMAND", "value": "./jobs/first.sh & p1=$!; ./jobs/second.sh & p2=$!; wait \"$p1\"; first=$?; wait \"$p2\"; second=$?; printf 'first=%s second=%s\\n' \"$first\" \"$second\"" }
Start inputs/tasks/first.sh and inputs/tasks/second.sh concurrently, wait for both PIDs, and print their exit statuses in launch order.
{ "kind": "COMMAND", "value": "./inputs/tasks/first.sh & p1=$!; ./inputs/tasks/second.sh & p2=$!; wait \"$p1\"; first=$?; wait \"$p2\"; second=$?; printf 'first=%s second=%s\\n' \"$first\" \"$second\"" }
Start 'work area/tasks/first.sh' and 'work area/tasks/second.sh' concurrently, wait for both PIDs, and print their exit statuses in launch order.
{ "kind": "COMMAND", "value": "'./work area/tasks/first.sh' & p1=$!; './work area/tasks/second.sh' & p2=$!; wait \"$p1\"; first=$?; wait \"$p2\"; second=$?; printf 'first=%s second=%s\\n' \"$first\" \"$second\"" }
Start -jobs/first.sh and -jobs/second.sh concurrently, wait for both PIDs, and print their exit statuses in launch order.
{ "kind": "COMMAND", "value": "./-jobs/first.sh & p1=$!; ./-jobs/second.sh & p2=$!; wait \"$p1\"; first=$?; wait \"$p2\"; second=$?; printf 'first=%s second=%s\\n' \"$first\" \"$second\"" }
Start jobs/first.sh, jobs/second.sh, jobs/third.sh, wait for all three PIDs, and print whether all succeeded and the failure count.
{ "kind": "COMMAND", "value": "./jobs/first.sh & p1=$!; ./jobs/second.sh & p2=$!; ./jobs/third.sh & p3=$!; failed=0; for p in \"$p1\" \"$p2\" \"$p3\"; do if wait \"$p\"; then :; else failed=$((failed+1)); fi; done; if [ \"$failed\" -eq 0 ]; then all_ok=yes; else all_ok=no; fi; printf 'all_ok=%s failed=%s\\n' \"$all...
Start inputs/tasks/first.sh, inputs/tasks/second.sh, inputs/tasks/third.sh, wait for all three PIDs, and print whether all succeeded and the failure count.
{ "kind": "COMMAND", "value": "./inputs/tasks/first.sh & p1=$!; ./inputs/tasks/second.sh & p2=$!; ./inputs/tasks/third.sh & p3=$!; failed=0; for p in \"$p1\" \"$p2\" \"$p3\"; do if wait \"$p\"; then :; else failed=$((failed+1)); fi; done; if [ \"$failed\" -eq 0 ]; then all_ok=yes; else all_ok=no; fi; printf 'all_ok...
Start 'work area/tasks/first.sh', 'work area/tasks/second.sh', 'work area/tasks/third.sh', wait for all three PIDs, and print whether all succeeded and the failure count.
{ "kind": "COMMAND", "value": "'./work area/tasks/first.sh' & p1=$!; './work area/tasks/second.sh' & p2=$!; './work area/tasks/third.sh' & p3=$!; failed=0; for p in \"$p1\" \"$p2\" \"$p3\"; do if wait \"$p\"; then :; else failed=$((failed+1)); fi; done; if [ \"$failed\" -eq 0 ]; then all_ok=yes; else all_ok=no; fi;...
Start -jobs/first.sh, -jobs/second.sh, -jobs/third.sh, wait for all three PIDs, and print whether all succeeded and the failure count.
{ "kind": "COMMAND", "value": "./-jobs/first.sh & p1=$!; ./-jobs/second.sh & p2=$!; ./-jobs/third.sh & p3=$!; failed=0; for p in \"$p1\" \"$p2\" \"$p3\"; do if wait \"$p\"; then :; else failed=$((failed+1)); fi; done; if [ \"$failed\" -eq 0 ]; then all_ok=yes; else all_ok=no; fi; printf 'all_ok=%s failed=%s\\n' \"$...
Handle failure from `cat inputs/missing.txt` with Bash or error handling and print recovered.
{ "kind": "COMMAND", "value": "cat inputs/missing.txt 2>/dev/null || printf '%s\\n' recovered" }
Handle failure from `false` with Bash or error handling and print recovered.
{ "kind": "COMMAND", "value": "false || printf '%s\\n' recovered" }
Handle failure from `grep -q absent inputs/target.txt` with Bash or error handling and print recovered.
{ "kind": "COMMAND", "value": "grep -q absent inputs/target.txt 2>/dev/null || printf '%s\\n' recovered" }
Handle failure from `cat items` with Bash or error handling and print recovered.
{ "kind": "COMMAND", "value": "cat items 2>/dev/null || printf '%s\\n' recovered" }
Handle failure from `command -v definitely_missing` with Bash or error handling and print recovered.
{ "kind": "COMMAND", "value": "command -v definitely_missing 2>/dev/null || printf '%s\\n' recovered" }
Handle failure from `cat inputs/missing.txt` with Bash pipeline error handling and print recovered.
{ "kind": "COMMAND", "value": "set -o pipefail; cat inputs/missing.txt 2>/dev/null | cat || printf '%s\\n' recovered" }
Handle failure from `false` with Bash pipeline error handling and print recovered.
{ "kind": "COMMAND", "value": "set -o pipefail; false | cat || printf '%s\\n' recovered" }
Handle failure from `grep -q absent inputs/target.txt` with Bash pipeline error handling and print recovered.
{ "kind": "COMMAND", "value": "set -o pipefail; grep -q absent inputs/target.txt 2>/dev/null | cat || printf '%s\\n' recovered" }
Handle failure from `cat items` with Bash pipeline error handling and print recovered.
{ "kind": "COMMAND", "value": "set -o pipefail; cat items 2>/dev/null | cat || printf '%s\\n' recovered" }
Handle failure from `command -v definitely_missing` with Bash pipeline error handling and print recovered.
{ "kind": "COMMAND", "value": "set -o pipefail; command -v definitely_missing 2>/dev/null | cat || printf '%s\\n' recovered" }
Append 'input/source.txt' to 'output/result.txt'.
{ "kind": "COMMAND", "value": "cat -- input/source.txt >> output/result.txt" }
Append 'source set/source.txt' to 'result set/result.txt'.
{ "kind": "COMMAND", "value": "cat -- 'source set/source.txt' >> 'result set/result.txt'" }
Append '-input/source.txt' to '-output/result.txt'.
{ "kind": "COMMAND", "value": "cat -- -input/source.txt >> -output/result.txt" }
Append "in'put/source.txt" to "out'put/result.txt".
{ "kind": "COMMAND", "value": "cat -- 'in'\"'\"'put/source.txt' >> 'out'\"'\"'put/result.txt'" }
Copy 'input/source.txt' to 'work/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode 0600 on 'work/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- input/source.txt work/intermediate.txt && chmod 0600 -- work/intermediate.txt" }
Copy 'source set/source.txt' to 'staging area/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode 0600 on 'staging area/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- 'source set/source.txt' 'staging area/intermediate.txt' && chmod 0600 -- 'staging area/intermediate.txt'" }
Copy '-input/source.txt' to '-work/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode 0600 on '-work/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- -input/source.txt -work/intermediate.txt && chmod 0600 -- -work/intermediate.txt" }
Copy "in'put/source.txt" to "wor'k/intermediate.txt" replacing an existing destination while preserving the source mode; then set mode 0600 on "wor'k/intermediate.txt".
{ "kind": "COMMAND", "value": "cp -p -f -- 'in'\"'\"'put/source.txt' 'wor'\"'\"'k/intermediate.txt' && chmod 0600 -- 'wor'\"'\"'k/intermediate.txt'" }
Copy 'input/source.txt' to 'work/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode u+x on 'work/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- input/source.txt work/intermediate.txt && chmod u+x -- work/intermediate.txt" }
Copy 'source set/source.txt' to 'staging area/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode u+x on 'staging area/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- 'source set/source.txt' 'staging area/intermediate.txt' && chmod u+x -- 'staging area/intermediate.txt'" }
Copy '-input/source.txt' to '-work/intermediate.txt' replacing an existing destination while preserving the source mode; then set mode u+x on '-work/intermediate.txt'.
{ "kind": "COMMAND", "value": "cp -p -f -- -input/source.txt -work/intermediate.txt && chmod u+x -- -work/intermediate.txt" }
Copy "in'put/source.txt" to "wor'k/intermediate.txt" replacing an existing destination while preserving the source mode; then set mode u+x on "wor'k/intermediate.txt".
{ "kind": "COMMAND", "value": "cp -p -f -- 'in'\"'\"'put/source.txt' 'wor'\"'\"'k/intermediate.txt' && chmod u+x -- 'wor'\"'\"'k/intermediate.txt'" }
Copy 'input/source.txt' to 'work/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode 0600 on 'work/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e work/intermediate.txt ] || [ -L work/intermediate.txt ]; then exit 1; else cp -p -- input/source.txt work/intermediate.txt; fi && chmod 0600 -- work/intermediate.txt" }
Copy 'source set/source.txt' to 'staging area/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode 0600 on 'staging area/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e 'staging area/intermediate.txt' ] || [ -L 'staging area/intermediate.txt' ]; then exit 1; else cp -p -- 'source set/source.txt' 'staging area/intermediate.txt'; fi && chmod 0600 -- 'staging area/intermediate.txt'" }
Copy '-input/source.txt' to '-work/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode 0600 on '-work/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e -work/intermediate.txt ] || [ -L -work/intermediate.txt ]; then exit 1; else cp -p -- -input/source.txt -work/intermediate.txt; fi && chmod 0600 -- -work/intermediate.txt" }
Copy "in'put/source.txt" to "wor'k/intermediate.txt" refusing an existing destination while preserving the source mode; then set mode 0600 on "wor'k/intermediate.txt".
{ "kind": "COMMAND", "value": "if [ -e 'wor'\"'\"'k/intermediate.txt' ] || [ -L 'wor'\"'\"'k/intermediate.txt' ]; then exit 1; else cp -p -- 'in'\"'\"'put/source.txt' 'wor'\"'\"'k/intermediate.txt'; fi && chmod 0600 -- 'wor'\"'\"'k/intermediate.txt'" }
Copy 'input/source.txt' to 'work/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode u+x on 'work/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e work/intermediate.txt ] || [ -L work/intermediate.txt ]; then exit 1; else cp -p -- input/source.txt work/intermediate.txt; fi && chmod u+x -- work/intermediate.txt" }
Copy 'source set/source.txt' to 'staging area/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode u+x on 'staging area/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e 'staging area/intermediate.txt' ] || [ -L 'staging area/intermediate.txt' ]; then exit 1; else cp -p -- 'source set/source.txt' 'staging area/intermediate.txt'; fi && chmod u+x -- 'staging area/intermediate.txt'" }
Copy '-input/source.txt' to '-work/intermediate.txt' refusing an existing destination while preserving the source mode; then set mode u+x on '-work/intermediate.txt'.
{ "kind": "COMMAND", "value": "if [ -e -work/intermediate.txt ] || [ -L -work/intermediate.txt ]; then exit 1; else cp -p -- -input/source.txt -work/intermediate.txt; fi && chmod u+x -- -work/intermediate.txt" }
Copy "in'put/source.txt" to "wor'k/intermediate.txt" refusing an existing destination while preserving the source mode; then set mode u+x on "wor'k/intermediate.txt".
{ "kind": "COMMAND", "value": "if [ -e 'wor'\"'\"'k/intermediate.txt' ] || [ -L 'wor'\"'\"'k/intermediate.txt' ]; then exit 1; else cp -p -- 'in'\"'\"'put/source.txt' 'wor'\"'\"'k/intermediate.txt'; fi && chmod u+x -- 'wor'\"'\"'k/intermediate.txt'" }
Copy 'input/source-tree' to 'output/destination-tree' replacing an existing destination while preserving the source mode; then set mode 0600 on 'output/destination-tree'.
{ "kind": "COMMAND", "value": "rm -rf -- output/destination-tree && cp -a -- input/source-tree output/destination-tree && chmod 0600 -- output/destination-tree" }
Copy 'source set/source-tree' to 'result set/destination-tree' replacing an existing destination while preserving the source mode; then set mode 0600 on 'result set/destination-tree'.
{ "kind": "COMMAND", "value": "rm -rf -- 'result set/destination-tree' && cp -a -- 'source set/source-tree' 'result set/destination-tree' && chmod 0600 -- 'result set/destination-tree'" }
Copy '-input/source-tree' to '-output/destination-tree' replacing an existing destination while preserving the source mode; then set mode 0600 on '-output/destination-tree'.
{ "kind": "COMMAND", "value": "rm -rf -- -output/destination-tree && cp -a -- -input/source-tree -output/destination-tree && chmod 0600 -- -output/destination-tree" }
Copy "in'put/source-tree" to "out'put/destination-tree" replacing an existing destination while preserving the source mode; then set mode 0600 on "out'put/destination-tree".
{ "kind": "COMMAND", "value": "rm -rf -- 'out'\"'\"'put/destination-tree' && cp -a -- 'in'\"'\"'put/source-tree' 'out'\"'\"'put/destination-tree' && chmod 0600 -- 'out'\"'\"'put/destination-tree'" }
Copy 'input/source-tree' to 'output/destination-tree' refusing an existing destination while preserving the source mode; then set mode 0600 on 'output/destination-tree'.
{ "kind": "COMMAND", "value": "if [ -e output/destination-tree ] || [ -L output/destination-tree ]; then exit 1; else cp -a -- input/source-tree output/destination-tree; fi && chmod 0600 -- output/destination-tree" }
Copy 'source set/source-tree' to 'result set/destination-tree' refusing an existing destination while preserving the source mode; then set mode 0600 on 'result set/destination-tree'.
{ "kind": "COMMAND", "value": "if [ -e 'result set/destination-tree' ] || [ -L 'result set/destination-tree' ]; then exit 1; else cp -a -- 'source set/source-tree' 'result set/destination-tree'; fi && chmod 0600 -- 'result set/destination-tree'" }
Copy '-input/source-tree' to '-output/destination-tree' refusing an existing destination while preserving the source mode; then set mode 0600 on '-output/destination-tree'.
{ "kind": "COMMAND", "value": "if [ -e -output/destination-tree ] || [ -L -output/destination-tree ]; then exit 1; else cp -a -- -input/source-tree -output/destination-tree; fi && chmod 0600 -- -output/destination-tree" }
Copy "in'put/source-tree" to "out'put/destination-tree" refusing an existing destination while preserving the source mode; then set mode 0600 on "out'put/destination-tree".
{ "kind": "COMMAND", "value": "if [ -e 'out'\"'\"'put/destination-tree' ] || [ -L 'out'\"'\"'put/destination-tree' ]; then exit 1; else cp -a -- 'in'\"'\"'put/source-tree' 'out'\"'\"'put/destination-tree'; fi && chmod 0600 -- 'out'\"'\"'put/destination-tree'" }
Read the exact file `records.txt` and print input lines 2 through 4.
{ "kind": "COMMAND", "value": "sed -n 2,4p -- records.txt" }
Read the exact file `input set/records data.txt` and print input lines 2 through 4.
{ "kind": "COMMAND", "value": "sed -n 2,4p -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and print input lines 2 through 4.
{ "kind": "COMMAND", "value": "sed -n 2,4p -- -input/records.txt" }
Read the exact file `in'put/records.txt` and print input lines 2 through 4.
{ "kind": "COMMAND", "value": "sed -n 2,4p -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and remove lines whose first character is #.
{ "kind": "COMMAND", "value": "sed '/^#/d' -- records.txt" }
Read the exact file `input set/records data.txt` and remove lines whose first character is #.
{ "kind": "COMMAND", "value": "sed '/^#/d' -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and remove lines whose first character is #.
{ "kind": "COMMAND", "value": "sed '/^#/d' -- -input/records.txt" }
Read the exact file `in'put/records.txt` and remove lines whose first character is #.
{ "kind": "COMMAND", "value": "sed '/^#/d' -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and replace every exact ERROR substring with WARN on each input line.
{ "kind": "COMMAND", "value": "sed 's|ERROR|WARN|g' -- records.txt" }
Read the exact file `input set/records data.txt` and replace every exact ERROR substring with WARN on each input line.
{ "kind": "COMMAND", "value": "sed 's|ERROR|WARN|g' -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and replace every exact ERROR substring with WARN on each input line.
{ "kind": "COMMAND", "value": "sed 's|ERROR|WARN|g' -- -input/records.txt" }
Read the exact file `in'put/records.txt` and replace every exact ERROR substring with WARN on each input line.
{ "kind": "COMMAND", "value": "sed 's|ERROR|WARN|g' -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and turn each exact name:number record into number, a space, then name using basic-regex groups.
{ "kind": "COMMAND", "value": "sed 's/^\\([A-Za-z][A-Za-z]*\\):\\([0-9][0-9]*\\)$/\\2 \\1/' -- records.txt" }
Read the exact file `input set/records data.txt` and turn each exact name:number record into number, a space, then name using basic-regex groups.
{ "kind": "COMMAND", "value": "sed 's/^\\([A-Za-z][A-Za-z]*\\):\\([0-9][0-9]*\\)$/\\2 \\1/' -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and turn each exact name:number record into number, a space, then name using basic-regex groups.
{ "kind": "COMMAND", "value": "sed 's/^\\([A-Za-z][A-Za-z]*\\):\\([0-9][0-9]*\\)$/\\2 \\1/' -- -input/records.txt" }
Read the exact file `in'put/records.txt` and turn each exact name:number record into number, a space, then name using basic-regex groups.
{ "kind": "COMMAND", "value": "sed 's/^\\([A-Za-z][A-Za-z]*\\):\\([0-9][0-9]*\\)$/\\2 \\1/' -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and turn each exact name=number record into number:name using extended-regex groups.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+)=([0-9]+)$/\\2:\\1/' -- records.txt" }
Read the exact file `input set/records data.txt` and turn each exact name=number record into number:name using extended-regex groups.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+)=([0-9]+)$/\\2:\\1/' -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and turn each exact name=number record into number:name using extended-regex groups.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+)=([0-9]+)$/\\2:\\1/' -- -input/records.txt" }
Read the exact file `in'put/records.txt` and turn each exact name=number record into number:name using extended-regex groups.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+)=([0-9]+)$/\\2:\\1/' -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and collapse a line containing the same alphabetic word twice, separated by one space, to one word.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+) \\1$/\\1/' -- records.txt" }
Read the exact file `input set/records data.txt` and collapse a line containing the same alphabetic word twice, separated by one space, to one word.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+) \\1$/\\1/' -- 'input set/records data.txt'" }
Read the exact file `-input/records.txt` and collapse a line containing the same alphabetic word twice, separated by one space, to one word.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+) \\1$/\\1/' -- -input/records.txt" }
Read the exact file `in'put/records.txt` and collapse a line containing the same alphabetic word twice, separated by one space, to one word.
{ "kind": "COMMAND", "value": "sed -E 's/^([A-Za-z]+) \\1$/\\1/' -- 'in'\"'\"'put/records.txt'" }
Read the exact file `records.txt` and replace every exact /var/log/app path with /srv/log/app.
{ "kind": "COMMAND", "value": "sed 's|/var/log/app|/srv/log/app|g' -- records.txt" }