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 years ago
Alois Mahdal
f52c1baa2a
Parametrize maximum line numbers and line length
9 years ago
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 years ago
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 years ago
Alois Mahdal
1ad2a096a2
Add IRC notificationn helper
9 years ago
Alois Mahdal
d7f92eb618
Add expect filetype
9 years ago
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 years ago
Alois Mahdal
086412c6a3
Add Fastfoo template for bash
9 years ago
Alois Mahdal
ef0e500332
Fortify against missing purpose
(Humanity could use that)
10 years ago
Alois Mahdal
1cf703e750
Avoid useless warning if purpose was not provided
10 years ago
Alois Mahdal
18141bd1ab
Fix double declaration
10 years ago
Alois Mahdal
3cf0628080
Update usage line
10 years ago
Alois Mahdal
c477c6a043
Change default munber of translations to 20
10 years ago
Alois Mahdal
7c4460713c
Update and clean up docs
More truth, less BS.
10 years ago
Alois Mahdal
6f2b660b7f
Do not edit the file by default
This also means -E is useless
10 years ago
Alois Mahdal
f28c1ebb31
Fix whitespace error in template
10 years ago
Alois Mahdal
f8cb2b28af
Implement purpose-based templates
10 years ago
Alois Mahdal
93bf2c3b4e
Do not launch editor by default
10 years ago
Alois Mahdal
3bb78fb7ea
Better way to parse args
10 years ago
Alois Mahdal
19c9f65823
Create shell script by default
10 years ago
Alois Mahdal
0b7a973dbe
List tests by Nose for Nose
10 years ago
Alois Mahdal
0c26d2e015
Use conservative paths to shell bins
10 years ago
Alois Mahdal
15927055a1
Naively quote original vim arguments
We assume no std* / fd* hocus-pocus
11 years ago
Alois Mahdal
0fefbd0721
Revert stamps even if vim failed
11 years ago
Alois Mahdal
bad26a7836
Changed to filter-like (stdin/stdout) behavior
11 years ago
Alois Mahdal
9a425471a1
Typo in examples
11 years ago
Alois Mahdal
cf707b10d3
Added doc for pfile
11 years ago
Alois Mahdal
ffc39d93c2
Added doc for bin/vim-bx
11 years ago
Alois Mahdal
530d460686
Sorted items in README alphabetically
11 years ago
Alois Mahdal
059711b4c8
Updated README after bin rename (5fd60d8)
11 years ago
Alois Mahdal
e06f8326bf
Added pfile: store STDIN in a temporary file and pass it to `file`
11 years ago
Alois Mahdal
869be33810
Added vim-bx, a vim wrapper for bloxsom-like scenarios.
If the edited path matches certain pattern, timestamp is saved and
restored after the edit.
11 years ago
Alois Mahdal
5fd60d83e6
Do not use filename extensions in bin/
They are unnecessary, distracting and cause ugliness on command line.
11 years ago
Alois Mahdal
b708dccea7
Do a backup when forcing new file
11 years ago
Alois Mahdal
ca04c32a8d
Updated with info about passing callable
11 years ago
Alois Mahdal
673022df4b
Updated to mention the Python API
11 years ago
Alois Mahdal
fbdde0a4b5
Allow passing subroutine/function instead of i or tag.
If callable is passed, it will be called (without arguments) and
the value will be used instead.
11 years ago
Alois Mahdal
99177ff35b
Fixed typo
11 years ago
Alois Mahdal
3c1ec1e9e0
Made Python module more pythonic
11 years ago
Alois Mahdal
c639e765db
Updated usage line with -f flag
11 years ago
Alois Mahdal
3514311b53
Fixed case of /0+/ filename
11 years ago
Alois Mahdal
c07ffdfc42
Merge branch 'master' of github.com:AloisMahdal/minions
11 years ago
Alois Mahdal
0e3d4a12ab
Vertical beautification
11 years ago
Alois Mahdal
30149d7058
Added -f argument to force file creation (rewrite)
11 years ago
Alois Mahdal
91b7fe20d2
Grammar
11 years ago
Alois Mahdal
a328abc2c7
Typo
11 years ago
Alois Mahdal
09b972cb9b
Fixed up markup
11 years ago
Alois Mahdal
8f24cb46d4
Updated doc according to --long option (56efdff)
11 years ago
Alois Mahdal
c5f065fc38
Confiured for log rotation using logrotate
11 years ago
Alois Mahdal
56efdffc37
Implemented --long
Warning: now short for `--lines` is `-n`, not `-l`, which is taken by
`--long`. The idea is to make it resemble `-l` in `-ls -l` (although
the real meaning for `ls` is somewhat different).
11 years ago