<?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: Command &amp;quot; $@&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922124#M286080</link>
    <description>it sort of depends on the shell your using.&lt;BR /&gt;&lt;BR /&gt;but, in the korn shell, it stands for the expandsion of the positional parameters.  ksh expands the positional parameters starting with $1, separating them with space characters.&lt;BR /&gt;&lt;BR /&gt;"$@" is equivalent to "$1" "$2" up to "$n" where n is the value fo $#.&lt;BR /&gt;&lt;BR /&gt;where there are no positional parameters, ksh expands "$@" to an unquoted null string&lt;BR /&gt;&lt;BR /&gt;and you can not initalize or assign vaules to the variable @</description>
    <pubDate>Sun, 07 Jan 2007 22:38:27 GMT</pubDate>
    <dc:creator>curt larson_1</dc:creator>
    <dc:date>2007-01-07T22:38:27Z</dc:date>
    <item>
      <title>Command " $@"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922123#M286079</link>
      <description>what is the meaning of $@?&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Sun, 07 Jan 2007 19:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922123#M286079</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2007-01-07T19:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Command " $@"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922124#M286080</link>
      <description>it sort of depends on the shell your using.&lt;BR /&gt;&lt;BR /&gt;but, in the korn shell, it stands for the expandsion of the positional parameters.  ksh expands the positional parameters starting with $1, separating them with space characters.&lt;BR /&gt;&lt;BR /&gt;"$@" is equivalent to "$1" "$2" up to "$n" where n is the value fo $#.&lt;BR /&gt;&lt;BR /&gt;where there are no positional parameters, ksh expands "$@" to an unquoted null string&lt;BR /&gt;&lt;BR /&gt;and you can not initalize or assign vaules to the variable @</description>
      <pubDate>Sun, 07 Jan 2007 22:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922124#M286080</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2007-01-07T22:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Command " $@"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922125#M286081</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the special meaning of "$@" is, that it keeps embedded spaces (or other characters of $IFS) in its usage.&lt;BR /&gt;&lt;BR /&gt;myscript a 'b c' 'd e f'&lt;BR /&gt;will report (echo $#) three parameters.&lt;BR /&gt;&lt;BR /&gt;Using a&lt;BR /&gt;myotherscript $*&lt;BR /&gt;in 'myscript' will send six parameters to 'myotherscript', while&lt;BR /&gt;&lt;BR /&gt;myotherscript "$@"&lt;BR /&gt;will keep the original three.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Mon, 08 Jan 2007 08:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922125#M286081</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2007-01-08T08:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Command " $@"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922126#M286082</link>
      <description>hi manuales,&lt;BR /&gt;&lt;BR /&gt;see also &lt;A href="http://www.injunea.demon.co.uk/pages/page212.htm#15.5" target="_blank"&gt;http://www.injunea.demon.co.uk/pages/page212.htm#15.5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for more examples on $# and $@&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 08 Jan 2007 08:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-quot-quot/m-p/3922126#M286082</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-01-08T08:46:22Z</dc:date>
    </item>
  </channel>
</rss>

