request stringlengths 13 923 | response dict |
|---|---|
Read `inputs/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines containing the literal text `ERROR`; then remove a trailing literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aF -- ERROR | LC_ALL=C sed 's/ERROR$//' | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting words. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -w | awk '{print $1}' | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting words. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -w | awk '{print $1}' | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting words. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -w | awk '{print $1}' | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then count the resulting words. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -w | awk '{print $1}' | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order and remove duplicates. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -u | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order and remove duplicates. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -u | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order and remove duplicates. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -u | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order and remove duplicates. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -u | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then delete every literal `ERROR`; then sort lines in reverse C-locale bytewise order; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C sed s/ERROR//g | LC_ALL=C sort -r | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then remove duplicate lines while preserving first occurrence. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | awk '!seen[$0]++' | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 in descending order using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 -r | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | head -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then convert ASCII letters to lowercase; then sort lines by field 1 using `:`; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | LC_ALL=C tr '[:upper:]' '[:lower:]' | LC_ALL=C sort -t : -k1,1 | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then keep the last line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | tail -n 1 | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then count the resulting bytes. Print the result followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | wc -c | awk '{print $1}' | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `inputs/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- inputs/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `work area/records file.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- 'work area/records file.txt' | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `-data/records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then extract field 1 using `:` as the separator; then sort lines in reverse C-locale bytewise order. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- -data/records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | awk -F : '{if (NF >= 1 || (NF == 0 && 1 == 1)) print $1}' | LC_ALL=C sort -r | awk '{print}'"
} |
Read `records.txt`; keep lines beginning with `ERROR`; then prefix each line with its 1-based number and a colon; then sort lines in reverse C-locale bytewise order; then keep the first line. Print each resulting line followed by a newline. | {
"kind": "COMMAND",
"value": "cat -- records.txt | LC_ALL=C grep -aE -- '^ERROR' | awk '{printf \"%d:%s\\n\", NR, $0}' | LC_ALL=C sort -r | head -n 1 | awk '{print}'"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.