Follow

sed -r 's/\ {2,}/,/' accounts.txt # Replace cases of two or more spaces in a file with a comma. For me, this turned a list of accounts with multiple spaces between the full name and emal into a CSV. You have to check the output though.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!