about summary refs log tree commit diff
path: root/libmaketmpfilefd.html
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-06-28 19:39:47 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-06-28 19:39:47 +0000
commit2222b5020909d4867f10cf72720df36e3483c0de (patch)
tree7a8b56782d895e753e39e3cce1c0237b18915855 /libmaketmpfilefd.html
parentdab40b54733b6f31bc41106dc126e4f387e8bb37 (diff)
downloadnetpbm-mirror-2222b5020909d4867f10cf72720df36e3483c0de.tar.gz
netpbm-mirror-2222b5020909d4867f10cf72720df36e3483c0de.tar.xz
netpbm-mirror-2222b5020909d4867f10cf72720df36e3483c0de.zip
Replace character entity references with plain double quotes
git-svn-id: http://svn.code.sf.net/p/netpbm/code/userguide@2590 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'libmaketmpfilefd.html')
-rw-r--r--libmaketmpfilefd.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmaketmpfilefd.html b/libmaketmpfilefd.html
index baf6be99..587648ad 100644
--- a/libmaketmpfilefd.html
+++ b/libmaketmpfilefd.html
@@ -24,8 +24,8 @@ pm_make_tmpfile(int *         fdP,
 
 <h2>EXAMPLE</h2>
 
-<p>This simple example creates a temporary file, writes &quot;hello
-world&quot; to it, then writes some search patterns to it, then uses
+<p>This simple example creates a temporary file, writes "hello
+world" to it, then writes some search patterns to it, then uses
 it as input to <b>grep</b>:
 
 <pre>
@@ -36,12 +36,12 @@ const char * myfilename;
 
 pm_make_tmpfile_fd(&amp;fdP, &amp;myfilename);
 
-write(fd, &quot;^account:\\s.*\n&quot;, 16);
-fprintf(fd, &quot;^name:\\s.*\n&quot;, 13);
+write(fd, "^account:\\s.*\n", 16);
+fprintf(fd, "^name:\\s.*\n", 13);
 
 close(fd);
 
-asprintfN(&amp;grepCommand, &quot;grep --file='%s' /tmp/infile &gt;/tmp/outfile&quot;);
+asprintfN(&amp;grepCommand, "grep --file='%s' /tmp/infile &gt;/tmp/outfile");
 
 system(grepCommand);