<?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 what does $l means in a shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416327#M682227</link>
    <description>I wanted to know what does a $l (lower case L) means in a unix shell script?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;MSwift</description>
    <pubDate>Fri, 08 May 2009 17:21:43 GMT</pubDate>
    <dc:creator>MSwift</dc:creator>
    <dc:date>2009-05-08T17:21:43Z</dc:date>
    <item>
      <title>what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416327#M682227</link>
      <description>I wanted to know what does a $l (lower case L) means in a unix shell script?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;MSwift</description>
      <pubDate>Fri, 08 May 2009 17:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416327#M682227</guid>
      <dc:creator>MSwift</dc:creator>
      <dc:date>2009-05-08T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416328#M682228</link>
      <description>In what context?&lt;BR /&gt;&lt;BR /&gt;A $l (lower case L) is probably just a variable of some sort.  It has no special meaning to the shell.&lt;BR /&gt;&lt;BR /&gt;If it is actually a $1 (the number 1), then that means the first argument on the from the execution of the script.&lt;BR /&gt;&lt;BR /&gt;For example, if you execute:&lt;BR /&gt;&lt;BR /&gt;# myscript.sh me too&lt;BR /&gt;&lt;BR /&gt;Then $1=me and $2=too.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 May 2009 17:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416328#M682228</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-05-08T17:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416329#M682229</link>
      <description>&lt;!--!*#--&gt;Hello MSwift,&lt;BR /&gt;&lt;BR /&gt;Most likely it is a shell variable (as , but it can depend from the context. With the dollar sign you can query the value of the variable like this:&lt;BR /&gt;&lt;BR /&gt;# l=test&lt;BR /&gt;# echo $l&lt;BR /&gt;test&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 09 May 2009 10:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416329#M682229</guid>
      <dc:creator>Viktor Balogh</dc:creator>
      <dc:date>2009-05-09T10:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416330#M682230</link>
      <description>&lt;BR /&gt;Dear Mswift&lt;BR /&gt;&lt;BR /&gt;when u execute a shell program, u can include parametes on the command line. when u do, each parameters must be separated with bland like.&lt;BR /&gt;&lt;BR /&gt;scopy saj1 saj2 saj3&lt;BR /&gt;&lt;BR /&gt;where scopy is a  shell program with three parameters&lt;BR /&gt;&lt;BR /&gt;when the shell program runs, u can access the value of these parameters with positional parameters  $0,$1, $2 etc..&lt;BR /&gt;&lt;BR /&gt;and $1 is equl to saj1 &lt;BR /&gt;$2 is equal to saj2 &lt;BR /&gt;$3 is eqaul to saj3&lt;BR /&gt;&lt;BR /&gt;and $0 is always the command name&lt;BR /&gt;here it is scopy.&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Sat, 09 May 2009 11:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416330#M682230</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-09T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416331#M682231</link>
      <description>by adding '-x' and running your script you can see what it does, using this method you can find out what gets assigned to $l and when.&lt;BR /&gt;&lt;BR /&gt;unless it would be $1 in which case it got explained already by the others.&lt;BR /&gt;&lt;BR /&gt;if it is $1 i suggest you use another font for your terminal so to not make this mistake in the future.</description>
      <pubDate>Mon, 11 May 2009 08:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416331#M682231</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2009-05-11T08:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: what does $l means in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416332#M682232</link>
      <description>Hi,&lt;BR /&gt;&amp;gt;&amp;gt;I wanted to know what does a $l (lower case L) means in a unix shell script?&lt;BR /&gt;&lt;BR /&gt;Its depending upon your script can you post your script then we can be able to tell the meaning of your $l.&lt;BR /&gt;&lt;BR /&gt;how you can use this see this below example&lt;BR /&gt;l=10&lt;BR /&gt;echo $l&lt;BR /&gt;10&lt;BR /&gt;&lt;BR /&gt;suraj</description>
      <pubDate>Mon, 11 May 2009 08:04:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-does-l-means-in-a-shell-script/m-p/4416332#M682232</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-05-11T08:04:21Z</dc:date>
    </item>
  </channel>
</rss>

