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