• Post Reply Bookmark Topic Watch Topic
  • New Topic

korn script to substring a variable  RSS feed

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If i have a var in ksh

path=/apps/path/script/test.sh

from this i want to get only test.sh

how can i do this
 
Tim Cooke
Marshal
Posts: 4044
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
basename
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!