On 26 September 2012 19:04, Ralph Corderoy <ra...@inputplus.co.uk> wrote:

> while [[ $f ]]; do ls -ld "$f"; f=${f%/*}; done; ls -ld /


Ralph, that is very cool. It has just gone into my .bashrc as an alias! I
had not come across that bash function ${f%/*} before.

victor


-- 
best regards,

Victor Churchill,
Bournemouth
-- 
Next meeting:  Bournemouth, Tuesday, 2012-10-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:dorset@mailman.lug.org.uk
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to