<?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 Using xargs with finger in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847064#M825435</link>
    <description>Hello All.&lt;BR /&gt;I am using the following command:&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk '{print $1}' | xargs -i finger {} &amp;gt; users.dat&lt;BR /&gt;&lt;BR /&gt;It is not creating a continuous list of finger commands like I expected. Rather it is creating something like:&lt;BR /&gt;&lt;BR /&gt;Login name: srao:*:1234:14:Srini                     In real life: ???&lt;BR /&gt;Login name: aperez:*:1235:14:Anton                   In real life: ???&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Any ideas why my command would not show the entire output of the finger command?&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;Login name: srao                         In real life: Srini Rao&lt;BR /&gt;Directory: /home/srao              Shell: /usr/bin/ksh&lt;BR /&gt;Never logged in.&lt;BR /&gt;No unread mail&lt;BR /&gt;No Plan.&lt;BR /&gt;&lt;BR /&gt;Thanks for your time,&lt;BR /&gt;Regards,&lt;BR /&gt;C&lt;BR /&gt;</description>
    <pubDate>Mon, 18 Nov 2002 17:19:58 GMT</pubDate>
    <dc:creator>Chris_226</dc:creator>
    <dc:date>2002-11-18T17:19:58Z</dc:date>
    <item>
      <title>Using xargs with finger</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847064#M825435</link>
      <description>Hello All.&lt;BR /&gt;I am using the following command:&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk '{print $1}' | xargs -i finger {} &amp;gt; users.dat&lt;BR /&gt;&lt;BR /&gt;It is not creating a continuous list of finger commands like I expected. Rather it is creating something like:&lt;BR /&gt;&lt;BR /&gt;Login name: srao:*:1234:14:Srini                     In real life: ???&lt;BR /&gt;Login name: aperez:*:1235:14:Anton                   In real life: ???&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Any ideas why my command would not show the entire output of the finger command?&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;Login name: srao                         In real life: Srini Rao&lt;BR /&gt;Directory: /home/srao              Shell: /usr/bin/ksh&lt;BR /&gt;Never logged in.&lt;BR /&gt;No unread mail&lt;BR /&gt;No Plan.&lt;BR /&gt;&lt;BR /&gt;Thanks for your time,&lt;BR /&gt;Regards,&lt;BR /&gt;C&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Nov 2002 17:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847064#M825435</guid>
      <dc:creator>Chris_226</dc:creator>
      <dc:date>2002-11-18T17:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using xargs with finger</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847065#M825436</link>
      <description>You need to tell awk that ":" is the delimiter in /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;cat /etc/passwd | awk -F: '{print $1}' | ...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Mon, 18 Nov 2002 17:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847065#M825436</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2002-11-18T17:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using xargs with finger</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847066#M825437</link>
      <description>That worked like a charm. Forgot that the passwd file was limited by :'s.&lt;BR /&gt;&lt;BR /&gt;Thanks!!!</description>
      <pubDate>Mon, 18 Nov 2002 19:39:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-xargs-with-finger/m-p/2847066#M825437</guid>
      <dc:creator>Chris_226</dc:creator>
      <dc:date>2002-11-18T19:39:54Z</dc:date>
    </item>
  </channel>
</rss>

