Am 11.01.24 um 20:53 schrieb Rich Shepard via Python-list:
On Thu, 11 Jan 2024, Piergiorgio Sartor via Python-list wrote:Why not to use bash script for all?Piergiorgio,That's certainly a possibility, and may well be better than python for thistask. Thank you, Rich
awk '/@/ {print >>"emails.txt";next};NF{print >>"salutation.txt"}' input.txt
SCNR ;-) -- https://mail.python.org/mailman/listinfo/python-list