[ProgClub programming] Announcing the base() shell function

Jedd Rashbrooke jedd.rashbrooke at gmail.com
Fri Jun 21 06:47:03 AEST 2019

On Thu, 20 Jun 2019 at 20:43, John Elliot V | ProgClub <jj5 at progclub.org>

> ///  the base() function which handles that and more ...

 Ah yes, the wildly popular subversion.

 So you've actually re-written longer, potentially buggier, harder to
maintain, backwards incompatible versions of two lines, that could be
wrapped into a single line if desperately need, if any of: performance,
elegance, completeness, readability, robustness really were your priorities.

 alias foo="cd `git rev-parse --shot-toplevel`"
 alias bar="cd `svn --show-item wc-root`"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.progclub.org/pipermail/programming/attachments/20190621/f5d61bb8/attachment.html>

More information about the programming mailing list