.

Forum rules
Before you post please read how to get help
Mir
Level 1
Level 1
Posts: 7
Joined: Sat Apr 12, 2014 8:58 pm

.

Postby Mir » Sat Jun 14, 2014 1:22 am

...........\\\
Last edited by Mir on Sat Dec 05, 2015 9:16 pm, edited 1 time in total.

User avatar
WharfRat
Level 16
Level 16
Posts: 6775
Joined: Thu Apr 07, 2011 8:15 pm

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

Postby WharfRat » Sun Jun 15, 2014 1:15 am

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:
Image


Return to “Scripts & Bash”

Who is online

Users browsing this forum: No registered users and 2 guests