If you have perl installed, which is the case if you are fetching online 
prices, and if it is saved as a XML formatted one then you can use Perl one 
liner as follows in a command line:

#perl -pi -e 's/Tata Steel/Tata Steel Inc./g' 
<full_path_to_gnucash_file_dir_and_name>

This is likely to be far safer than actually editing it in a text editor. You 
may have to adjust single quote to double quote if on Windows OS. This is known 
as perl pie ... in case if there is any interest on quick RFM:

http://technosophos.com/2009/05/21/perl-pie-if-you-only-learn-how-do-one-thing-perl-it.html
 


-----Original Message-----
From: flywire <[email protected]> 
Sent: Sunday, April 20, 2025 6:13 AM
To: Shashi Gupta <[email protected]>
Cc: Gnucash Users <[email protected]>
Subject: [GNC] Global replacement of the name of Payee (Description)

Open xlm file in a text file editor and do a search and replace all.

Regards


_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to