<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The UNIX and Linux Forums - Shell Programming and Scripting</title>
		<link>http://www.unix.com/</link>
		<description>Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.</description>
		<language>en</language>
		<lastBuildDate>Wed, 02 Dec 2009 15:22:21 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://solaris.unix.com/images/misc/rss.jpg</url>
			<title>The UNIX and Linux Forums - Shell Programming and Scripting</title>
			<link>http://www.unix.com/</link>
		</image>
		<item>
			<title>awk and configuration file</title>
			<link>http://www.unix.com/shell-programming-scripting/125102-awk-configuration-file-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:56:22 GMT</pubDate>
			<description>Hi, 
You can load a configuration file containing variables from within AWK? 
  
Thanks.</description>
			<content:encoded><![CDATA[<div>Hi,<br />
You can load a configuration file containing variables from within AWK?<br />
 <br />
Thanks.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>danietepa</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125102-awk-configuration-file.html</guid>
		</item>
		<item>
			<title>sed/awk to insert multiple lines before pattern</title>
			<link>http://www.unix.com/shell-programming-scripting/125101-sed-awk-insert-multiple-lines-before-pattern-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:49:20 GMT</pubDate>
			<description><![CDATA[I'm attempting to insert multiple lines before a line matching a given search pattern.  These lines are generated in a separate function and can either be piped in as stdout or read from a temporary file. 
 
I've been able to insert the lines from a file after the pattern using: 
sed -i '/pattern/...]]></description>
			<content:encoded><![CDATA[<div>I'm attempting to insert multiple lines before a line matching a given search pattern.  These lines are generated in a separate function and can either be piped in as stdout or read from a temporary file.<br />
<br />
I've been able to insert the lines from a file after the pattern using:<br />
<acronym title="Stream Editor">sed</acronym> -i '/pattern/ r tempfile' file<br />
I also know I can insert a line or lines before a pattern using:<br />
<acronym title="Stream Editor">sed</acronym> -i '/pattern/i lines' file<br />
<br />
I have yet to find an answer as to how to combine the two.  Other options I've considered include finding the line number, subtracting one, then inserting the file after that line.  I would be open to using awk or grep or any combination of these.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>zksailor534</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125101-sed-awk-insert-multiple-lines-before-pattern.html</guid>
		</item>
		<item>
			<title>some sed help pls</title>
			<link>http://www.unix.com/shell-programming-scripting/125098-some-sed-help-pls-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:43:31 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I have made a list of files of which I want to remove strings beginning with <iframe and </iframe 
 
When I run the script I see the files fly along and the strings being removed. 
However, in the source files nothing has changed. 
Do I really need to write sed's result to a different...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have made a list of files of which I want to remove strings beginning with &lt;iframe and &lt;/iframe<br />
<br />
When I run the script I see the files fly along and the strings being removed.<br />
However, in the source files nothing has changed.<br />
Do I really need to write <acronym title="Stream Editor">sed</acronym>'s result to a different output file... or can this be done inside the original file itself?<br />
<br />
Thanks, Alge<br />
<br />
<font face="Courier New">#!/bin/bash<br />
while read line; do<br />
<acronym title="Stream Editor">sed</acronym> -e '/&lt;iframe[^&gt;]*&gt;/d'; -e '/&lt;\/iframe[^&gt;]*&gt;/d' &lt; $line <br />
done &lt; /root/allsites-com-3.txt</font></div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>algernonz</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125098-some-sed-help-pls.html</guid>
		</item>
		<item>
			<title>AWK: How to extract text lines between two strings</title>
			<link>http://www.unix.com/shell-programming-scripting/125097-awk-how-extract-text-lines-between-two-strings-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:42:15 GMT</pubDate>
			<description>Hi. 
  
I have a text test1.txt file like: 
  
Receipt 
Line1 
Line2 
Line3 
End</description>
			<content:encoded><![CDATA[<div>Hi.<br />
 <br />
I have a text <i>test1.txt</i> file like:<br />
 <br />
Receipt<br />
Line1<br />
Line2<br />
Line3<br />
End<br />
 <br />
Receipt<br />
Line4<br />
Line5<br />
Line6<br />
Canceled<br />
 <br />
Receipt<br />
Line7<br />
Line8<br />
Line9<br />
End<br />
 <br />
Line10<br />
Line11<br />
 <br />
Receipt<br />
Line12<br />
Line13<br />
Line14<br />
Canceled<br />
 <br />
As result I need only lines between &quot;Receipt&quot; and &quot;Canceled&quot;.<br />
 <br />
E.g.:<br />
 <br />
Receipt<br />
Line4<br />
Line5<br />
Line6<br />
Canceled<br />
 <br />
Receipt<br />
Line12<br />
Line13<br />
Line14<br />
Canceled<br />
 <br />
I have the following script:<br />
awk '/Receipt/, $NF ~ /Canceled/ ' test1.txt<br />
 <br />
But this will extract other lines starting with &quot;Receipt&quot;<br />
 <br />
I found some other solution wotking with groups, but this is not helping me much:<br />
 <br />
<font color="#0000ff">awk '\</font><br />
<font color="#0000ff">/<font color="#000000">Receipt</font>/,/<font color="#000000">Canceled</font>/ {<br />
if (newgroup==0)<br />
{print substr($0,index($0,&quot;<font color="#000000">Receipt</font>&quot;))<br />
newgroup=1}<br />
else<br />
{if (match($0,&quot;<font color="#000000">Canceled</font>&quot;))<br />
{print substr($0,1,index($0,&quot;<font color="#000000">Canceled</font>&quot;)-1)<br />
newgroup=0}<br />
else<br />
print<br />
}<br />
}' test1.txt</font><br />
 <br />
Any ideas appreciated. :)</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>TQ3</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125097-awk-how-extract-text-lines-between-two-strings.html</guid>
		</item>
		<item>
			<title>Increment of a variable</title>
			<link>http://www.unix.com/shell-programming-scripting/125095-increment-variable-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:15:55 GMT</pubDate>
			<description>Hi All, 
  
I have a variable n that stores a number. 
Eg. echo $n comes out to be 120. 
  
I need to print 121 using echo command on n. 
Please advice. 
  
Thanks in advance !!</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
 <br />
I have a variable n that stores a number.<br />
Eg. echo $n comes out to be 120.<br />
 <br />
I need to print 121 using echo command on n.<br />
Please advice.<br />
 <br />
Thanks in advance !!</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>learning_skills</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125095-increment-variable.html</guid>
		</item>
		<item>
			<title>Different output for script?</title>
			<link>http://www.unix.com/shell-programming-scripting/125094-different-output-script-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 14:04:50 GMT</pubDate>
			<description><![CDATA[Good morning guys! 
  
When I run this full script: 
 
Code: 
--------- 
#!/bin/sh 
echo "Please type oracle-lower case please:" 
read X 
if [[ "${X}" != "oracle" ]]]]></description>
			<content:encoded><![CDATA[<div>Good morning guys!<br />
 <br />
When I run this full script:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">#!/bin/sh<br />
echo &quot;Please type oracle-lower case please:&quot;<br />
read X<br />
if [[ &quot;${X}&quot; != &quot;oracle&quot; ]]<br />
then<br />
&nbsp; &nbsp; &nbsp;  echo &quot;Sorry that is not oracle, try again&quot;<br />
&nbsp; &nbsp; &nbsp;  exit 1<br />
else<br />
&nbsp; &nbsp; &nbsp;  echo Thank you<br />
fi<br />
find / -name oracle 2&gt;/dev/null |<br />
while read line<br />
do<br />
&nbsp; &nbsp; &nbsp; &nbsp; bdf | grep &quot;$X&quot; | awk 'BEGIN {total=used=free=0}<br />
&nbsp; &nbsp; &nbsp; &nbsp; {total +=$2<br />
&nbsp; &nbsp; &nbsp; &nbsp;  used +=$3<br />
&nbsp; &nbsp; &nbsp; &nbsp;  free +=$4}<br />
&nbsp;END&nbsp; &nbsp; {print &quot;total space for oracle: &quot;total;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  print &quot;free space available for oracle: &quot;free;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  print &quot;space already used by oracle: &quot;used}'<br />
done</code><hr />
</div>The output is:<br />
<font color="black">total space for oracle: 0<br />
free space available for oracle: 0<br />
space already used by oracle: 0</font><br />
 <br />
When I run from this point below:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">find / -name oracle 2&gt;/dev/null |<br />
while read line<br />
do<br />
&nbsp; &nbsp; &nbsp; &nbsp; bdf | grep &quot;$X&quot; | awk 'BEGIN {total=used=free=0}<br />
&nbsp; &nbsp; &nbsp; &nbsp; {total +=$2<br />
&nbsp; &nbsp; &nbsp; &nbsp;  used +=$3<br />
&nbsp; &nbsp; &nbsp; &nbsp;  free +=$4}<br />
&nbsp;END&nbsp; &nbsp; {print &quot;total space for oracle: &quot;total;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  print &quot;free space available for oracle: &quot;free;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  print &quot;space already used by oracle: &quot;used}'<br />
done</code><hr />
</div>I get:<br />
<font color="black">total space for oracle: 2.01234e+09<br />
free space available for oracle: 5.41099e+06<br />
space already used by oracle: 3.29016e+08<br />
bdf: /home/auto/***: Stale <acronym title="Network File System">NFS</acronym> file handle<br />
bdf: /home/auto/***: Stale <acronym title="Network File System">NFS</acronym> file handle</font><br />
 <br />
<font color="black">I need to run the entire script, with the correct output, but without the <acronym title="Network File System">NFS</acronym> errors?</font><br />
 <br />
<font color="black">Can anyone tell me what Ive done wrong?</font><br />
 <br />
<font color="black">Bigben1220<br />
<br />
<br />
</font></div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>bigben1220</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125094-different-output-script.html</guid>
		</item>
		<item>
			<title>ricerca da remoto Perl</title>
			<link>http://www.unix.com/shell-programming-scripting/125091-ricerca-da-remoto-perl-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 13:55:13 GMT</pubDate>
			<description>Ciao a tutti... Ho un problema... 
per un progetto devo permettere ad un utente remoto di cercare su un altro computer presente sulla stessa rete i file con estensione .conf e darne la possibilità di modificarne i parametri dei file..come fare?  
grazie in anticipo</description>
			<content:encoded><![CDATA[<div>Ciao a tutti... Ho un problema...<br />
per un progetto devo permettere ad un utente remoto di cercare su un altro computer presente sulla stessa rete i file con estensione .conf e darne la possibilità di modificarne i parametri dei file..come fare? <br />
grazie in anticipo</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>africano</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125091-ricerca-da-remoto-perl.html</guid>
		</item>
		<item>
			<title>Handling multiple fields of a database file for toupper() function in awk</title>
			<link>http://www.unix.com/shell-programming-scripting/125086-handling-multiple-fields-database-file-toupper-function-awk-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 12:23:42 GMT</pubDate>
			<description><![CDATA[hello everyone.... 
 
script is: To convert the contents of a database file into uppercase 
 
my code is: 
 printf  "%s\n" , $2 | awk '{print toupper($2)}' emp.lst 
 
i m able to do only for one field.....didn't get any sources for handling multiple fields. 
 
please suggest me for multiple...]]></description>
			<content:encoded><![CDATA[<div>hello everyone....<br />
<br />
script is: To convert the contents of a database file into uppercase<br />
<br />
my code is:<br />
 printf  &quot;%s\n&quot; , $2 | awk '{print toupper($2)}' emp.lst<br />
<br />
i m able to do only for one field.....didn't get any sources for handling multiple fields.<br />
<br />
please suggest me for multiple fields...<br />
<br />
Thanks in advance.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>Priyanka Bhati</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125086-handling-multiple-fields-database-file-toupper-function-awk.html</guid>
		</item>
		<item>
			<title>PCC-F-NOERRFILE, unable to open error message file</title>
			<link>http://www.unix.com/shell-programming-scripting/125085-pcc-f-noerrfile-unable-open-error-message-file-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 12:11:39 GMT</pubDate>
			<description>Hi, 
  
I was compiling few C programs in the unix server  and getting the following error message  
 
HTML: 
--------- 
rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent 
        proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE ...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
 <br />
I was compiling few C programs in the unix server  and getting the following error message <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent<br />
&nbsp; &nbsp; &nbsp; &nbsp; proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE <br />
INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE&nbsp; INCLUDE=/home/a0xxx28/PVT/UT/INCLUDE DEFINE=SQL DEFINE=AIRFLITE_REL_3 <br />
DEFINE=PFM -DPFM_PVTDT&nbsp; iname=costdistDB.pc<br />
PCC-F-NOERRFILE, unable to open error message file, facility PR2<br />
*** Error exit code 1&quot;</code><hr />
</div>Can anybody guide me to resolve this issue?</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>kavithakuttyk</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125085-pcc-f-noerrfile-unable-open-error-message-file.html</guid>
		</item>
		<item>
			<title>How to Parse a Prompt?</title>
			<link>http://www.unix.com/shell-programming-scripting/125082-how-parse-prompt-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 11:16:24 GMT</pubDate>
			<description>On the command, when I type in certain commands, they will display a prompt waiting for some input.  When I type in the requested input, it will display the info I requested. 
 
For example, if I enter the telnet command, it will display a telnet prompt and wait for me to enter something. 
 
I...</description>
			<content:encoded><![CDATA[<div>On the command, when I type in certain commands, they will display a prompt waiting for some input.  When I type in the requested input, it will display the info I requested.<br />
<br />
For example, if I enter the telnet command, it will display a telnet prompt and wait for me to enter something.<br />
<br />
I wonder in my script if I can parse the command line to see if a prompt is popped up.  If it is, then supply the requested info that is stored in a file.<br />
<br />
OS is Solaris 2.8 and running ksh.<br />
<br />
Please help.  Thanks.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>april</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125082-how-parse-prompt.html</guid>
		</item>
		<item>
			<title>What is the command to get name associated with userid?</title>
			<link>http://www.unix.com/shell-programming-scripting/125071-what-command-get-name-associated-userid-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 10:15:19 GMT</pubDate>
			<description>Hi, 
 
1#what is the command to get name associated with userid? 
 
2#I am using unix on Mainframes thru OMVS. 
So any one know to to capture TSO command output to a variable on OMVS environment. 
 
 
Thanks 
Prashant</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
1#what is the command to get name associated with userid?<br />
<br />
2#I am using unix on Mainframes thru OMVS.<br />
So any one know to to capture TSO command output to a variable on OMVS environment.<br />
<br />
<br />
Thanks<br />
Prashant</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>prashant43</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125071-what-command-get-name-associated-userid.html</guid>
		</item>
		<item>
			<title>Issue with New Line character</title>
			<link>http://www.unix.com/shell-programming-scripting/125070-issue-new-line-character-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 10:12:49 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am reading data from file and storing it in a multiline variable. Every line is seperated with "\n" character.  
 
globalstrval="${globalstrval}""${line}""\n" 
 
If the value of globalstrval is like: 
1234 
ABCD 
EFGH]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am reading data from file and storing it in a multiline variable. Every line is seperated with &quot;\n&quot; character. <br />
<br />
globalstrval=&quot;${globalstrval}&quot;&quot;${line}&quot;&quot;\n&quot;<br />
<br />
If the value of globalstrval is like:<br />
1234<br />
ABCD<br />
EFGH<br />
WXYZ<br />
....<br />
<br />
If I do, <br />
YLvar=`echo $globalstrval | grep &quot;ABC&quot;`<br />
then it should return me only one line : ABCD, and it is working fine in AIX.<br />
<br />
But when I am porting my script on Linux system, I am getting value back as &quot;1234\nABCD\nEFGH\nWXYZ&quot;. How can I get it working on both systems? I am using /bin/su. Is there any thing to do with shell? <br />
<br />
Any help is much appreciated. <br />
<br />
Thanks,<br />
- Ashish</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>gupt_ash</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125070-issue-new-line-character.html</guid>
		</item>
		<item>
			<title>Awk help</title>
			<link>http://www.unix.com/shell-programming-scripting/125063-awk-help-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 09:57:03 GMT</pubDate>
			<description>Hi there, 
 
 
I have an awk script that pulls data out from an iostat -xne which works fine and dandy.  I have now been asked to map the device name, say md38, to an oracle file.  See output below. 
 
Script Output. 
 
---Quote--- 
    0.0    1.1    0.1    9.1  0.0  0.4    0.0  311.0   0   1   0  ...</description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
<br />
I have an awk script that pulls data out from an iostat -xne which works fine and dandy.  I have now been asked to map the device name, say md38, to an oracle file.  See output below.<br />
<br />
Script Output.<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				    0.0    1.1    0.1    9.1  0.0  0.4    0.0  311.0   0   1   0   0   0   0 4/md38<br />
    0.1    0.1    0.5    0.5  0.0  0.0    0.0  236.5   0   0   0   0   0   0 4/md37<br />
    0.4    0.5    3.1    4.3  0.0  0.2    0.0  218.8   0   1   0   0   0   0 4/md78<br />
   58.0   15.3  847.2   92.3  0.4  1.4    5.3   19.3   0  25   0   0   0   0 c4t600C0FF000000000084AED64A24AFC03d0<br />
   58.0   15.3  846.9   92.3  0.0  0.4    0.7    5.5   0  19   0   0   0   0 c4t600C0FF000000000084B8A392FAA1003d0
			
			<hr />
		</td>
	</tr>
	</table>
</div>Directory listing from oradata<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				lrwxrwxrwx   1 oracle   dba           27 Mar  8  2005 users_01.dbf -&gt; /dev/md/racdata-ds/rdsk/d38
			
			<hr />
		</td>
	</tr>
	</table>
</div>I now need to combine the 2 so we get the MD name and the oracle file name as well as all the stats.<br />
<br />
So kind of like this <br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				0.0    1.1    0.1    9.1  0.0  0.4    0.0  311.0   0   1   0   0   0   0 4/md38  users_01.dbf
			
			<hr />
		</td>
	</tr>
	</table>
</div><br />
Anyone got any ideas?<br />
<br />
<br />
<br />
Cheers</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>LotusFanboy</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125063-awk-help.html</guid>
		</item>
		<item>
			<title>GUI for cshell scripts</title>
			<link>http://www.unix.com/shell-programming-scripting/125061-gui-cshell-scripts-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 09:38:00 GMT</pubDate>
			<description>Hi, 
 
I want to know whether it is possible to use GUI for cshell scripts? 
 
Thanks 
Sarbjit</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I want to know whether it is possible to use GUI for cshell scripts?<br />
<br />
Thanks<br />
Sarbjit</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>sarbjit</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125061-gui-cshell-scripts.html</guid>
		</item>
		<item>
			<title>Perl search</title>
			<link>http://www.unix.com/shell-programming-scripting/125060-perl-search-new-post.html</link>
			<pubDate>Wed, 02 Dec 2009 09:35:52 GMT</pubDate>
			<description>the log reads as follows:  
 
 
Code: 
--------- 
input() 
0 UNIQ_ID 012 
0 NAME SQL 
0 TIME 01/12/2009 10.10.00 
0 CODE PIN_ACTIVATE_CHECK1</description>
			<content:encoded><![CDATA[<div>the log reads as follows: <br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">input()<br />
0 UNIQ_ID 012<br />
0 NAME SQL<br />
0 TIME 01/12/2009 10.10.00<br />
0 CODE PIN_ACTIVATE_CHECK1<br />
output()<br />
0 CHECKED<br />
1 ENABLED<br />
input()<br />
0 UNIQ_ID 013<br />
0 NAME SQL<br />
0 TIME 01/12/2009 12.10.00<br />
0 CODE PIN_ACTIVATE_CHECK2<br />
output()<br />
0 CHECKED<br />
1 ENABLED</code><hr />
</div>i want to search for the string PIN_ACTIVATE and based on that the field(CODE), corresponding input() and output() have to be displayed. <br />
Kindly help me in writing a <acronym title="Practical Extraction and Report Language">perl</acronym> script for this.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>vkca</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/125060-perl-search.html</guid>
		</item>
	</channel>
</rss>
