<?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: string manipulatoin in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622452#M39010</link>
    <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I believe it's back to Marco's request for more info.  Would you please post what you are trying to do?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darrell</description>
    <pubDate>Thu, 29 Nov 2001 21:37:35 GMT</pubDate>
    <dc:creator>Darrell Allen</dc:creator>
    <dc:date>2001-11-29T21:37:35Z</dc:date>
    <item>
      <title>string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622446#M39004</link>
      <description>I am using command substitution to obtain a user's distinguished name.  In the command I have tried awk and cut  just to get a portion of the dn.  I recieve a correct string if under 75 characters, if 75 or more then the string with awk is dropped at that point or with cut there is a space and the 73 and 74 cahracter is repeated and the rest of the string is returned. Is there a work around to this?</description>
      <pubDate>Thu, 29 Nov 2001 20:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622446#M39004</guid>
      <dc:creator>Unix Administrator_5</dc:creator>
      <dc:date>2001-11-29T20:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622447#M39005</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Could you please post the actual data and the program/shell script here for us to take a look?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2001 20:14:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622447#M39005</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2001-11-29T20:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622448#M39006</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You don't mention what OS version you are running but most awk's have at least a 1024 characters/field limit so you should have no problem using split or substr.&lt;BR /&gt;&lt;BR /&gt;I can absolutely assure that perl can handle this.</description>
      <pubDate>Thu, 29 Nov 2001 20:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622448#M39006</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-29T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622449#M39007</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How about using:&lt;BR /&gt;awk -F: '/userid/ {print $5}' /etc/passwd | awk -F, '{print $1}'&lt;BR /&gt;&lt;BR /&gt;The second awk strips off the location and phone stuff from the gcos field.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 20:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622449#M39007</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T20:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622450#M39008</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk -F: '{print $5}' &lt;BR /&gt;&lt;BR /&gt;this should work.&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Thu, 29 Nov 2001 21:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622450#M39008</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2001-11-29T21:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622451#M39009</link>
      <description>It seems there is a problem with the string I am returning.  It must have a newline character at the 75th position.&lt;BR /&gt;&lt;BR /&gt;Now the question is how do I strip that character out when I process it?</description>
      <pubDate>Thu, 29 Nov 2001 21:24:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622451#M39009</guid>
      <dc:creator>Unix Administrator_5</dc:creator>
      <dc:date>2001-11-29T21:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: string manipulatoin</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622452#M39010</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;I believe it's back to Marco's request for more info.  Would you please post what you are trying to do?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 29 Nov 2001 21:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/string-manipulatoin/m-p/2622452#M39010</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-11-29T21:37:35Z</dc:date>
    </item>
  </channel>
</rss>

