bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove paths


From: Andreas Schwab
Subject: Re: remove paths
Date: 20 Jul 2001 17:53:27 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.105

address@hidden (Padraig Brady) writes:

|> ?
|> newpath=`echo $PATH | tr : '\n' | uniq | tr '\n' :`

uniq only works on sorted input (it only compares successive lines).

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]