On 12/29/25 15:38, Jerry Criswell (JC) wrote:
> DuckDuckGo was unable to verify sender identity
> 
> I am in the process of setting up GnuCash from scratch.  I would like to
> print a list of expense accounts to see if I have inadvertently created
> duplicates.  One suggestion was to export to an HTML file, but I find no
> option for that. So I exported to a csv file and that is virtually
> unreadable. How do I print a usable list of expense accounts?
> 
> PS: All balances are zero if you need to know.
> 
> JC
I would export the CSV, and run it through something to extract the 
account names. On Linux that would probably be:

awk -F, '$1=="EXPENSE" { print $2 }' accounts.csv

I don't have a Windows computer to test this, but in PowerShell you 
could try:

Import-Csv accounts.csv |
   Where-Object { $_.Type -eq "EXPENSE" } |
   Select-Object -ExpandProperty "Account Name"



_______________________________________________
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