Hi All
I am using the following command to get the output like this
home1
pandadk
sandbox
odm
odm_daa
pub_odm_daa_tes t1
run
But it is returning me nothing.
Please advise.
Thanks
Dilip
I am using the following command to get the output like this
home1
pandadk
sandbox
odm
odm_daa
pub_odm_daa_tes t1
run
Code:
echo "/home1/pandadk/sandbox/odm/odm_daa/pub_odm_daa_test1/run"|awk '{split($0,a,"/"); for(i=1; i<=NF; i++) print a[i]}'
Please advise.
Thanks
Dilip
Comment