I'm having difficulty getting the short name of an object which is a child and has a name that is used elsewhere (under a different parent)
I'm using ls -sl -sn
but I get the parent name too and I only want the objects name..
here is what my heirarchy looks like (in Outliner format!):
o Landing
'---o walls
o Bedroom_A
|---o Walls
'---o Bed
o Bathroom
|---o Walls
|---o Bathtub
'---o Sink
(sorry about the lame ascii art representation)
When I select and query the name of Bathroom|Sink using ls -sl -sn
it returns Sink but when I select and query the name of Bathroom|Walls it returns Bathroom|Walls and I JUST want to get Walls
What can i do??
:nathaN