News for hackers. Stuff that matters.
Re:Console productivity hack: Discover the frequent; then ma... by alextingle on Sunday October 10, 2010 @07:01AM (#1776923)
He should just use Zsh, rather than wasting his time rewriting shell one liners in Perl.
Re:Console productivity hack: Discover the frequent; then ma... by Wilfred on Sunday October 10, 2010 @04:08PM (#1777819)
Fish is also an excellent alternative to the Perl one-liners proposed. Typing in part of a previously entered command then pressing up performs a substring search on the history. It's easy and adapted to your current usage habits.
Re:Console productivity hack: Discover the frequent; then ma... by alextingle on Sunday October 10, 2010 @06:14PM (#1778088)
Zsh does that. Actually even Bash can do that, but its implementation is a bit weak.