Below is my output:
ibm03:/home/root (1038)#find /ibm03usr1 -name _HOLD_* -type d
/ibm03usr1/ud/fastcs/_HOLD_
/ibm03usr1/ud/fast.practice/_HOLD_
/ibm03usr1/ud/demo/demo/_HOLD_
/ibm03usr1/ud/demo/_HOLD_
/ibm03usr1/ud/bin/demo/_HOLD_
I would like the output to be:
ibm03:/home/root (1038)#find /ibm03usr1 -name _HOLD_* -type d
/ibm03usr1/ud/fastcs/_HOLD_/
/ibm03usr1/ud/fast.practice/_HOLD_/
/ibm03usr1/ud/demo/demo/_HOLD_/
/ibm03usr1/ud/demo/_HOLD_/
/ibm03usr1/ud/bin/demo/_HOLD_/
In othere words, I need to add a trailing "/" to the last line of each entry. I'm certain this can be done with SED, I just cant figure it out.
Thanks,
Shane
ibm03:/home/root (1038)#find /ibm03usr1 -name _HOLD_* -type d
/ibm03usr1/ud/fastcs/_HOLD_
/ibm03usr1/ud/fast.practice/_HOLD_
/ibm03usr1/ud/demo/demo/_HOLD_
/ibm03usr1/ud/demo/_HOLD_
/ibm03usr1/ud/bin/demo/_HOLD_
I would like the output to be:
ibm03:/home/root (1038)#find /ibm03usr1 -name _HOLD_* -type d
/ibm03usr1/ud/fastcs/_HOLD_/
/ibm03usr1/ud/fast.practice/_HOLD_/
/ibm03usr1/ud/demo/demo/_HOLD_/
/ibm03usr1/ud/demo/_HOLD_/
/ibm03usr1/ud/bin/demo/_HOLD_/
In othere words, I need to add a trailing "/" to the last line of each entry. I'm certain this can be done with SED, I just cant figure it out.
Thanks,
Shane