UNIX shell tools

U

Ulli Horlacher

I have written some UNIX shell tools which substitute or extend the
classical tools:

http://fex.rus.uni-stuttgart.de/fstools/

For example fpg is a grep which accepts perl regexp.
As a perl programmer, I am always confused which regexp syntax other
programs have. I want perl regexps everywhere :)

My own most used tools are:

l list files
clp command line perl
fpg perl grep
zz generic clipboard
xx generic internet clipboard

Maybe you are interested.

--
Ullrich Horlacher Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK E-Mail: (e-mail address removed)-stuttgart.de
Universitaet Stuttgart Tel: ++49-711-68565868
Allmandring 30a Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
 
D

Dr.Ruud

I have written some UNIX shell tools which substitute or extend the
classical tools:

http://fex.rus.uni-stuttgart.de/fstools/

For example fpg is a grep which accepts perl regexp.
As a perl programmer, I am always confused which regexp syntax other
programs have. I want perl regexps everywhere :)

Many greps support -P (for PCRE), but since 'ack' I hardly ever use grep
anymore.

For example, to find issues in a full code base:

ack -a '^\s*return [^!(]\S* or\b'

which with grep would (be slow and) look like:

grep -rP '^\s*return [^!(]\S* or\b' .

- - - - - - - - - - - - - - - - - - - - - - - - - - -

To install ack:

cpan App::Ack

http://beyondgrep.com/install/

- - - - - - - - - - - - - - - - - - - - - - - - - - -

For speed, I also use 'git grep' a lot.

git grep -P '^\s*return [^!(]\S* or\b'

https://www.google.co.uk/search?q="git+grep"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,836
Messages
2,569,748
Members
45,545
Latest member
rapter____0

Latest Threads

Top