Appending +4 to zip5

I have a huge list of addresses and I'm preparing a mailing.   We're going to use zip9 but some addresses only have zip5 so I have to append -0000 to those.

for i in `cat zip5.csv`; do echo $i-0000 >> zip9.csv; done

This entry was posted in CLI HOWTOs, HOWTOs. Bookmark the permalink.