Looking for a multiple editor
Linux for blind general discussion
blinux-list at redhat.com
Wed Mar 30 15:11:20 UTC 2022
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 at abilitiessoft.org
> 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 at redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
--
Rudy Vener
Website: http://www.rudyvener.com
Twitter: https://twitter.com/RudySalt
More information about the Blinux-list
mailing list