Jump to content

Unix experts okasari ravali


Recommended Posts

Posted

requirement enti ante oka file lo 3 columns unnai delimited by ;. I have to replace them with | . problem enti ante data lo kuda ; undi

 

example : a;"b;c;d";e ani data undi naku after a and before e unna semicolon needs to be replaced with pipe. quotes lo unna data lo ; replace kakudadhu. any suggestions?

Posted
Just now, Idassamed said:

Sed try chesava ?

yep sed lo ee filter ela evvalo ardam kavatla

Posted
2 minutes ago, nuzvid_mamidikaya said:

requirement enti ante oka file lo 3 columns unnai delimited by ;. I have to replace them with | . problem enti ante data lo kuda ; undi

 

example : a;"b;c;d";e ani data undi naku after a and before e unna semicolon needs to be replaced with pipe. quotes lo unna data lo ; replace kakudadhu. any suggestions?

Sed command vadi cheyavachu but i never tried your requirement. I had a different req

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...