Hi,
I have a scenario, where I have the input in Filename.txt
S|ABC|GB
S|ABC|TS
Output should be like
'GB','TS'
So,I written following UNIX command to get the above output;
grep "S|ABC" Filename.txt | cut -d'|' -f3 | xargs | sed "s/[^ ][^ ]*/'&',/g" | sed 's/,$//'
I want to call the above command in BODS SCRIPT. Is it can be accomplished?
Kindly show me some light on it.
Thanks