In my Korn Shell script my argument is : /HomeDirectory/reports/filename.ps
How can I extract from this argument only the directory without filename and extension ?
Last edited by faubertr; June 3rd, 2003 at 07:25 AM.
A bit more specific please. What language are you using?
Read the man page for basename(1).
Unix -Hp Directory.
Thanks for the help and the answer is :
not exactly what's showing in examples from the man page.