request stringlengths 13 923 | response dict |
|---|---|
In tables/sort_2_lexical_reverse.txt, extract colon-separated field 2 (use an empty line when it is missing), then sort the resulting lines in reverse C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'tables/sort_2_lexical_reverse.txt' | awk -F: '{print $2}' | sort -s -r"
} |
In train/scale_0073.txt, extract colon-separated field 2 (missing fields become empty lines), then sort the lines in reverse C-locale bytewise order, then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0073.txt' | awk -F: '{print $2}' | sort -s -r | head -n 1"
} |
In train/scale_0077.txt, extract colon-separated field 2 (missing fields become empty lines), then sort the lines in reverse C-locale bytewise order, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0077.txt' | awk -F: '{print $2}' | sort -s -r | tail -n 2"
} |
In train/scale_0193.txt, extract colon-separated field 2 (missing fields become empty lines), then replace every literal , with TAB. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0193.txt' | awk -F: '{print $2}' | sed 's/,/TAB/g'"
} |
In train/scale_0195.txt, extract colon-separated field 2 (missing fields become empty lines), then replace the first literal , with TAB. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0195.txt' | awk -F: '{print $2}' | sed 's/,/TAB/'"
} |
In train/scale_0189.txt, extract colon-separated field 2 (missing fields become empty lines), then remove trailing ASCII spaces and TABs. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0189.txt' | awk -F: '{print $2}' | sed 's/[[:blank:]]*$//'"
} |
In tables/sort_2_unique_lexical.txt, extract colon-separated field 2 (use an empty line when it is missing), then sort the resulting lines bytewise and remove duplicates. | {
"kind": "COMMAND",
"value": "cat -- 'tables/sort_2_unique_lexical.txt' | awk -F: '{print $2}' | sort -s -u"
} |
In train/scale_0081.txt, extract colon-separated field 2 (missing fields become empty lines), then sort bytewise and remove duplicate lines, then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0081.txt' | awk -F: '{print $2}' | sort -s -u | head -n 1"
} |
In train/scale_0085.txt, extract colon-separated field 2 (missing fields become empty lines), then sort bytewise and remove duplicate lines, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0085.txt' | awk -F: '{print $2}' | sort -s -u | tail -n 2"
} |
In notes/transform_0_1.txt, keep lines containing the literal substring ERROR, then convert ASCII uppercase letters to lowercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_0_1.txt' | grep -F -- 'ERROR' | tr '[:upper:]' '[:lower:]'"
} |
In logs/chain_0_1.txt, keep lines containing the literal substring ERROR, then convert ASCII uppercase letters to lowercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_0_1.txt' | grep -F -- 'ERROR' | tr '[:upper:]' '[:lower:]' | sort -s"
} |
In notes/transform_0_0.txt, keep lines containing the literal substring ERROR, then convert ASCII lowercase letters to uppercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_0_0.txt' | grep -F -- 'ERROR' | tr '[:lower:]' '[:upper:]'"
} |
In logs/chain_0_0.txt, keep lines containing the literal substring ERROR, then convert ASCII lowercase letters to uppercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_0_0.txt' | grep -F -- 'ERROR' | tr '[:lower:]' '[:upper:]' | sort -s"
} |
In notes/transform_0_3.txt, keep lines containing the literal substring ERROR, then collapse each run of ASCII spaces to one space. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_0_3.txt' | grep -F -- 'ERROR' | sed -E 's/ +/ /g'"
} |
In logs/chain_0_3.txt, keep lines containing the literal substring ERROR, then collapse each run of ASCII spaces to one space, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_0_3.txt' | grep -F -- 'ERROR' | sed -E 's/ +/ /g' | sort -s"
} |
In tables/colon_0_2.txt, keep lines containing the literal substring ERROR, then extract colon-separated field 2 (use an empty line when it is missing). | {
"kind": "COMMAND",
"value": "cat -- 'tables/colon_0_2.txt' | grep -F -- 'ERROR' | awk -F: '{print $2}'"
} |
In train/scale_0001.txt, lines containing the literal substring ERROR, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0001.txt' | grep -F -- 'ERROR' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0005.txt, lines containing the literal substring ERROR, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0005.txt' | grep -F -- 'ERROR' | awk -F: '{print $2}' | tail -n 2"
} |
In reports/source_0_3.txt, keep lines containing the literal substring ERROR, then count the resulting logical records, including an unterminated final record. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_0_3.txt' | grep -F -- 'ERROR' | wc -l"
} |
In reports/source_0_0.txt, keep lines containing the literal substring ERROR, then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_0_0.txt' | grep -F -- 'ERROR' | head -n 1"
} |
In data/replace_0_0.txt, keep lines containing the literal substring ERROR, then replace every literal comma with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_0_0.txt' | grep -F -- 'ERROR' | sed 's/,/\\t/g'"
} |
In data/replace_0_1.txt, keep lines containing the literal substring ERROR, then replace only the first literal comma on each line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_0_1.txt' | grep -F -- 'ERROR' | sed 's/,/\\t/'"
} |
In data/replace_0_2.txt, keep lines containing the literal substring ERROR, then replace a comma at the start of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_0_2.txt' | grep -F -- 'ERROR' | sed 's/^,/\\t/'"
} |
In data/replace_0_3.txt, keep lines containing the literal substring ERROR, then replace a comma at the end of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_0_3.txt' | grep -F -- 'ERROR' | sed 's/,$/\\t/'"
} |
In train/scale_0009.txt, lines containing the literal substring ERROR, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0009.txt' | grep -F -- 'ERROR' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0013.txt, lines containing the literal substring ERROR, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0013.txt' | grep -F -- 'ERROR' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In reports/source_0_2.txt, keep lines containing the literal substring ERROR, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_0_2.txt' | grep -F -- 'ERROR' | tail -n 2"
} |
In notes/transform_0_2.txt, keep lines containing the literal substring ERROR, then remove trailing ASCII spaces and tabs. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_0_2.txt' | grep -F -- 'ERROR' | sed 's/[[:blank:]]*$//'"
} |
In logs/chain_0_2.txt, keep lines containing the literal substring ERROR, then remove trailing ASCII spaces and tabs, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_0_2.txt' | grep -F -- 'ERROR' | sed 's/[[:blank:]]*$//' | sort -s"
} |
In notes/transform_1_1.txt, keep lines not containing the literal substring ERROR, then convert ASCII uppercase letters to lowercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_1_1.txt' | grep -F -v -- 'ERROR' | tr '[:upper:]' '[:lower:]'"
} |
In logs/chain_1_1.txt, keep lines not containing the literal substring ERROR, then convert ASCII uppercase letters to lowercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_1_1.txt' | grep -F -v -- 'ERROR' | tr '[:upper:]' '[:lower:]' | sort -s"
} |
In notes/transform_1_0.txt, keep lines not containing the literal substring ERROR, then convert ASCII lowercase letters to uppercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_1_0.txt' | grep -F -v -- 'ERROR' | tr '[:lower:]' '[:upper:]'"
} |
In logs/chain_1_0.txt, keep lines not containing the literal substring ERROR, then convert ASCII lowercase letters to uppercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_1_0.txt' | grep -F -v -- 'ERROR' | tr '[:lower:]' '[:upper:]' | sort -s"
} |
In notes/transform_1_3.txt, keep lines not containing the literal substring ERROR, then collapse each run of ASCII spaces to one space. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_1_3.txt' | grep -F -v -- 'ERROR' | sed -E 's/ +/ /g'"
} |
In logs/chain_1_3.txt, keep lines not containing the literal substring ERROR, then collapse each run of ASCII spaces to one space, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_1_3.txt' | grep -F -v -- 'ERROR' | sed -E 's/ +/ /g' | sort -s"
} |
In tables/colon_1_2.txt, keep lines not containing the literal substring ERROR, then extract colon-separated field 2 (use an empty line when it is missing). | {
"kind": "COMMAND",
"value": "cat -- 'tables/colon_1_2.txt' | grep -F -v -- 'ERROR' | awk -F: '{print $2}'"
} |
In train/scale_0017.txt, lines not containing the literal substring ERROR, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0017.txt' | grep -F -v -- 'ERROR' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0021.txt, lines not containing the literal substring ERROR, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0021.txt' | grep -F -v -- 'ERROR' | awk -F: '{print $2}' | tail -n 2"
} |
In reports/source_1_3.txt, keep lines not containing the literal substring ERROR, then count the resulting logical records, including an unterminated final record. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_1_3.txt' | grep -F -v -- 'ERROR' | wc -l"
} |
In reports/source_1_0.txt, keep lines not containing the literal substring ERROR, then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_1_0.txt' | grep -F -v -- 'ERROR' | head -n 1"
} |
In data/replace_1_0.txt, keep lines not containing the literal substring ERROR, then replace every literal comma with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_1_0.txt' | grep -F -v -- 'ERROR' | sed 's/,/\\t/g'"
} |
In data/replace_1_1.txt, keep lines not containing the literal substring ERROR, then replace only the first literal comma on each line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_1_1.txt' | grep -F -v -- 'ERROR' | sed 's/,/\\t/'"
} |
In data/replace_1_2.txt, keep lines not containing the literal substring ERROR, then replace a comma at the start of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_1_2.txt' | grep -F -v -- 'ERROR' | sed 's/^,/\\t/'"
} |
In data/replace_1_3.txt, keep lines not containing the literal substring ERROR, then replace a comma at the end of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_1_3.txt' | grep -F -v -- 'ERROR' | sed 's/,$/\\t/'"
} |
In train/scale_0025.txt, lines not containing the literal substring ERROR, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0025.txt' | grep -F -v -- 'ERROR' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0029.txt, lines not containing the literal substring ERROR, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0029.txt' | grep -F -v -- 'ERROR' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In reports/source_1_2.txt, keep lines not containing the literal substring ERROR, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_1_2.txt' | grep -F -v -- 'ERROR' | tail -n 2"
} |
In notes/transform_1_2.txt, keep lines not containing the literal substring ERROR, then remove trailing ASCII spaces and tabs. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_1_2.txt' | grep -F -v -- 'ERROR' | sed 's/[[:blank:]]*$//'"
} |
In logs/chain_1_2.txt, keep lines not containing the literal substring ERROR, then remove trailing ASCII spaces and tabs, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_1_2.txt' | grep -F -v -- 'ERROR' | sed 's/[[:blank:]]*$//' | sort -s"
} |
In notes/transform_2_1.txt, keep lines containing TODO as a complete word, then convert ASCII uppercase letters to lowercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_2_1.txt' | grep -F -w -- 'TODO' | tr '[:upper:]' '[:lower:]'"
} |
In logs/chain_2_1.txt, keep lines containing TODO as a complete word, then convert ASCII uppercase letters to lowercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_2_1.txt' | grep -F -w -- 'TODO' | tr '[:upper:]' '[:lower:]' | sort -s"
} |
In notes/transform_2_0.txt, keep lines containing TODO as a complete word, then convert ASCII lowercase letters to uppercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_2_0.txt' | grep -F -w -- 'TODO' | tr '[:lower:]' '[:upper:]'"
} |
In logs/chain_2_0.txt, keep lines containing TODO as a complete word, then convert ASCII lowercase letters to uppercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_2_0.txt' | grep -F -w -- 'TODO' | tr '[:lower:]' '[:upper:]' | sort -s"
} |
In notes/transform_2_3.txt, keep lines containing TODO as a complete word, then collapse each run of ASCII spaces to one space. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_2_3.txt' | grep -F -w -- 'TODO' | sed -E 's/ +/ /g'"
} |
In logs/chain_2_3.txt, keep lines containing TODO as a complete word, then collapse each run of ASCII spaces to one space, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_2_3.txt' | grep -F -w -- 'TODO' | sed -E 's/ +/ /g' | sort -s"
} |
In tables/colon_2_2.txt, keep lines containing TODO as a complete word, then extract colon-separated field 2 (use an empty line when it is missing). | {
"kind": "COMMAND",
"value": "cat -- 'tables/colon_2_2.txt' | grep -F -w -- 'TODO' | awk -F: '{print $2}'"
} |
In train/scale_0033.txt, lines containing WARN as a complete word, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0033.txt' | grep -F -w -- 'WARN' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0037.txt, lines containing WARN as a complete word, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0037.txt' | grep -F -w -- 'WARN' | awk -F: '{print $2}' | tail -n 2"
} |
In reports/source_2_3.txt, keep lines containing TODO as a complete word, then count the resulting logical records, including an unterminated final record. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_2_3.txt' | grep -F -w -- 'TODO' | wc -l"
} |
In reports/source_2_0.txt, keep lines containing TODO as a complete word, then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_2_0.txt' | grep -F -w -- 'TODO' | head -n 1"
} |
In data/replace_2_0.txt, keep lines containing TODO as a complete word, then replace every literal comma with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_2_0.txt' | grep -F -w -- 'TODO' | sed 's/,/\\t/g'"
} |
In data/replace_2_1.txt, keep lines containing TODO as a complete word, then replace only the first literal comma on each line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_2_1.txt' | grep -F -w -- 'TODO' | sed 's/,/\\t/'"
} |
In data/replace_2_2.txt, keep lines containing TODO as a complete word, then replace a comma at the start of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_2_2.txt' | grep -F -w -- 'TODO' | sed 's/^,/\\t/'"
} |
In data/replace_2_3.txt, keep lines containing TODO as a complete word, then replace a comma at the end of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_2_3.txt' | grep -F -w -- 'TODO' | sed 's/,$/\\t/'"
} |
In train/scale_0041.txt, lines containing WARN as a complete word, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0041.txt' | grep -F -w -- 'WARN' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0045.txt, lines containing WARN as a complete word, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0045.txt' | grep -F -w -- 'WARN' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In reports/source_2_2.txt, keep lines containing TODO as a complete word, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_2_2.txt' | grep -F -w -- 'TODO' | tail -n 2"
} |
In notes/transform_2_2.txt, keep lines containing TODO as a complete word, then remove trailing ASCII spaces and tabs. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_2_2.txt' | grep -F -w -- 'TODO' | sed 's/[[:blank:]]*$//'"
} |
In logs/chain_2_2.txt, keep lines containing TODO as a complete word, then remove trailing ASCII spaces and tabs, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_2_2.txt' | grep -F -w -- 'TODO' | sed 's/[[:blank:]]*$//' | sort -s"
} |
In notes/transform_3_1.txt, keep lines beginning with the literal prefix NOTE:, then convert ASCII uppercase letters to lowercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_3_1.txt' | grep -E -- '^NOTE:' | tr '[:upper:]' '[:lower:]'"
} |
In logs/chain_3_1.txt, keep lines beginning with the literal prefix NOTE:, then convert ASCII uppercase letters to lowercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_3_1.txt' | grep -E -- '^NOTE:' | tr '[:upper:]' '[:lower:]' | sort -s"
} |
In notes/transform_3_0.txt, keep lines beginning with the literal prefix NOTE:, then convert ASCII lowercase letters to uppercase. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_3_0.txt' | grep -E -- '^NOTE:' | tr '[:lower:]' '[:upper:]'"
} |
In logs/chain_3_0.txt, keep lines beginning with the literal prefix NOTE:, then convert ASCII lowercase letters to uppercase, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_3_0.txt' | grep -E -- '^NOTE:' | tr '[:lower:]' '[:upper:]' | sort -s"
} |
In notes/transform_3_3.txt, keep lines beginning with the literal prefix NOTE:, then collapse each run of ASCII spaces to one space. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_3_3.txt' | grep -E -- '^NOTE:' | sed -E 's/ +/ /g'"
} |
In logs/chain_3_3.txt, keep lines beginning with the literal prefix NOTE:, then collapse each run of ASCII spaces to one space, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_3_3.txt' | grep -E -- '^NOTE:' | sed -E 's/ +/ /g' | sort -s"
} |
In tables/colon_3_2.txt, keep lines beginning with the literal prefix NOTE:, then extract colon-separated field 2 (use an empty line when it is missing). | {
"kind": "COMMAND",
"value": "cat -- 'tables/colon_3_2.txt' | grep -E -- '^NOTE:' | awk -F: '{print $2}'"
} |
In train/scale_0049.txt, lines beginning with the literal prefix tag:, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0049.txt' | awk -v p='tag:' 'index($0,p)==1' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0053.txt, lines beginning with the literal prefix tag:, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0053.txt' | awk -v p='tag:' 'index($0,p)==1' | awk -F: '{print $2}' | tail -n 2"
} |
In reports/source_3_3.txt, keep lines beginning with the literal prefix NOTE:, then count the resulting logical records, including an unterminated final record. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_3_3.txt' | grep -E -- '^NOTE:' | wc -l"
} |
In data/replace_3_0.txt, keep lines beginning with the literal prefix NOTE:, then replace every literal comma with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_3_0.txt' | grep -E -- '^NOTE:' | sed 's/,/\\t/g'"
} |
In data/replace_3_1.txt, keep lines beginning with the literal prefix NOTE:, then replace only the first literal comma on each line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_3_1.txt' | grep -E -- '^NOTE:' | sed 's/,/\\t/'"
} |
In data/replace_3_2.txt, keep lines beginning with the literal prefix NOTE:, then replace a comma at the start of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_3_2.txt' | grep -E -- '^NOTE:' | sed 's/^,/\\t/'"
} |
In data/replace_3_3.txt, keep lines beginning with the literal prefix NOTE:, then replace a comma at the end of a line with a tab. | {
"kind": "COMMAND",
"value": "cat -- 'data/replace_3_3.txt' | grep -E -- '^NOTE:' | sed 's/,$/\\t/'"
} |
In train/scale_0057.txt, lines beginning with the literal prefix tag:, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0057.txt' | awk -v p='tag:' 'index($0,p)==1' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0061.txt, lines beginning with the literal prefix tag:, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0061.txt' | awk -v p='tag:' 'index($0,p)==1' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In reports/source_3_2.txt, keep lines beginning with the literal prefix NOTE:, then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'reports/source_3_2.txt' | grep -E -- '^NOTE:' | tail -n 2"
} |
In notes/transform_3_2.txt, keep lines beginning with the literal prefix NOTE:, then remove trailing ASCII spaces and tabs. | {
"kind": "COMMAND",
"value": "cat -- 'notes/transform_3_2.txt' | grep -E -- '^NOTE:' | sed 's/[[:blank:]]*$//'"
} |
In logs/chain_3_2.txt, keep lines beginning with the literal prefix NOTE:, then remove trailing ASCII spaces and tabs, then sort the resulting lines in C-locale bytewise order. | {
"kind": "COMMAND",
"value": "cat -- 'logs/chain_3_2.txt' | grep -E -- '^NOTE:' | sed 's/[[:blank:]]*$//' | sort -s"
} |
In train/scale_0161.txt, replace every literal , with TAB, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0161.txt' | sed 's/,/TAB/g' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0164.txt, replace every literal , with TAB, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0164.txt' | sed 's/,/TAB/g' | awk -F: '{print $2}' | tail -n 2"
} |
In train/scale_0167.txt, replace every literal , with TAB, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0167.txt' | sed 's/,/TAB/g' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0170.txt, replace every literal , with TAB, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0170.txt' | sed 's/,/TAB/g' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In train/scale_0173.txt, replace the first literal , with TAB, then extract colon-separated field 2 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0173.txt' | sed 's/,/TAB/' | awk -F: '{print $2}' | head -n 1"
} |
In train/scale_0176.txt, replace the first literal , with TAB, then extract colon-separated field 2 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0176.txt' | sed 's/,/TAB/' | awk -F: '{print $2}' | tail -n 2"
} |
In train/scale_0179.txt, replace the first literal , with TAB, then extract TAB-separated field 3 (missing fields become empty lines), then print the first 1 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0179.txt' | sed 's/,/TAB/' | awk -F '\\t' '{print $3}' | head -n 1"
} |
In train/scale_0182.txt, replace the first literal , with TAB, then extract TAB-separated field 3 (missing fields become empty lines), then print the last 2 resulting lines. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0182.txt' | sed 's/,/TAB/' | awk -F '\\t' '{print $3}' | tail -n 2"
} |
In train/scale_0199.txt, extract TAB-separated field 3 (missing fields become empty lines), then convert ASCII uppercase letters to lowercase. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0199.txt' | awk -F '\\t' '{print $3}' | tr '[:upper:]' '[:lower:]'"
} |
In train/scale_0197.txt, extract TAB-separated field 3 (missing fields become empty lines), then convert ASCII lowercase letters to uppercase. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0197.txt' | awk -F '\\t' '{print $3}' | tr '[:lower:]' '[:upper:]'"
} |
In train/scale_0203.txt, extract TAB-separated field 3 (missing fields become empty lines), then collapse each run of ASCII spaces to one space. | {
"kind": "COMMAND",
"value": "cat -- 'train/scale_0203.txt' | awk -F '\\t' '{print $3}' | sed -E 's/ +/ /g'"
} |
In tables/reduce_2_count_lines_0.txt, extract tab-separated field 2 (use an empty line when it is missing), then count the resulting logical records, including an unterminated final record. | {
"kind": "COMMAND",
"value": "cat -- 'tables/reduce_2_count_lines_0.txt' | awk -F '\\t' '{print $2}' | wc -l"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.