Alois Mahdal
daf94094b7
Rename to shellfu: update infra
8 년 전
Alois Mahdal
0a7a54ca84
Rename to shellfu: Update docs and notes
8 년 전
Alois Mahdal
0d48330c84
Rename to shellfu: update tests
8 년 전
Alois Mahdal
cdab045c1c
Rename to shellfu: rename main source tree
8 년 전
Alois Mahdal
f98d6556a9
Remove obsolete utility
8 년 전
Alois Mahdal
9ebec6398d
Update TFKit to v0.0.7
8 년 전
Alois Mahdal
49e9513d8b
Update Mkit to v0.0.3
8 년 전
Alois Mahdal
02a42d9d91
Rename to show more naturally on github-like
8 년 전
Alois Mahdal
707991419b
Always use 'raw' with read builtin
Turns out that read without params supports backslash escaping; that is,
`\t` gets translated to tab and `\` at the end of line connects with
next line. Such feature is dangerous as implicit; read should almost
never be used without this parameter.
See [Bash Hackers wiki]1] for more.
[1]: http://wiki.bash-hackers.org/commands/builtin/read#read_without_-r
8 년 전
Alois Mahdal
4fc77b6010
Remove typo in tests
Somehow this did not break anything. The sole fact that the argument was
"ignored" was most bug in itself but we're not going to fix it as the
code gets rewritten any moment now.
8 년 전
Alois Mahdal
d0d0f843d2
Add function justification to the docstring
8 년 전
Alois Mahdal
b2670ce4e8
Strip in-line comments from values
8 년 전
Alois Mahdal
40f9f2a8e3
Parse out only section name for matching
Tolerate spaces before the '[' and anything after the ']'.
Note that strict mode has nothing to do with this; we just need to get
the match right.
8 년 전
Alois Mahdal
f6739a1bd6
Add tests for inline comments
8 년 전
Alois Mahdal
ba48306017
Update TFKit to v0.0.6
8 년 전
Alois Mahdal
36db9cb6b7
Revert "Choose last item with -1 instead of first"
This reverts commit a6dfb1bfd7008d99b64e4a5bde19fbfc2c66ff10.
Turns out that the behavior suggested in original comment is actually
the opposite from PATH, which is not intuitive, and makes it harder to
support for user customizations with inigrep.inigrep__mkpath, at least
as it's used in saturnin.
8 년 전
Alois Mahdal
68943d935f
Give help in case of unknown option
8 년 전
Alois Mahdal
98234cb31d
Add "module.function" notation to usage message
8 년 전
Alois Mahdal
5be6c60e15
Fortify against some bad scenarios
8 년 전
Alois Mahdal
4ee41e39bd
Add example to variable explanations
The 'caller' and 'frontend' may be hard to grasp; example should help.
8 년 전
Alois Mahdal
dfa66198a4
Clarify some parts of docstring
8 년 전
Alois Mahdal
d5c00a5a1f
Fix alignment
8 년 전
Alois Mahdal
8be9f2ee8b
Fix typos
8 년 전
Alois Mahdal
dffd4a31ae
Reduce unnecessary bashisms
8 년 전
Alois Mahdal
7509425aab
Add basic tests for mkusage
8 년 전
Alois Mahdal
b454bf91bf
Reduce debugging for speed
Remove iterated debugs (eg. over FFOO_INIGREP_PATH) and those appearing
as arguments
8 년 전
Alois Mahdal
f5812e4e12
Use more readable logic for delimiter placement
9 년 전
Alois Mahdal
4670bbbca0
Update Mkit to v0.0.2
9 년 전
Alois Mahdal
80e9ea61a1
Rename wrapped test to stand out
9 년 전
Alois Mahdal
83cfe01968
Add tests for nested debug
9 년 전
Alois Mahdal
a5b34cc3f8
Add parentheses to denote debug from function
9 년 전
Alois Mahdal
33f9bb6c3b
Update TFKit to v0.0.5
9 년 전
Alois Mahdal
dfb4d4d8e9
Update API test after recent change
9 년 전
Alois Mahdal
ce4cf35fae
Compose filters as strings and use eval
Seems to be more readable and shows ~15% better performance on full
suite run.
9 년 전
Alois Mahdal
cbbef9c7b1
Make trace actually useful
9 년 전
Alois Mahdal
f0de04b707
Add die() test cases
9 년 전
Alois Mahdal
e48cc26146
Split pretty_basic oracles by type
9 년 전
Alois Mahdal
bc611409e3
Add essential locations to test report header
So that it's easier to check if we are using the right SUT in case it's
both installed and deployed in temporary test dir.
9 년 전
Alois Mahdal
f2358e2866
Fortify against missing parameters
If user does not provide mandatory parameter, `shift 2` will fail but
will not shift anything, resulting in infinite loop.
9 년 전
Alois Mahdal
0b4063a241
Fix and clean up validators
Fixes issue when empty string generated warning. Correct behavior is
that empty string does return with non-zero but does not issue warning
as this is to be commonly used to set default values.
9 년 전
Alois Mahdal
e878eb6bd8
Update Mkit to v0.0.1
9 년 전
Alois Mahdal
73521a9678
Use nicer formatting for HTML
* Do not split text per line,
* use `<pre/>` for main text,
* use `<span />` for debug headers,
* and use more suitable class names.
9 년 전
Alois Mahdal
49c75acc59
Update mkhelp docstring
9 년 전
Alois Mahdal
83289c736e
Do not coerce 'mkhelp' to 'mkusage' style
Not sure why I did it in the first place.
9 년 전
Alois Mahdal
bb41e83baf
Remove unnecessary bitter note
9 년 전
Alois Mahdal
84ec78a90c
Use more appropriate classes
9 년 전
Alois Mahdal
fb719e51e3
Do not force line mode
This disables user from choosing different mode; behave as other
printers.
9 년 전
Alois Mahdal
89b02aacc0
Work properly with '-' or /dev/stdin
/dev/stdin will be treated as normal file, albeit `test -s` would detect
it as non-existent. '-' will cause STDIN to be used as wellm but will
omit header.
9 년 전
Alois Mahdal
ed25fd2305
Add missing docstrings
9 년 전
Alois Mahdal
f2a8112560
Fix usage when _pretty__* called directly
exit does not work as we want in subshell, so we need to exit higher.
9 년 전