help-bash
[Top][All Lists]
Advanced

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

[Help-bash] basename for n levels


From: Peng Yu
Subject: [Help-bash] basename for n levels
Date: Tue, 9 Jun 2015 23:32:03 -0500

Hi,

The following thread shows for n = 2. Does anybody know what might be
the most efficient and robust way to extract last n levels in bash?

http://stackoverflow.com/questions/8223170/bash-extracting-last-two-dirs-for-a-pathname

-- 
Regards,
Peng



reply via email to

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