Commit Graph

345 Commits

Author SHA1 Message Date
Gabriel A. Devenyi
327cba75c9 Add magic variable that stores the full command line invocation (#99)
Provides variable __invocation which contains the command line
with proper separators maintained.

Adapted from https://stackoverflow.com/a/36625791
2018-06-06 15:28:55 +02:00
Manuel Streuhofer
ee869a9584 templater.sh: use perl if available (#98) 2018-01-25 10:35:53 +01:00
Manuel Streuhofer
f57e37eb68 fix templater.sh and associated test
templater.sh now escapes the delimiter it uses for its sed magic within
the environment variable content.

the associated test uses a properly cleaned up temporary file instead of
explicitly rm-ing its own mess.
2018-01-23 22:02:57 +01:00
A. G. Madi
2463cd6cc9 Allow counting how many times an argument is used. (#96)
An example of use would be the passing in of multiple -v options in some utilities to increase verbosity.
2018-01-22 15:21:48 +01:00
Manuel Streuhofer
860a7de899 shellcheck lead me astray 2018-01-21 23:19:16 +01:00
Manuel Streuhofer
236e3c7eca fix shellcheck errors
shellcheck 0.4.7 seems to have come up with new checks and now complains
about yet more possible issues. fixed them all as good as i could.
2018-01-21 23:02:03 +01:00
Kevin van Zonneveld
cf7d25e3d1 Build plz 2017-08-22 10:25:59 +02:00
Izaak "Zaak" Beekman
d25d6a0106 Merge pull request #93 from gmasse/fix_templater
templater.sh: Update Regexp to not match ${_} for replacement
2017-08-21 09:29:42 -04:00
Germain Masse
9b7a9ccd17 Fix Travis CI failure on src/templater.sh 2017-08-21 10:01:59 +02:00
Germain Masse
38622845a8 Update Regexp to not match ${_} for replacement 2017-08-21 09:34:44 +02:00
Izaak "Zaak" Beekman
0289532f18 Merge pull request #92 from gmasse/auto-color-screen
Enable color in screen or tmux
2017-08-14 15:14:29 -04:00
Germain Masse
2fcd0a765b
Fix typo in FAQ: 'Default:' to 'Default=' 2017-08-14 20:37:12 +02:00
Germain Masse
48848fd17c
Cange egrep to grep -E in templater.sh script to comply with ShellCheck 2017-08-14 20:35:18 +02:00
Germain Masse
84685a451b
Change egrep to grep -E in acceptance test script to comply with ShellCheck 2017-08-14 18:29:21 +02:00
Germain Masse
12ea4dd75f
Enable color in screen or tmux 2017-08-13 21:08:59 +02:00
Kevin van Zonneveld
63c402912a Upgrade Lanyon to v0.0.92 2017-07-06 11:39:50 +02:00
Kevin van Zonneveld
0c2a580041 Set new bot token 2017-05-12 11:31:55 +02:00
Giovanni Saponaro
eac5ad8022 Fix typos in megamount (#89) 2017-05-04 13:48:18 +02:00
Kevin van Zonneveld
9f3aa6ead9 Upgrade Lanyon to v0.0.86 2017-05-02 09:56:04 +02:00
Kevin van Zonneveld
c19c08a775 Upgrade Lanyon to v0.0.85 2017-04-29 14:45:41 +02:00
Kevin van Zonneveld
a0e9bb0c05 Upgrade Lanyon to v0.0.84 2017-04-27 15:16:03 +02:00
Kevin van Zonneveld
d134dfd145 Upgrade Lanyon to v0.0.83 2017-04-21 14:00:37 +02:00
Kevin van Zonneveld
f6996a1595 Upgrade Lanyon to v0.0.82 2017-04-20 10:22:53 +02:00
Kevin van Zonneveld
1c672bf8cb Upgrade Lanyon to v0.0.81 2017-04-06 14:38:50 +02:00
Kevin van Zonneveld
87545c8f9a Fix deploys 2017-04-06 13:18:15 +02:00
Kevin van Zonneveld
111a00e1f0 Upgrade Lanyon to v0.0.78 2017-04-06 12:56:19 +02:00
Kevin van Zonneveld
6f0cfaddb1 Upgrade Lanyon to v0.0.73 2017-04-05 12:39:13 +02:00
Kevin van Zonneveld
5f815c7f98 Upgrade Lanyon to v0.0.72 2017-04-05 12:05:38 +02:00
Kevin van Zonneveld
c4429de7d5 Upgrade Lanyon to v0.0.70 2017-04-05 11:23:48 +02:00
Kevin van Zonneveld
d35fa94ffc Upgrade Lanyon to v0.0.65 2017-03-23 15:34:43 +01:00
Kevin van Zonneveld
7759cba46f Upgrade Lanyon to v0.0.64 2017-03-23 14:56:33 +01:00
Kevin van Zonneveld
efd984e01d Upgrade Lanyon to v0.0.63 2017-02-22 11:04:34 +01:00
Kevin van Zonneveld
ef66310b27 Upgrade Lanyon to v0.0.62 2017-02-19 11:42:43 +01:00
Kevin van Zonneveld
3e9afe28c3 Upgrade Lanyon to v0.0.58 2017-02-15 18:41:37 +01:00
Kevin van Zonneveld
ef04df597b Fix diff 2017-02-15 09:49:46 +01:00
Kevin van Zonneveld
e7e85ddff3 Upgrade to lanyon@0.0.55 2017-02-15 09:49:36 +01:00
Kevin van Zonneveld
b2326bf75e Build plz 2017-02-15 09:15:27 +01:00
Izaak Beekman
9b86dcced8 Merge pull request #87 from kvz/fixup-after-230
fixup example.sh like 2.3.0 main.sh
2017-02-14 14:32:21 -05:00
Izaak Beekman
2bbf6eed2e
Merge branch 'master' into fixup-after-230 2017-02-14 12:24:02 -05:00
Kevin van Zonneveld
ff37895ea4 SCROLEX_MODE=passthru 2017-02-14 17:17:10 +01:00
Kevin van Zonneveld
39e0607bcb Merge branch 'master' into fixup-after-230 2017-02-14 17:09:32 +01:00
Kevin van Zonneveld
748fdcfab3 Upgrade lanyon@0.0.54 2017-02-14 16:00:48 +01:00
Kevin van Zonneveld
c52a73598e Move to install 2017-02-14 15:42:29 +01:00
Kevin van Zonneveld
755eb0d02f bc is not really needed 2017-02-14 15:24:34 +01:00
Kevin van Zonneveld
b1861f9fab Fix chicken/egg with Lanyon install 2017-02-14 15:12:04 +01:00
Kevin van Zonneveld
b280139595 Upgrade lanyon and don't install it in every single setup 2017-02-14 15:00:34 +01:00
Izaak Beekman
cb29b2f984
Restore @mstreuhofer's changes that I clobbered 2017-02-10 19:00:00 -05:00
Izaak Beekman
2d5506cb36
Perform syntax checking with all available bashes
Add tests to help catch bash4-isms and ensure syntax is checked with
 all bashes on PATH in a given system.
2017-02-10 18:58:36 -05:00
Izaak Beekman
986191210a
Update FAQ website instructions
`npm run start` didn't work for me... I had to get yarn and do `yarn
 install` first. I'm guessing this will be true for others.
2017-02-10 18:58:36 -05:00
Izaak Beekman
0d1f488365
Fix shellchk and show usage for new magic var
Update acceptance tests
2017-02-10 18:58:35 -05:00