[NTLUG:Discuss] bash to perl

Wrenn, Bobby J. Bobby.Wrenn at banctec.com
Tue Feb 19 16:48:38 CST 2002


I have the following working but I need to use perl instead of sed. Is that
possible or do I not understand what I am asking?

#!/bin/bash
sed 's/[PS][CV][0-9]*X[0-9]*X[0-9]*[aA-zZ]*/Yes/g' sedtest.csv >
sedyestest.csv

I need to do this so I can have a Window$ user mangle the files. I can
install perl on his machine.

TIA
Bobby Wrenn
Sr. Service Planner
BancTec, Inc.
972.450.7832 




More information about the Discuss mailing list