sd -- a drop-in replacement for `cd'

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2019-12-28 11:01
ensure sane input to `sdman'. remove (apparently redundant) use of `eval'. Leaf check-in: ed15a9ba9f user: vdh tags: mksh
2019-12-28 11:01
ensure sane input to `sdman'. remove (apparently redundant) use of `eval'. Leaf check-in: 62858ad55b user: vdh tags: ksh
2019-12-28 10:58
ensure sane input to `sdman'. remove (apparently redundant) use of `eval'. Leaf check-in: 5b18ec4ca0 user: vdh tags: trunk
2019-12-22 17:13
take over the tidy up from mksh branch. check-in: a28d3150c6 user: vdh tags: ksh
2019-12-22 17:11
tidy up continued. check-in: 652cbec2de user: vdh tags: mksh
2019-12-22 17:10
tidy up continued. check-in: cf34cbb665 user: vdh tags: mksh
2019-12-22 17:08
tidy up: start to remove stuff from branches that should (or need) only be present on trunk. check-in: 6468d8b10d user: vdh tags: mksh
2019-12-22 16:55
replace piping of `print' output into commands by `<<<' here strings whereever possible. some other minor edits. check-in: eed377262a user: vdh tags: trunk
2019-12-22 16:42
replace piping of `print' output into commands by `<<<' here strings whereever possible. some other minor edits. check-in: 78020ab235 user: vdh tags: ksh
2019-12-22 16:20
replace piping of `print' output into commands by `<<<' here strings whereever possible. some other minor edits. check-in: 630cfacdfe user: vdh tags: mksh
2019-12-13 15:01
manpage fix (bring back into sync with version on other branches). check-in: 13f16da74f user: vdh tags: trunk
2019-12-13 14:28
typo. check-in: 263d448eac user: vdh tags: trunk
2019-12-13 14:09
minor adjustments to quickstart.md. check-in: 77dcf74ab6 user: vdh tags: mksh
2019-12-13 14:09
minor adjustments to quickstart.md. check-in: a7c6e1b635 user: vdh tags: ksh
2019-12-13 14:08
minor adjustments to quickstart.md. check-in: bd18da5f0b user: vdh tags: trunk
2019-12-12 16:19
de-novo generation of `man.md' from sd's manpage using the newly added script `mkman.sh'. check-in: 278a59b06e user: vdh tags: trunk
2019-12-12 16:18
de-novo generation of `man.md' from sd's manpage using the newly added script `mkman.sh'. check-in: 129a43945a user: vdh tags: ksh
2019-12-12 16:18
de-novo generation of `man.md' from sd's manpage using the newly added script `mkman.sh'. check-in: cc736ffd49 user: vdh tags: mksh
2019-12-11 16:37
fix quoting. check-in: 5d61fbc7a2 user: vdh tags: trunk
2019-12-11 16:36
fix quoting. check-in: c099c7b0f5 user: vdh tags: ksh
2019-12-11 16:33
fix quoting. check-in: c4044ae8d8 user: vdh tags: mksh
2019-12-11 16:22
fix manpage by removing spurious quoting. check-in: c65cb11634 user: vdh tags: mksh
2019-11-22 14:36
small manpage adjustment. check-in: fd70480021 user: vdh tags: mksh
2019-11-19 14:51
manpage edit. check-in: 189f440b5d user: vdh tags: mksh
2019-11-19 14:51
manpage edit. check-in: ac4daf2bb4 user: vdh tags: ksh
2019-11-19 14:39
manpage edit. check-in: cee66b9d26 user: vdh tags: trunk
2019-11-19 12:49
use `"$@"' consistently. see checkin comment of the source for this cherry-pick on trunk. check-in: 3c738fd8d4 user: vdh tags: mksh
2019-11-19 11:56
use `"$@"' consistently. see checkin comment of the source for this cherry-pick. check-in: 6d206a717a user: vdh tags: ksh
2019-11-19 11:45
now consistently use `"$@"' instead of `"$*"' everywhere. this ensures that blanks in directory patterns do not call problems even when not quoted a) when using `sd' directly rather than via the default `cd' function (which _did_ quoting) and b) when IFS is set to IFS=$'\n' in the shell using `sd'. to handle the latter case `cd' redefined to use `"$@"' (unquoted `$*' should work, too) since otherwise \n would creep in at that point with `"$*"'. check-in: 559862e056 user: vdh tags: trunk
2019-11-17 17:55
eliminate bash/zsh-specific stuff since this branch does not work with bash/zsh anyway. check-in: 3799186fb5 user: vdh tags: ksh
2019-11-17 17:53
eliminate bash/zsh-specific stuff since this branch does not work with bash/zsh anyway. check-in: 659939e8db user: vdh tags: mksh
2019-11-17 17:50
reset OPTIND to 0 at each sdirs call to make it work with, both, bash as well as zsh. check-in: 2d42babf32 user: vdh tags: trunk
2019-11-17 14:38
follow all sensible recommendations from `ksh -n sd.ksh'. mostly concerns using, e.g., ((x = x + 1)) rather than x=$((x+1)) for numerical computations. check-in: 89eb880657 user: vdh tags: trunk
2019-11-17 14:17
follow all sensible recommendations from `ksh -n sd.ksh'. mostly concerns using, e.g., ((x = x + 1)) rather than x=$((x+1)) for numerical computations. check-in: 3038904ded user: vdh tags: ksh
2019-11-17 13:20
follow all sensible recommendations from `ksh -n sd.ksh'. mostly concerns using, e.g., ((x = x + 1)) rather than x=$((x+1)) for numerical computations. check-in: 90caeec42d user: vdh tags: mksh
2019-11-17 13:03
remove unused local variable. check-in: 10b3af3759 user: vdh tags: ksh
2019-11-17 13:00
manual cherrypick of some recent changes from mksh branch. mostly sdshellcheck related. check-in: 4c3b85eed4 user: vdh tags: trunk
2019-11-17 12:47
fixed a logical bug: the OR expr was executed for sdcount=0. it did not harm, though (redundantly setting sdcount=1...). but it definitely should be if/else. check-in: 31d74a31c1 user: vdh tags: trunk
2019-11-17 12:42
two cherrypicks (7874412, 930a415). check-in: 7458265c63 user: vdh tags: ksh
2019-11-16 00:15
avoid redundant interpolation of shell variables. check-in: 7874412d63 user: vdh tags: mksh
2019-11-15 17:54
fixed a logical bug: the OR expr was executed for sdcount=0. it did not harm, though (redundantly setting sdcount=1...). but it definitely should be if/else. check-in: 930a4158ef user: vdh tags: mksh
2019-11-15 09:05
avoid string concatenation in `sdclean' since this becomes really really slow with mksh. use indexed arrays instead for buffering the `sdlog' entries. check-in: 388f9dbd63 user: vdh tags: trunk
2019-11-14 17:38
spurious cherrypick merge from the same checkin. this does not introduces changes but fossil insists on a merge having happened etc. maybe there is another way to sort this out but for now we simply do an "empty" checkin. check-in: 4e5adf308e user: vdh tags: mksh
2019-11-14 17:32
avoid string concatenation in `sdclean' since this becomes really really slow with mksh. use indexed arrays instead for buffering the `sdlog' entries. check-in: 63b1a3057e user: vdh tags: mksh
2019-11-14 17:11
harmless regression: the change in [2fef24ca87] to `sdlogwrite' introduced afterwards a spurious empty first entry/line in `$sdlog' if `sdclean' was called since the latter so far did itself insert a leading newline into the new `$sdlog'. this has now been changed in `sdclean': $sdlog now should everywhere be void of leading or trailing newlines. check-in: 3069ea0a6a user: vdh tags: trunk
2019-11-14 17:10
harmless regression: the change in [2fef24ca87] to `sdlogwrite' introduced afterwards a spurious empty first entry/line in `$sdlog' if `sdclean' was called since the latter so far did itself insert a leading newline into the new `$sdlog'. this has now been changed in `sdclean': $sdlog now should everywhere be void of leading or trailing newlines. check-in: 478be7bc15 user: vdh tags: ksh
2019-11-14 17:08
harmless regression: the change in [2fef24ca87] to `sdlogwrite' introduced afterwards a spurious empty first entry/line in `$sdlog' if `sdclean' was called since the latter so far did itself insert a leading newline into the new `$sdlog'. this has now been changed in `sdclean': $sdlog now should everywhere be void of leading or trailing newlines. check-in: 1cef006a99 user: vdh tags: mksh
2019-11-14 16:51
tidy up a bit (sdshellcheck plus the on-exit trap). change sdmax default to my preference as defined in .kshrc in order not to be bitten by unintended dirv pruning in case sd.ksh is manually sourced during testing. check-in: 654fea6c54 user: vdh tags: ksh
2019-11-14 16:49
minor fix for use with tcsh. check-in: 87630be37e user: vdh tags: ksh
2019-11-13 22:10
tidy up a bit (sdshellcheck plus the on-exit trap). change sdmax default to my preference as defined in .kshrc in order not to be bitten by unintended dirv pruning in case sd.ksh is manually sourced during testing. check-in: bdaefcaa05 user: vdh tags: mksh