But when I want to view say perldoc Pg I can get the output nice and formatted, but when I cat the file, it ocmes out horrible an dunformatted. Is there a program that will clean and format the out put so I can then just email it out? I thought of groff, but that didnt seem to be approprite. Any ideas? Cheers Batesy