Article View: comp.text
Article #1705Re: How do you display a back-slash in nroff?
From: Jonathan A. Chandross
Date: Wed, 08 Aug 1990 00:55
Date: Wed, 08 Aug 1990 00:55
18 lines
1059 bytes
1059 bytes
rbp@investor.pgh.pa.us (Bob Peirce #305)
> I have read the manual. I have experimented with .ec and with
> escaping one back-slash with one to many with no success.
> Is there a way?
You bet. It's even in the manual. (Honest!) Just use:
\e
this prints the escape character (normally a backslash). For instance,
printf("Hello World!\en");
You could also do something evil like:
\\
in your text, but this is generally a bad idea.
Jonathan A. Chandross
Internet: jac@paul.rutgers.edu
UUCP: rutgers!paul.rutgers.edu!jac
Technical Details
Message-ID:
<Aug.7.20.55.43.1990.2452@paul.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker!apple!rutgers!aramis.rutgers.edu!paul.rutgers.edu!jacReferences:
<1990Aug7.190300.8450@investor.pgh.pa.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker!apple!rutgers!aramis.rutgers.edu!paul.rutgers.edu!jac From: jac@paul.rutgers.edu (Jonathan A. Chandross) Newsgroups: comp.text Subject: Re: How do you display a back-slash in nroff? Message-ID: <Aug.7.20.55.43.1990.2452@paul.rutgers.edu> Date: 8 Aug 90 00:55:43 GMT References: <1990Aug7.190300.8450@investor.pgh.pa.us> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 18