I use pss: https://pypi.python.org/pypi/pss "Tool for grepping through source code".
Richard On 4 June 2013 15:14, Noon Silk <[email protected]> wrote: > Thanks Sam, good tip, I didn't think of doing this! > > And anyway, as if people are using alias's for tasks that should be > automated say in their text editor or build system ... > > As for pygrep, is there some reason people are not using ack-grep? > > > On Tue, Jun 4, 2013 at 2:52 PM, Sam Watkins <[email protected]> wrote: > >> > pyc files >> >> I simply find it's annoying having to look at them. Don't like my `ls` >> to be 50% noise. Same problem with .o files in C. >> >> Might be nicer if they were hidden files on *nix, or stored elsewhere. >> I could wrap or hack an ls for my own use, which treats them as hidden >> files. >> >> >> Speaking of aliases, there are many gotchas and limitations with aliases >> and shell functions. I write short shell scripts, each in a separate >> file. >> I can use them from other scripts as needed, I can write them in any >> language. There's rarely if ever any noticable performance hit. >> >> Even my `ls` aliases are little shell scripts, e.g. my `ll`: >> >> #!/bin/sh >> ls -ltcr --color=tty "$@" >> _______________________________________________ >> melbourne-pug mailing list >> [email protected] >> http://mail.python.org/mailman/listinfo/melbourne-pug >> > > > > -- > Noon Silk > > Fancy a quantum lunch? https://sites.google.com/site/quantumlunch/ > > "Every morning when I wake up, I experience an exquisite joy — the joy > of being this signature." > > _______________________________________________ > melbourne-pug mailing list > [email protected] > http://mail.python.org/mailman/listinfo/melbourne-pug > >
_______________________________________________ melbourne-pug mailing list [email protected] http://mail.python.org/mailman/listinfo/melbourne-pug
