|
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
[Prev in Thread] | Current Thread | [Next in Thread] |