Forum rules
Before you post please read how to get help


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

Last edited by Mir on Sat Dec 05, 2015 9:16 pm, edited 1 time in total.
Level 1
Level 1
Posts: 7
Joined: Sat Apr 12, 2014 8:58 pm

Linux Mint is funded by ads and donations.

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

Postby WharfRat on 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.

The results in newline

Good luck :wink:
User avatar
Level 16
Level 16
Posts: 6378
Joined: Thu Apr 07, 2011 8:15 pm

Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 2 guests