Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl Path Editor for Unix

by scollyer (Sexton)
on Sep 28, 2005 at 14:26 UTC ( #495763=note: print w/ replies, xml ) Need Help??


in reply to Perl Path Editor for Unix

For those interested in a non-Perl-based approach to this problem, I have a set of bash/ksh functions

addpath
delpath
uniqpath
edpath

that allow you to manipulate path variables in various ways. (which are idempotent addition of paths, deletion of paths based on regex match, path uniquification, and path editing via your favourite editor)

They can be downloaded from http://www.netspinner.co.uk/Downloads/pathfunc.tgz

They're in the public domain so you can do what you like with them.

Steve Collyer


Comment on Re: Perl Path Editor for Unix
Re^2: Perl Path Editor for Unix
by Anonymous Monk on Aug 23, 2012 at 17:21 UTC
    http://www.netspinner.co.uk/Downloads/pathfunc.tgz appears to be dead. Any idea where this code lives today?
        Thank you much!
        That one didn't seem to load. But by following links on that page I got to here. Latest available is Dec 10, 2006.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://495763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2014-09-22 00:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls