>#!/bin/sh > >IMPPATH="/var/tmp/to_recip" > > > >perl -pi -e 's/\r\n/\n/ ;'
don't be so fancy, make the perl step a separate command using a temp file.
> < $IMPPATH/to_recipients | awk '{ print $1 " ok"}'
awk '{ print $1 " ok"}' $IMPPATH/to_relay_recipients \
> $IMPPATH/to_relay_recipients.map
Len
