request
stringlengths
13
923
response
dict
Please split `inputs/markers.txt` before each `SECTION` line into numbered files under `out/section-00`.
{ "kind": "COMMAND", "value": "csplit -s -f out/section- -n 2 inputs/markers.txt '/^SECTION /' '{*}'" }
I need you to split `inputs/markers.txt` before each `SECTION` line into numbered files under `out/section-00`.
{ "kind": "COMMAND", "value": "csplit -s -f out/section- -n 2 inputs/markers.txt '/^SECTION /' '{*}'" }
Can you split `inputs/markers.txt` before each `SECTION` line into numbered files under `out/section-00`?
{ "kind": "COMMAND", "value": "csplit -s -f out/section- -n 2 inputs/markers.txt '/^SECTION /' '{*}'" }
Paste matching lines from `inputs/left.txt` and `inputs/right.txt` with `|` between columns.
{ "kind": "COMMAND", "value": "paste -d '|' inputs/left.txt inputs/right.txt" }
Please paste matching lines from `inputs/left.txt` and `inputs/right.txt` with `|` between columns.
{ "kind": "COMMAND", "value": "paste -d '|' inputs/left.txt inputs/right.txt" }
Join the records in `inputs/records.txt` serially with commas.
{ "kind": "COMMAND", "value": "paste -sd, inputs/records.txt" }
Please join the records in `inputs/records.txt` serially with commas.
{ "kind": "COMMAND", "value": "paste -sd, inputs/records.txt" }
I need you to join the records in `inputs/records.txt` serially with commas.
{ "kind": "COMMAND", "value": "paste -sd, inputs/records.txt" }
Can you join the records in `inputs/records.txt` serially with commas?
{ "kind": "COMMAND", "value": "paste -sd, inputs/records.txt" }
Print lines common to the sorted files `inputs/left.txt` and `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -12 inputs/left.txt inputs/right.txt" }
Please print lines common to the sorted files `inputs/left.txt` and `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -12 inputs/left.txt inputs/right.txt" }
I need you to print lines common to the sorted files `inputs/left.txt` and `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -12 inputs/left.txt inputs/right.txt" }
Can you print lines common to the sorted files `inputs/left.txt` and `inputs/right.txt`?
{ "kind": "COMMAND", "value": "comm -12 inputs/left.txt inputs/right.txt" }
Print lines only in sorted file `inputs/left.txt`, excluding `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -23 inputs/left.txt inputs/right.txt" }
Please print lines only in sorted file `inputs/left.txt`, excluding `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -23 inputs/left.txt inputs/right.txt" }
I need you to print lines only in sorted file `inputs/left.txt`, excluding `inputs/right.txt`.
{ "kind": "COMMAND", "value": "comm -23 inputs/left.txt inputs/right.txt" }
Can you print lines only in sorted file `inputs/left.txt`, excluding `inputs/right.txt`?
{ "kind": "COMMAND", "value": "comm -23 inputs/left.txt inputs/right.txt" }
Print lines only in sorted file `inputs/right.txt`, excluding `inputs/left.txt`.
{ "kind": "COMMAND", "value": "comm -13 inputs/left.txt inputs/right.txt" }
Please print lines only in sorted file `inputs/right.txt`, excluding `inputs/left.txt`.
{ "kind": "COMMAND", "value": "comm -13 inputs/left.txt inputs/right.txt" }
I need you to print lines only in sorted file `inputs/right.txt`, excluding `inputs/left.txt`.
{ "kind": "COMMAND", "value": "comm -13 inputs/left.txt inputs/right.txt" }
Can you print lines only in sorted file `inputs/right.txt`, excluding `inputs/left.txt`?
{ "kind": "COMMAND", "value": "comm -13 inputs/left.txt inputs/right.txt" }
Copy `inputs/records.txt` to `out/copy.txt` while preserving the same bytes on standard output.
{ "kind": "COMMAND", "value": "tee out/copy.txt < inputs/records.txt" }
Please copy `inputs/records.txt` to `out/copy.txt` while preserving the same bytes on standard output.
{ "kind": "COMMAND", "value": "tee out/copy.txt < inputs/records.txt" }
I need you to copy `inputs/records.txt` to `out/copy.txt` while preserving the same bytes on standard output.
{ "kind": "COMMAND", "value": "tee out/copy.txt < inputs/records.txt" }
Can you copy `inputs/records.txt` to `out/copy.txt` while preserving the same bytes on standard output?
{ "kind": "COMMAND", "value": "tee out/copy.txt < inputs/records.txt" }
Append `new entry` to `out/append.log` and print the appended line.
{ "kind": "COMMAND", "value": "printf 'new entry\\n' | tee -a out/append.log" }
Please append `new entry` to `out/append.log` and print the appended line.
{ "kind": "COMMAND", "value": "printf 'new entry\\n' | tee -a out/append.log" }
I need you to append `new entry` to `out/append.log` and print the appended line.
{ "kind": "COMMAND", "value": "printf 'new entry\\n' | tee -a out/append.log" }
Can you append `new entry` to `out/append.log` and print the appended line?
{ "kind": "COMMAND", "value": "printf 'new entry\\n' | tee -a out/append.log" }
Use a temporary directory to sort `inputs/records.txt`, clean it up, and print the sorted records.
{ "kind": "COMMAND", "value": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; cp inputs/records.txt \"$tmp/data\"; sort \"$tmp/data\"" }
Please use a temporary directory to sort `inputs/records.txt`, clean it up, and print the sorted records.
{ "kind": "COMMAND", "value": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; cp inputs/records.txt \"$tmp/data\"; sort \"$tmp/data\"" }
I need you to use a temporary directory to sort `inputs/records.txt`, clean it up, and print the sorted records.
{ "kind": "COMMAND", "value": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; cp inputs/records.txt \"$tmp/data\"; sort \"$tmp/data\"" }
Can you use a temporary directory to sort `inputs/records.txt`, clean it up, and print the sorted records?
{ "kind": "COMMAND", "value": "tmp=$(mktemp -d); trap 'rm -rf \"$tmp\"' EXIT; cp inputs/records.txt \"$tmp/data\"; sort \"$tmp/data\"" }
Sort `inputs/records.txt` through a cleaned temporary file and persist the result at `out/sorted.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp); trap 'rm -f \"$tmp\"' EXIT; sort inputs/records.txt > \"$tmp\"; cp \"$tmp\" out/sorted.txt" }
Please sort `inputs/records.txt` through a cleaned temporary file and persist the result at `out/sorted.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp); trap 'rm -f \"$tmp\"' EXIT; sort inputs/records.txt > \"$tmp\"; cp \"$tmp\" out/sorted.txt" }
I need you to sort `inputs/records.txt` through a cleaned temporary file and persist the result at `out/sorted.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp); trap 'rm -f \"$tmp\"' EXIT; sort inputs/records.txt > \"$tmp\"; cp \"$tmp\" out/sorted.txt" }
Can you sort `inputs/records.txt` through a cleaned temporary file and persist the result at `out/sorted.txt`?
{ "kind": "COMMAND", "value": "tmp=$(mktemp); trap 'rm -f \"$tmp\"' EXIT; sort inputs/records.txt > \"$tmp\"; cp \"$tmp\" out/sorted.txt" }
Write `new value` through a cleaned temporary file and atomically replace `out/replaced.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp out/replaced.XXXXXX); trap 'rm -f \"$tmp\"' EXIT; printf 'new value\\n' > \"$tmp\"; mv -f \"$tmp\" out/replaced.txt" }
Please write `new value` through a cleaned temporary file and atomically replace `out/replaced.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp out/replaced.XXXXXX); trap 'rm -f \"$tmp\"' EXIT; printf 'new value\\n' > \"$tmp\"; mv -f \"$tmp\" out/replaced.txt" }
I need you to write `new value` through a cleaned temporary file and atomically replace `out/replaced.txt`.
{ "kind": "COMMAND", "value": "tmp=$(mktemp out/replaced.XXXXXX); trap 'rm -f \"$tmp\"' EXIT; printf 'new value\\n' > \"$tmp\"; mv -f \"$tmp\" out/replaced.txt" }
Can you write `new value` through a cleaned temporary file and atomically replace `out/replaced.txt`?
{ "kind": "COMMAND", "value": "tmp=$(mktemp out/replaced.XXXXXX); trap 'rm -f \"$tmp\"' EXIT; printf 'new value\\n' > \"$tmp\"; mv -f \"$tmp\" out/replaced.txt" }
List file members whose extracted content is non-empty from backups/bundle.tar in archive order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done" }
List file members whose extracted content is non-empty from backup set/bundle.tar in archive order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup set/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done" }
List file members whose extracted content is non-empty from -backups/bundle.tar in archive order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf -backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done" }
List file members whose extracted content is non-empty from backup's/bundle.tar in archive order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup'\"'\"'s/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done" }
List file members whose extracted content is non-empty from backups/bundle.tar in archive order and print the member count. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | wc -l | awk '{print $1}'" }
List file members whose extracted content is non-empty from backup set/bundle.tar in archive order and print the member count. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup set/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | wc -l | awk '{print $1}'" }
List file members whose extracted content is non-empty from -backups/bundle.tar in archive order and print the member count. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf -backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | wc -l | awk '{print $1}'" }
List file members whose extracted content is non-empty from backup's/bundle.tar in archive order and print the member count. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup'\"'\"'s/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | wc -l | awk '{print $1}'" }
List file members whose extracted content is non-empty from backups/bundle.tar in sorted order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | LC_ALL=C sort" }
List file members whose extracted content is non-empty from backup set/bundle.tar in sorted order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup set/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | LC_ALL=C sort" }
List file members whose extracted content is non-empty from -backups/bundle.tar in sorted order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf -backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | LC_ALL=C sort" }
List file members whose extracted content is non-empty from backup's/bundle.tar in sorted order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup'\"'\"'s/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | LC_ALL=C sort" }
Extract file members whose extracted content is non-empty from backups/bundle.tar into output/extracted, using replace behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r name; do tar -xf...
Extract file members whose extracted content is non-empty from backup set/bundle.tar into result set/extracted, using replace behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup set/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r ...
Extract file members whose extracted content is non-empty from -backups/bundle.tar into -output/extracted, using replace behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf -backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r name; do tar ...
Extract file members whose extracted content is non-empty from backup's/bundle.tar into out'put/extracted, using replace behavior for existing files. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "mkdir -p -- 'out'\"'\"'put/extracted'; tar -tf 'backup'\"'\"'s/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup'\"'\"'s/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IF...
Extract file members whose extracted content is non-empty from backups/bundle.tar into output/extracted, using skip behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r name; do tar -xf...
Extract file members whose extracted content is non-empty from backup set/bundle.tar into result set/extracted, using skip behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup set/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r ...
Extract file members whose extracted content is non-empty from -backups/bundle.tar into -output/extracted, using skip behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf -backups/bundle.tar -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IFS= read -r name; do tar ...
Extract file members whose extracted content is non-empty from backup's/bundle.tar into out'put/extracted, using skip behavior for existing files. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "mkdir -p -- 'out'\"'\"'put/extracted'; tar -tf 'backup'\"'\"'s/bundle.tar' | while IFS= read -r name; do case \"$name\" in */) continue;; esac; if [ \"$(tar -xOf 'backup'\"'\"'s/bundle.tar' -- \"$name\" 2>/dev/null | wc -c)\" -gt 0 ]; then printf '%s\\n' \"$name\"; fi; done | while IF...
List file members whose names end in .txt from backups/bundle.tar in archive order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/'" }
List file members whose names end in .txt from backup set/bundle.tar in archive order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/'" }
List file members whose names end in .txt from -backups/bundle.tar in archive order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/'" }
List file members whose names end in .txt from backup's/bundle.tar in archive order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/'" }
List file members whose names end in .txt from backups/bundle.tar in archive order and print the member count. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | wc -l | awk '{print $1}'" }
List file members whose names end in .txt from backup set/bundle.tar in archive order and print the member count. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | wc -l | awk '{print $1}'" }
List file members whose names end in .txt from -backups/bundle.tar in archive order and print the member count. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | wc -l | awk '{print $1}'" }
List file members whose names end in .txt from backup's/bundle.tar in archive order and print the member count. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | wc -l | awk '{print $1}'" }
List file members whose names end in .txt from backups/bundle.tar in sorted order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | LC_ALL=C sort" }
List file members whose names end in .txt from backup set/bundle.tar in sorted order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | LC_ALL=C sort" }
List file members whose names end in .txt from -backups/bundle.tar in sorted order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | LC_ALL=C sort" }
List file members whose names end in .txt from backup's/bundle.tar in sorted order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | LC_ALL=C sort" }
Extract file members whose names end in .txt from backups/bundle.tar into output/extracted, using replace behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf backups/bundle.tar -C output/extracted -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from backup set/bundle.tar into result set/extracted, using replace behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf 'backup set/bundle.tar' -C 'result set/extracted' -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from -backups/bundle.tar into -output/extracted, using replace behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf -backups/bundle.tar -C -output/extracted -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from backup's/bundle.tar into out'put/extracted, using replace behavior for existing files. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "mkdir -p -- 'out'\"'\"'put/extracted'; tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf 'backup'\"'\"'s/bundle.tar' -C 'out'\"'\"'put/extracted' -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from backups/bundle.tar into output/extracted, using skip behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf backups/bundle.tar -C output/extracted --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from backup set/bundle.tar into result set/extracted, using skip behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf 'backup set/bundle.tar' -C 'result set/extracted' --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from -backups/bundle.tar into -output/extracted, using skip behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf -backups/bundle.tar -C -output/extracted --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
Extract file members whose names end in .txt from backup's/bundle.tar into out'put/extracted, using skip behavior for existing files. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "mkdir -p -- 'out'\"'\"'put/extracted'; tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/ && $0 ~ /\\.txt$/' | while IFS= read -r name; do tar -xf 'backup'\"'\"'s/bundle.tar' -C 'out'\"'\"'put/extracted' --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
List file members, excluding directory entries from backups/bundle.tar in archive order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/'" }
List file members, excluding directory entries from backup set/bundle.tar in archive order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/'" }
List file members, excluding directory entries from -backups/bundle.tar in archive order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/'" }
List file members, excluding directory entries from backup's/bundle.tar in archive order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/'" }
List file members, excluding directory entries from backups/bundle.tar in archive order and print the member count. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/' | wc -l | awk '{print $1}'" }
List file members, excluding directory entries from backup set/bundle.tar in archive order and print the member count. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/' | wc -l | awk '{print $1}'" }
List file members, excluding directory entries from -backups/bundle.tar in archive order and print the member count. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/' | wc -l | awk '{print $1}'" }
List file members, excluding directory entries from backup's/bundle.tar in archive order and print the member count. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/' | wc -l | awk '{print $1}'" }
List file members, excluding directory entries from backups/bundle.tar in sorted order and print member names. Use ordinary directory names.
{ "kind": "COMMAND", "value": "tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/' | LC_ALL=C sort" }
List file members, excluding directory entries from backup set/bundle.tar in sorted order and print member names. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/' | LC_ALL=C sort" }
List file members, excluding directory entries from -backups/bundle.tar in sorted order and print member names. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/' | LC_ALL=C sort" }
List file members, excluding directory entries from backup's/bundle.tar in sorted order and print member names. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/' | LC_ALL=C sort" }
Extract file members, excluding directory entries from backups/bundle.tar into output/extracted, using replace behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf backups/bundle.tar -C output/extracted -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from backup set/bundle.tar into result set/extracted, using replace behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf 'backup set/bundle.tar' -C 'result set/extracted' -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from -backups/bundle.tar into -output/extracted, using replace behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf -backups/bundle.tar -C -output/extracted -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from backup's/bundle.tar into out'put/extracted, using replace behavior for existing files. Preserve directory names containing apostrophes.
{ "kind": "COMMAND", "value": "mkdir -p -- 'out'\"'\"'put/extracted'; tar -tf 'backup'\"'\"'s/bundle.tar' | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf 'backup'\"'\"'s/bundle.tar' -C 'out'\"'\"'put/extracted' -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from backups/bundle.tar into output/extracted, using skip behavior for existing files. Use ordinary directory names.
{ "kind": "COMMAND", "value": "mkdir -p -- output/extracted; tar -tf backups/bundle.tar | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf backups/bundle.tar -C output/extracted --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from backup set/bundle.tar into result set/extracted, using skip behavior for existing files. Preserve directory names containing spaces.
{ "kind": "COMMAND", "value": "mkdir -p -- 'result set/extracted'; tar -tf 'backup set/bundle.tar' | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf 'backup set/bundle.tar' -C 'result set/extracted' --keep-old-files -- \"$name\" 2>/dev/null || :; done" }
Extract file members, excluding directory entries from -backups/bundle.tar into -output/extracted, using skip behavior for existing files. Preserve directory names beginning with a dash.
{ "kind": "COMMAND", "value": "mkdir -p -- -output/extracted; tar -tf -backups/bundle.tar | awk '$0 !~ /\\/$/' | while IFS= read -r name; do tar -xf -backups/bundle.tar -C -output/extracted --keep-old-files -- \"$name\" 2>/dev/null || :; done" }