Longacre logo

Anything you can do, you can do better.

Doing better


  • Pages

    • About Longacre
    • Contact Longacre
    • Library
    • Services
    • What we do
  • Search Blog

    Longacre Internal Search
  • Recent Posts

    • Regenerate parser tables in PLY
    • You're doing it wrong: GNot Invented Here
    • Crossing Over
    • You're doing it wrong: ergonomics
    • Using Doxygen’s \test command with C++
    • Which ‘which’ is which?
    • Add VC “branch” to your prompt
    • Some bash goodness
    • Why not 2 stacks?
    • Things left unsaid…
  • Meta

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Archives

    • April 2012
    • December 2010
    • October 2010
    • August 2010
    • March 2010
    • October 2009
    • June 2009
    • April 2009
    • January 2009
    • September 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • April 2007
    • July 2006
    • April 2006
    • February 2006
    • January 2006
    • November 2005
  • CM Blogs

    • Better SCM Initiative
    • Brad Appleton
    • Frank Schophuizen
    • Robert Cowham’s Weblog
    • SCM – Damon’s Thoughts

Archive for October, 2009

Some bash goodness

October 28th, 2009 by Austin Hastings |

Here’s some bash goodness (well, not really) to make ‘less’ a little bit more useful.
 
less() {
       local -a args
 
       for arg
       do
               case “$arg” in
               *:[[:digit:]]* )
          [...]

Website layout and content copyright © 2005-2010 Longacre, Inc. All rights reserved.