request
stringlengths
13
923
response
dict
Find direct child directories of 'larch case' only.
{ "kind": "COMMAND", "value": "find 'larch case' -mindepth 1 -maxdepth 1 -type d" }
List immediate subdirectories inside 'moss bin' without searching deeper.
{ "kind": "COMMAND", "value": "find 'moss bin' -mindepth 1 -maxdepth 1 -type d" }
Find direct child directories of 'moss bin' only.
{ "kind": "COMMAND", "value": "find 'moss bin' -mindepth 1 -maxdepth 1 -type d" }
List immediate subdirectories inside 'reed vault' without searching deeper.
{ "kind": "COMMAND", "value": "find 'reed vault' -mindepth 1 -maxdepth 1 -type d" }
Find direct child directories of 'reed vault' only.
{ "kind": "COMMAND", "value": "find 'reed vault' -mindepth 1 -maxdepth 1 -type d" }
List immediate subdirectories inside 'cinder box' without searching deeper.
{ "kind": "COMMAND", "value": "find 'cinder box' -mindepth 1 -maxdepth 1 -type d" }
Find direct child directories of 'cinder box' only.
{ "kind": "COMMAND", "value": "find 'cinder box' -mindepth 1 -maxdepth 1 -type d" }
List immediate subdirectories inside 'fern rack' without searching deeper.
{ "kind": "COMMAND", "value": "find 'fern rack' -mindepth 1 -maxdepth 1 -type d" }
Find direct child directories of 'fern rack' only.
{ "kind": "COMMAND", "value": "find 'fern rack' -mindepth 1 -maxdepth 1 -type d" }
List immediate subdirectories inside 'quartz shelf' without searching deeper.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -mindepth 1 -maxdepth 1 -type d" }
Find direct child directories of 'quartz shelf' only.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -mindepth 1 -maxdepth 1 -type d" }
Find empty regular files anywhere under 'larch case'.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -empty" }
List zero-length files in 'larch case' and its subfolders.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -empty" }
Find empty regular files anywhere under 'moss bin'.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -empty" }
List zero-length files in 'moss bin' and its subfolders.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -empty" }
Find empty regular files anywhere under 'reed vault'.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -empty" }
List zero-length files in 'reed vault' and its subfolders.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -empty" }
Find empty regular files anywhere under 'cinder box'.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -empty" }
List zero-length files in 'cinder box' and its subfolders.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -empty" }
Find empty regular files anywhere under 'fern rack'.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -empty" }
List zero-length files in 'fern rack' and its subfolders.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -empty" }
Find empty regular files anywhere under 'quartz shelf'.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -empty" }
List zero-length files in 'quartz shelf' and its subfolders.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -empty" }
Find empty subdirectories anywhere inside the 'larch case' tree.
{ "kind": "COMMAND", "value": "find 'larch case' -mindepth 1 -type d -empty" }
List empty directories beneath 'larch case', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'larch case' -mindepth 1 -type d -empty" }
Find empty subdirectories anywhere inside the 'moss bin' tree.
{ "kind": "COMMAND", "value": "find 'moss bin' -mindepth 1 -type d -empty" }
List empty directories beneath 'moss bin', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'moss bin' -mindepth 1 -type d -empty" }
Find empty subdirectories anywhere inside the 'reed vault' tree.
{ "kind": "COMMAND", "value": "find 'reed vault' -mindepth 1 -type d -empty" }
List empty directories beneath 'reed vault', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'reed vault' -mindepth 1 -type d -empty" }
Find empty subdirectories anywhere inside the 'cinder box' tree.
{ "kind": "COMMAND", "value": "find 'cinder box' -mindepth 1 -type d -empty" }
List empty directories beneath 'cinder box', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'cinder box' -mindepth 1 -type d -empty" }
Find empty subdirectories anywhere inside the 'fern rack' tree.
{ "kind": "COMMAND", "value": "find 'fern rack' -mindepth 1 -type d -empty" }
List empty directories beneath 'fern rack', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'fern rack' -mindepth 1 -type d -empty" }
Find empty subdirectories anywhere inside the 'quartz shelf' tree.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -mindepth 1 -type d -empty" }
List empty directories beneath 'quartz shelf', including nested subdirectories.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -mindepth 1 -type d -empty" }
Find files larger than 4 bytes under 'larch case'.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -size +4c" }
List regular files over 4 bytes throughout 'larch case'.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -size +4c" }
Find files smaller than 9 bytes under 'moss bin'.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -size -9c" }
List regular files below 9 bytes throughout 'moss bin'.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -size -9c" }
Find files larger than 17 bytes under 'reed vault'.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -size +17c" }
List regular files over 17 bytes throughout 'reed vault'.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -size +17c" }
Find files smaller than 31 bytes under 'cinder box'.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -size -31c" }
List regular files below 31 bytes throughout 'cinder box'.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -size -31c" }
Find files larger than 63 bytes under 'fern rack'.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -size +63c" }
List regular files over 63 bytes throughout 'fern rack'.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -size +63c" }
Find files smaller than 127 bytes under 'quartz shelf'.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -size -127c" }
List regular files below 127 bytes throughout 'quartz shelf'.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -size -127c" }
Find owner-executable regular files anywhere under 'larch case'.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -perm -0100" }
List files with owner execute permission throughout 'larch case'.
{ "kind": "COMMAND", "value": "find 'larch case' -type f -perm -0100" }
Find owner-executable regular files anywhere under 'moss bin'.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -perm -0100" }
List files with owner execute permission throughout 'moss bin'.
{ "kind": "COMMAND", "value": "find 'moss bin' -type f -perm -0100" }
Find owner-executable regular files anywhere under 'reed vault'.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -perm -0100" }
List files with owner execute permission throughout 'reed vault'.
{ "kind": "COMMAND", "value": "find 'reed vault' -type f -perm -0100" }
Find owner-executable regular files anywhere under 'cinder box'.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -perm -0100" }
List files with owner execute permission throughout 'cinder box'.
{ "kind": "COMMAND", "value": "find 'cinder box' -type f -perm -0100" }
Find owner-executable regular files anywhere under 'fern rack'.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -perm -0100" }
List files with owner execute permission throughout 'fern rack'.
{ "kind": "COMMAND", "value": "find 'fern rack' -type f -perm -0100" }
Find owner-executable regular files anywhere under 'quartz shelf'.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -perm -0100" }
List files with owner execute permission throughout 'quartz shelf'.
{ "kind": "COMMAND", "value": "find 'quartz shelf' -type f -perm -0100" }
Print only the byte count of 'measure/birch/glyphs.dat', including all LF and UTF-8 bytes.
{ "kind": "COMMAND", "value": "wc -c < measure/birch/glyphs.dat" }
How many bytes are in 'measure/birch/glyphs.dat'? Output just the number; count line endings too.
{ "kind": "COMMAND", "value": "wc -c < measure/birch/glyphs.dat" }
Count characters in UTF-8 file 'measure/birch/glyphs.dat' using C.UTF-8, including LF; print only the count.
{ "kind": "COMMAND", "value": "LC_ALL=C.UTF-8 wc -m < measure/birch/glyphs.dat" }
In C.UTF-8, report the character count of 'measure/birch/glyphs.dat', including line-ending characters.
{ "kind": "COMMAND", "value": "LC_ALL=C.UTF-8 wc -m < measure/birch/glyphs.dat" }
Count case-sensitive whole-word occurrences of 'nori' in 'measure/birch/word records.log', using ASCII word boundaries.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -owF -- nori 'measure/birch/word records.log' | wc -l" }
How many whole words equal 'nori' in 'measure/birch/word records.log'? Match case; ASCII letters, digits and underscore are word characters.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -owF -- nori 'measure/birch/word records.log' | wc -l" }
Count every case-sensitive occurrence of literal substring 'nori' in 'measure/birch/word records.log'.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -oF -- nori 'measure/birch/word records.log' | wc -l" }
How many times does literal 'nori' occur in 'measure/birch/word records.log'? Include occurrences inside longer words and match case.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -oF -- nori 'measure/birch/word records.log' | wc -l" }
Recursively average word counts of regular .memo files under 'measure/birch/drafts'; print one number, or 0 if none.
{ "kind": "COMMAND", "value": "find measure/birch/drafts -type f -name '*.memo' -exec sh -c 'for p; do wc -w < \"$p\"; done' sh {} + | awk '{s+=$1;n++} END {if(n) print s/n; else print 0}'" }
Print the mean number of words per regular .memo file anywhere under 'measure/birch/drafts', using 0 for an empty selection.
{ "kind": "COMMAND", "value": "find measure/birch/drafts -type f -name '*.memo' -exec sh -c 'for p; do wc -w < \"$p\"; done' sh {} + | awk '{s+=$1;n++} END {if(n) print s/n; else print 0}'" }
Average word counts of regular .memo files under 'measure/birch/drafts' having fewer than 2 words; search recursively and print 0 if none qualify.
{ "kind": "COMMAND", "value": "find measure/birch/drafts -type f -name '*.memo' -exec sh -c 'for p; do wc -w < \"$p\"; done' sh {} + | awk '$1 < 2 {s+=$1;n++} END {if(n) print s/n; else print 0}'" }
Print the mean per-file word count for regular .memo files anywhere under 'measure/birch/drafts' with word counts below 2. Use 0 if no file remains.
{ "kind": "COMMAND", "value": "find measure/birch/drafts -type f -name '*.memo' -exec sh -c 'for p; do wc -w < \"$p\"; done' sh {} + | awk '$1 < 2 {s+=$1;n++} END {if(n) print s/n; else print 0}'" }
Print the total LF count across regular .folio files anywhere under 'measure/birch/records'; empty files add zero.
{ "kind": "COMMAND", "value": "find measure/birch/records -type f -name '*.folio' -exec cat -- {} + | wc -l" }
Count newline bytes in all regular files ending .folio below 'measure/birch/records', recursively, and print one total.
{ "kind": "COMMAND", "value": "find measure/birch/records -type f -name '*.folio' -exec cat -- {} + | wc -l" }
Print the number of regular .folio files anywhere under 'measure/birch/records', including empty files.
{ "kind": "COMMAND", "value": "find measure/birch/records -type f -name '*.folio' -printf x | wc -c" }
How many regular files ending .folio are beneath 'measure/birch/records'? Search recursively; count files, not content lines.
{ "kind": "COMMAND", "value": "find measure/birch/records -type f -name '*.folio' -printf x | wc -c" }
Print the first 1 bytes of 'measure/birch/plain.dat' as lowercase two-digit hex, one byte per line, without offsets; a short file contributes only available bytes.
{ "kind": "COMMAND", "value": "od -An -v -t x1 -N 1 -- measure/birch/plain.dat | awk '{for(i=1;i<=NF;i++) print $i}'" }
Dump at most 1 bytes from 'measure/birch/plain.dat' in hex: two lowercase digits per byte, one value per line, no address column.
{ "kind": "COMMAND", "value": "od -An -v -t x1 -N 1 -- measure/birch/plain.dat | awk '{for(i=1;i<=NF;i++) print $i}'" }
Print the contents of 'measure/birch/messages.txt' with every LF byte removed. Preserve CR and tabs; add no final newline.
{ "kind": "COMMAND", "value": "tr -d '\\n' < measure/birch/messages.txt" }
Delete only newline bytes (LF) while copying 'measure/birch/messages.txt' to stdout, retaining carriage returns and all other bytes.
{ "kind": "COMMAND", "value": "tr -d '\\n' < measure/birch/messages.txt" }
Print the sum of the signed decimal integer records in 'measure/birch/integers.dat'; use 0 for an empty file.
{ "kind": "COMMAND", "value": "awk '{s+=$1} END {print s+0}' measure/birch/integers.dat" }
Add all numbers in 'measure/birch/integers.dat' and output one decimal total with LF. Empty input has total 0.
{ "kind": "COMMAND", "value": "awk '{s+=$1} END {print s+0}' measure/birch/integers.dat" }
Count deleted plus inserted data lines between 'measure/birch/compare/left.txt' and 'measure/birch/compare/right.txt'; exclude diff headers/context. Replacements count twice and unterminated tails count. Equal or different inputs succeed; diff errors fail.
{ "kind": "COMMAND", "value": "diff --old-line-format=x --new-line-format=x --unchanged-line-format= -- measure/birch/compare/left.txt measure/birch/compare/right.txt | wc -c; test \"${PIPESTATUS[0]}\" -le 1" }
Compare 'measure/birch/compare/left.txt' with 'measure/birch/compare/right.txt' and print one total of additions plus deletions, without headers or unchanged lines. Count each replacement as 2 and include final lines lacking LF; fail on actual diff errors.
{ "kind": "COMMAND", "value": "diff --old-line-format=x --new-line-format=x --unchanged-line-format= -- measure/birch/compare/left.txt measure/birch/compare/right.txt | wc -c; test \"${PIPESTATUS[0]}\" -le 1" }
Total logical lines in regular .entry files anywhere under 'measure/birch/journal'. Count blank lines and each file's nonempty unterminated tail; empty files add zero.
{ "kind": "COMMAND", "value": "find measure/birch/journal -type f -name '*.entry' -exec awk 'END {print NR}' {} + | awk '{s+=$1} END {print s+0}'" }
Count text records across regular .entry files beneath 'measure/birch/journal', recursively. LF ends a record, and every file's nonempty final tail also counts; print one total.
{ "kind": "COMMAND", "value": "find measure/birch/journal -type f -name '*.entry' -exec awk 'END {print NR}' {} + | awk '{s+=$1} END {print s+0}'" }
Count regular .page files under 'measure/birch/pages' containing literal 'nori' at least once; search recursively.
{ "kind": "COMMAND", "value": "find measure/birch/pages -type f -name '*.page' -exec grep -qF -- nori {} \\; -printf x | wc -c" }
How many regular .page files anywhere beneath 'measure/birch/pages' contain the case-sensitive substring 'nori'? Count each file once.
{ "kind": "COMMAND", "value": "find measure/birch/pages -type f -name '*.page' -exec grep -qF -- nori {} \\; -printf x | wc -c" }
List regular .note files beneath 'measure/birch/manuals' as path, TAB, LF count, sorted bytewise by full path. Search recursively and omit a total row.
{ "kind": "COMMAND", "value": "find measure/birch/manuals -type f -name '*.note' -print0 | LC_ALL=C sort -z | while IFS= read -r -d '' p; do printf '%s\\t%s\\n' \"$p\" \"$(wc -l < \"$p\")\"; done" }
For each regular .note file anywhere under 'measure/birch/manuals', print its relative path and newline count separated by a tab, in C-locale path order.
{ "kind": "COMMAND", "value": "find measure/birch/manuals -type f -name '*.note' -print0 | LC_ALL=C sort -z | while IFS= read -r -d '' p; do printf '%s\\t%s\\n' \"$p\" \"$(wc -l < \"$p\")\"; done" }
Print only the byte sizes of the 1 smallest nonempty regular files under 'measure/birch/sizes', in ascending order; search recursively.
{ "kind": "COMMAND", "value": "find measure/birch/sizes -type f ! -empty -printf '%s\\n' | sort -n | head -n 1" }
Find the 1 smallest nonempty regular files anywhere beneath 'measure/birch/sizes' and output just their byte counts, smallest first.
{ "kind": "COMMAND", "value": "find measure/birch/sizes -type f ! -empty -printf '%s\\n' | sort -n | head -n 1" }
Print the 1 largest regular files under 'measure/birch/sizes' as byte count, space, full relative path. Rank descending, break ties by bytewise path, and search recursively.
{ "kind": "COMMAND", "value": "find measure/birch/sizes -type f -printf '%s %p\\n' | LC_ALL=C sort -k1,1nr -k2 | head -n 1" }
List the top 1 regular files anywhere beneath 'measure/birch/sizes' by logical bytes, largest first; show size then path and sort equal sizes by C-locale path.
{ "kind": "COMMAND", "value": "find measure/birch/sizes -type f -printf '%s %p\\n' | LC_ALL=C sort -k1,1nr -k2 | head -n 1" }
Print only the byte count of 'measure/marble shelf/glyphs.dat', including all LF and UTF-8 bytes.
{ "kind": "COMMAND", "value": "wc -c < 'measure/marble shelf/glyphs.dat'" }
How many bytes are in 'measure/marble shelf/glyphs.dat'? Output just the number; count line endings too.
{ "kind": "COMMAND", "value": "wc -c < 'measure/marble shelf/glyphs.dat'" }
Count characters in UTF-8 file 'measure/marble shelf/glyphs.dat' using C.UTF-8, including LF; print only the count.
{ "kind": "COMMAND", "value": "LC_ALL=C.UTF-8 wc -m < 'measure/marble shelf/glyphs.dat'" }
In C.UTF-8, report the character count of 'measure/marble shelf/glyphs.dat', including line-ending characters.
{ "kind": "COMMAND", "value": "LC_ALL=C.UTF-8 wc -m < 'measure/marble shelf/glyphs.dat'" }
Count case-sensitive whole-word occurrences of 'cobalt' in 'measure/marble shelf/word records.log', using ASCII word boundaries.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -owF -- cobalt 'measure/marble shelf/word records.log' | wc -l" }
How many whole words equal 'cobalt' in 'measure/marble shelf/word records.log'? Match case; ASCII letters, digits and underscore are word characters.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -owF -- cobalt 'measure/marble shelf/word records.log' | wc -l" }
Count every case-sensitive occurrence of literal substring 'cobalt' in 'measure/marble shelf/word records.log'.
{ "kind": "COMMAND", "value": "LC_ALL=C grep -oF -- cobalt 'measure/marble shelf/word records.log' | wc -l" }