summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/mtime.sh: Parse ls output with read, not cutPatrick McDermott2019-03-211-2/+7
| | | | | | | | | | | | | | cut treats multiple delimiter characters as empty fields, increasing the field count an indeterminate amount for fields with whitespace delimiter padding. BusyBox's ls outputs: -rw-r--r-- 1 1000 1000 1935 Mar 16 16:31 man/opkbuild.1in cut counts the owner field, not the month, as field 6. And fields 7 and 8 are empty. The shell interpreter's field splitting is better suited for this job, so just use read.
* tools/shld.sh: Move DT_NEEDED and RTLD below input filesPatrick McDermott2019-03-181-7/+7
| | | | Otherwise, LIBDATADIR isn't defined and library loading fails.
* tools/shld.sh: Reset IFS before splitting ${__init_funcs}Patrick McDermott2019-03-171-0/+1
|
* tools/shld.sh: Unset __fPatrick McDermott2019-03-171-1/+1
|
* tools/shld.sh: Add a basic RTLDPatrick McDermott2019-03-171-6/+39
|
* tools/shman.sh: Use tools/mtime.shPatrick McDermott2019-03-161-34/+1
|
* tools/mtime.sh: New filePatrick McDermott2019-03-161-0/+71
|
* tools/local.mk: New filePatrick McDermott2018-12-271-0/+4
|
* tools/shman.sh: Update and improve options helpPatrick McDermott2018-12-271-8/+12
|
* tools/shman.sh: Add "-b base_dir" optionPatrick McDermott2018-12-271-2/+7
|
* tools/shman.sh: Create any missing directoriesPatrick McDermott2018-12-271-0/+2
|
* tools/shman.sh: Implement SYNOPSISPatrick McDermott2018-12-271-17/+36
|
* tools/shman.sh: Don't treat "\" as escape char in cmd argsPatrick McDermott2018-12-271-2/+2
|
* tools/shman.sh: Rename and reformat @pure commandPatrick McDermott2018-12-271-3/+9
|
* tools/shman.sh: s/SUBSHELL SAFETY AND SIDE EFFECTS/ATTRIBUTES/Patrick McDermott2018-12-271-4/+4
|
* tools/shman.sh: Make executablePatrick McDermott2018-12-271-0/+0
|
* tools/shman.sh: Remove quotes in parameter expansionsPatrick McDermott2018-12-271-5/+5
| | | | | | | | POSIX doesn't list quote removal as one of the expansions to which `word` (in `${parameter#word}` etc.) shall be subjected, but it does mention quoting characters. GNU Bash supports all three quote characters. Almquist shells support backslash, but not single or double quotes.
* tools/shman.sh: Open/close tags file only oncePatrick McDermott2018-12-271-11/+8
| | | | | Otherwise, only the symbols from the last input file would remain in the file.
* tools/shman.sh: Write tags filePatrick McDermott2018-12-271-0/+15
|
* tools/shman.sh: Fix missing local var declarationPatrick McDermott2018-12-271-0/+1
|
* tools/shman.sh: Drop an unused global constantPatrick McDermott2018-12-271-1/+0
|
* tools/shman.sh: Add @stdin, @stdout, and @stderr commandsPatrick McDermott2018-12-271-1/+16
|
* tools/shman.sh: Support a @purity commandPatrick McDermott2018-12-271-1/+6
|
* tools/shman.sh: Generate "OPERANDS" sectionsPatrick McDermott2018-12-271-1/+17
|
* tools/shman.sh: Generate "OPTIONS" sectionsPatrick McDermott2018-12-271-1/+22
|
* tools/shman.sh: Remove some old commented-out codePatrick McDermott2018-12-271-4/+0
|
* tools/shman.sh: Drop markdown-like font markupPatrick McDermott2018-12-271-14/+0
|
* tools/shman.sh: New filePatrick McDermott2018-12-271-0/+282
|
* tools/shld.sh, tools/shpp.sh: AddPatrick McDermott2018-12-202-0/+339