On Thu, 2008-09-04 at 17:54 -0400, Moon, John wrote: > Does anyone know the octal code for what vi is showing as "^L"? I tried > "\n\r" & \r\n" but that does not seem to be the same... I am on a UNIX > box... I need the octal code to add to the beginning of first record > written from my perl script... I'm using "write" and "format" and need > ALL headers to be alike... the first is w/out the "^L"... > > Thank you in advance... > > John W Moon > >
It's decimal 12, octal 14. Generally speaking, in ASCII: ^A = 0x1 ^B = 0x2 . . . ^L = 0xC Hope this helps cheers paolino -- Paolo Gianrossi Softeco Sismat S.p.A. - R&D Division via De Marini 1, 16149 Genova Tel: +39 010 6026 332 - Fax: +39 010 6026 350 E-Mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/