Why not this: awk "BEGIN { print \"'\" } " Yes, I've tried it, and it does work [and it's simpler than the other suggestions]. <standard disclaimer> Ihor Kinal att!cbnewsh!ijk