I used a script in wiki to create a zmprov file to migrate a password. The file looks like this:-


ma anthony@medic.xxx.edu.my userPassword '{crypt}$1$$zJPUhyStfGSV9o8lf.tAa0'
ma aneip@medic.xxx.edu.my userPassword '{crypt}$1$$xzLdYyir1/ZNdxKT.mAa2/'

When I try to run the file through zmprov there, the command will be split to a new line.. something like this

ma anthony@medic.xxx.edu.my userPassword '{crypt}$1$
$zJPUhyStfGSV9o8lf.tAa0'
ma aneip@medic.xxx.edu.my userPassword '{crypt}$1$
$xzLdYyir1/ZNdxKT.mAa2/'

I open the file through vi, then I can see there are special character ^A after second $ in the crypt. This special character force the command to split into 2. How can I escape this character so it's can feed as 1 line to zmprov?

About 70% of line have this ^A character.