Re: Looking for a multiple editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This sounds like a job for sed.
#!/bin/ksh

for i in `ls files.*`
do
cat $i | sed -e "s/Mike/Joe/g" > /tmp/file$$
mv /tmp/file$$ $i
done


On Wed, Mar 30, 2022 at 09:43:41AM -0500, Linux for blind general discussion wrote:
> I have a number of texts in which I wish to make alterations that are the same for all of them. I think that there is a linux program in which I can list the alterations and them have them made.
> but I can't remember what it is called. Please refresh my memory.
> 
> thanks,
> John
> 
> -- 
> John J. Boyer
> Email: john.boyer@xxxxxxxxxxxxxxxxx
> website: http://www.abilitiessoft.org
> Status: Company dissolved but website and email addresses  live.
> Location: Madison, Wisconsin, USA
> Mission: developing assistive technology software and providing STEM services 
>         that are available at no cost
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/blinux-list

-- 
Rudy Vener
Website: http://www.rudyvener.com
Twitter: https://twitter.com/RudySalt

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]