gnu sed v4.7 on win10

sed -i.bak '/^<trn:description^>/s/\w\+/\L\u^&/g;
s/^&Amp;\^|Trn:Description/\L^&/g' filename

Delete the ^ escape characters if not on windows.

On Sat, May 9, 2020 at 6:22 AM flywire <flywi...@gmail.com> wrote:

> My bank statements use uppercase text which is harder to read than mixed
> case. Is it possible to reformat the bank description to capitalise every
> word? It could happen as part of the import process on any field selected
> but ideally it would be nice to run on existing transactions without
> generating a changed transaction.
>
> Maybe a sed command on the xml file (?).
>
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
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