fprint back slash to UNIX file

P

PolyPusher

Guest
Hello,

How do I fprint a back slash to a UNIX file.
For example:

\: Cat

I can do:

/:Cat

Thank you in advance,
Eric
 
PolyPusher <eric.d.fitzsimmons@gmail.com> writes:

Hello,

How do I fprint a back slash to a UNIX file.
To put a back slash in a string, double it. For instance

$ skill
(printf "\\x\n")
\x
t

--
Jean-Marc
 

Welcome to EDABoard.com

Sponsor

Back
Top