Link to home
Start Free TrialLog in
Avatar of feelmybeat
feelmybeat

asked on

Shell script to remove data between special char

I had a giga txt file in this format.
data0|data1|data2|...|data30
data0|data1|data2|...|data30

the string that is between the pipe 15 and 16 (data15) its too big. I would like to leave this into 255 characters. Removing what exceds this lenght only for data15.

Thanks in advace for your help.
ASKER CERTIFIED SOLUTION
Avatar of amit_g
amit_g
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of feelmybeat
feelmybeat

ASKER

elegant solution. thanks!