HOME |
GIT Overview |
Script-Archive:
(docs) :
(wiki) :
(git) |
...
Peter's Script-Archive - Minor List Processing Tools
Some additional small tools for lists and pipes.
Commands
Git
View of this section / Download
- ddnonblock, ddsponge (not actually dd, just mnemonically named commands;
GNU dd: use both BS=HUGENUMBER and OBS to force acting like a sponge)
- echo2cat (abusing cat0 to turn command arguments into input lines)
- line.print, line.replace: combined with grep/grep -v
the scripts allow basic line-editing using single line commands,
with the strings being a mostly verbatim part of the command arguments,
a history of the commands is already part-way to creating an UNDO log
for basic editing actions.
- a modified version of pfind (find with regex)
- pipe.exec: pipe helper
- set return code according to pipe contents (data/no data/grep)
- conditionally execute a command depending on contents (data/no data/grep) and return the programs return code
- tempfile wrapper: copy stdin to tempfile, edit non-stdin-friendly programm arguments and invoke it as part of a pipe (tempfile substituion a la xargs -I{})
- pipe.select.curses, pipe.select.gtk2 (examples to select lines within pipes)
- range (yet another command to print numeric ranges, with/without leading 0)
- randomecho, randomcat
- revdatesort
- sort.ip4
- teefork (slightly modified version of the old process-fork-capable perl tee script; forking a pipe into multiple short pipes)
- tailing files: USR1tail, busythreadtail
See also:
- f2a
in 00_lib.func: a shell function reading a file into an array.
- pipe.vim (aka vimpipe) , vimless to run vim in the middle of a pipe or
as a less replacement. Both are in the vim section.
HOME |
GIT Overview |
Script-Archive:
(docs) :
(wiki) :
(git) |
...
jakobi(at)acm.org, 2009-07 - 2012-03