Home » Infrastructure » Unix » Fields separated by Pipe needs to be Reformatted (AIX,KSH)
Fields separated by Pipe needs to be Reformatted [message #638300] Tue, 09 June 2015 06:09 Go to previous message
Asfakul
Messages: 43
Registered: July 2014
Member
Hi All,

Hope all is well. I have a little problem to share.

I have a file which contains lines formatetd like JOHN|DOE|2015-06-06
MAD|MAX|2014-01-01

I want to reformat these lines like JOHN,DOE,06/06/2015
MAD,MAX,01/01/2014

I can do this using multiple steps , is it possbile to do in one go? Like using regular expression

Thanks for help!

 
Read Message
Read Message
Previous Topic: /u01 file system size filling up
Next Topic: asvc_t, wsvc_t values from iostat command output
Goto Forum:
  


Current Time: Fri Apr 19 17:41:06 CDT 2024