tr '\015' '\012' < acl-update.txt > vi-happy-output.txtMy uber-geek friend just explained, after looking at a hex dump of the original file, that there are dos style line feeds (ASCII 13 or \015 or 0x0d), that should have been translated into (ACSII 10, \012 or 0x0a). TextWrangler and TextEdit are smart enough to do this automagically, but vi needs a hand. Hence the tr command above.
Now I need to learn more about tr and the magical world of hex dumps.
Cool!
no subject
Date: 2006-04-19 11:20 pm (UTC)no subject
Date: 2006-04-19 11:26 pm (UTC)Mind you, I still haven't ruled out PEBKAC, but as least I have a working solution, now.