.

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Mir

.

Post by Mir »

...........\\\
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Need some help replacing letters in a set of scripts

Post by WharfRat »

This is what I tried

Code: Select all

cat testline|while read l;do echo "$l" >> newline;sed 's/J/K/g' <<< "$l" >> newline;done
The data I used from your post in testline - I used two lines.
http://pastebin.com/iBdC9wm2


The results in newline
http://pastebin.com/7ykxW2Gh

Good luck :wink:
Locked

Return to “Scripts & Bash”