I have also not used p option in cut commad. Where did you get this command?:
Quote
Cut –d “:” –f 1,3p FILENAME
I dont see any confusion here. // cut -d ":" -f1,3 file // will print first and third fieldfrom the lines in a file where the words are seperated by ":".
You can use any delimeter. If you dont specify a delimeter or seperator, tab is used by default.
You can use spacebar also as delimeter.
Is there any requirement for ur script, give details, Will try to resolve.
Thanks.