Alois Mahdal
2b96e2d4da
Add grep to fix missing newline
6 anos atrás
Alois Mahdal
73f7b9178a
Simplify control flow ("return is the best if")
6 anos atrás
Alois Mahdal
d97f34d4a2
Remove double initialization
6 anos atrás
Alois Mahdal
713db80162
Don't stop on first empty line
6 anos atrás
Alois Mahdal
a5ada53506
Pass $Url to dissect(), in line with Shellfu coding style
6 anos atrás
Alois Mahdal
70486bd21e
Use cleaner integer bump syntax
6 anos atrás
Alois Mahdal
f4c9cb7593
Prefer single-quotes where \n is used
6 anos atrás
Alois Mahdal
ae5cb3c414
Don't interpret escape sequences in Bash `read`
6 anos atrás
Alois Mahdal
e974d5c7f4
Wrap main code into main() to avoid globals
6 anos atrás
Alois Mahdal
d5a7a0e657
Update README after bin/mkx change 97ae354
6 anos atrás
Alois Mahdal
6e0c8c3d57
Add bin/hterrs HTTP site checker
6 anos atrás
Alois Mahdal
97ae354df1
Switch FILE an TEMPLATE arguments
With readline's C-., it's convenient to have the name of the new target
be always the last argument.
New syntax follows this convention and still makes the TEMPLATE optional
by using the plus sign as template name decorator.
The effect of the plus-sign use means that having some template names
already starting with plus would bring silly syntax with double-plus
sign. Having two types of templates is not really all that meaningful
so let's solve that by merely removing `+` from the names and using it
merely in its decorator sense.
6 anos atrás
Alois Mahdal
66e29e7c2f
Fix typo
6 anos atrás
Alois Mahdal
12b4849ff9
Use newer mkusage syntax and usage() convention
6 anos atrás
Alois Mahdal
ede1e3e97a
Use arguments to enable debug and verbosity in Shellfu template
6 anos atrás
Alois Mahdal
cfdc288ff7
Mute unavoidable but safe ShellCheck SC1090
6 anos atrás
Alois Mahdal
09984ae9f1
Update description in README.md
7 anos atrás
Alois Mahdal
5c47c5a944
Add overduer, TaskWarrior re-scheduling wrapper
7 anos atrás
Alois Mahdal
ac1c901c7e
Update scripts for Shellfu v0.10+
7 anos atrás
Alois Mahdal
409a21c935
Replace mkexec with mkx (simpler, better...)
7 anos atrás
Alois Mahdal
350dec8086
Add czkrates, a shellfu script to get CZK rates
7 anos atrás
Alois Mahdal
e629c0115d
Update e-mail address
7 anos atrás
Alois Mahdal
a8d1d5c195
Mute well-known ShellCheck warning
7 anos atrás
Alois Mahdal
32ffb47657
Add function docstrings
7 anos atrás
Alois Mahdal
bb42c44988
Add variable docstrings
7 anos atrás
Alois Mahdal
79947d9b36
Separate declaration from initialization
7 anos atrás
Alois Mahdal
35e104843e
Add proper quoting
7 anos atrás
Alois Mahdal
257097e88c
Use read builtin safely
7 anos atrás
Alois Mahdal
463f585235
Update for shellfu v0.9.*
8 anos atrás
Alois Mahdal
5affd21615
Fix typo
8 anos atrás
Alois Mahdal
6c1adc7cd8
Add docstring to local variables
8 anos atrás
Alois Mahdal
ff95c9f9f8
Add shellfu template
8 anos atrás
Alois Mahdal
6c42fdb713
Add commas to ease extending homogenous
8 anos atrás
Alois Mahdal
9d0f4144f5
Add SSL fingerprint check utility
8 anos atrás
Alois Mahdal
d7af9a2566
Fix parameter matching
The original regexes would match inside other arguments;
Eg.
mkexec foo-foo
would match as if -f was presented.
8 anos atrás
Alois Mahdal
f52c1baa2a
Parametrize maximum line numbers and line length
9 anos atrás
Alois Mahdal
436009dc71
Move file reading outside limit function
Makes it easier to see explicitly how date is obtained.
As a bous, it will be also easier to parametrize limits.
9 anos atrás
Alois Mahdal
640cf6b2a9
Add support for reading from file
Hard-coded limits are 3 lines and 80 chars per line. Empty lines are
ignored (not counted to the limit).
File can be '-' for standard input
9 anos atrás
Alois Mahdal
1ad2a096a2
Add IRC notificationn helper
9 anos atrás
Alois Mahdal
d7f92eb618
Add expect filetype
9 anos atrás
Alois Mahdal
77f26611a7
Fortify against space in ffoo install path
like if someone's ever going to do it, right...?
("C:\Program Files\fastfoo" ... ugh...)
9 anos atrás
Alois Mahdal
086412c6a3
Add Fastfoo template for bash
9 anos atrás
Alois Mahdal
ef0e500332
Fortify against missing purpose
(Humanity could use that)
10 anos atrás
Alois Mahdal
1cf703e750
Avoid useless warning if purpose was not provided
10 anos atrás
Alois Mahdal
18141bd1ab
Fix double declaration
10 anos atrás
Alois Mahdal
3cf0628080
Update usage line
10 anos atrás
Alois Mahdal
c477c6a043
Change default munber of translations to 20
10 anos atrás
Alois Mahdal
7c4460713c
Update and clean up docs
More truth, less BS.
10 anos atrás
Alois Mahdal
6f2b660b7f
Do not edit the file by default
This also means -E is useless
10 anos atrás
Alois Mahdal
f28c1ebb31
Fix whitespace error in template
10 anos atrás