<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get awk to print single quotes character in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585167#M856237</link>
    <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;here you go:&lt;BR /&gt;&lt;BR /&gt;echo hello | awk '{print "'\''" $1 "'\''"}'&lt;BR /&gt;'hello'&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin</description>
    <pubDate>Wed, 26 Sep 2001 09:29:39 GMT</pubDate>
    <dc:creator>Robin Wakefield</dc:creator>
    <dc:date>2001-09-26T09:29:39Z</dc:date>
    <item>
      <title>Get awk to print single quotes character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585166#M856236</link>
      <description>I know the question has been asked many times&lt;BR /&gt;before, but can someone remind me how to get awk to print the single quote character.&lt;BR /&gt;ie. echo string| awk_text resulting in 'string'&lt;BR /&gt;Have tried the usual &lt;BR /&gt;echo string|awk '{print "\'"$1}' combinations&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Ian&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2001 09:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585166#M856236</guid>
      <dc:creator>Ian McClement_1</dc:creator>
      <dc:date>2001-09-26T09:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get awk to print single quotes character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585167#M856237</link>
      <description>Hi Ian,&lt;BR /&gt;&lt;BR /&gt;here you go:&lt;BR /&gt;&lt;BR /&gt;echo hello | awk '{print "'\''" $1 "'\''"}'&lt;BR /&gt;'hello'&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin</description>
      <pubDate>Wed, 26 Sep 2001 09:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585167#M856237</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-09-26T09:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get awk to print single quotes character</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585168#M856238</link>
      <description>Alternatively:&lt;BR /&gt;&lt;BR /&gt;echo hello | awk '{print "\047" $1 "\047"}'&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2001 14:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-awk-to-print-single-quotes-character/m-p/2585168#M856238</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2001-09-26T14:18:48Z</dc:date>
    </item>
  </channel>
</rss>

