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.
System ProgrammingStorage SoftwareUnix OS

Avatar of undefined
Last Comment
feelmybeat

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
amit_g

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
feelmybeat

elegant solution. thanks!
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes