<?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</title>
		<link>http://www.unix.com/</link>
		<description>UNIX and Linux Forums - Learn UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts</description>
		<language>en</language>
		<lastBuildDate>Wed, 25 Nov 2009 15:15:28 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</title>
			<link>http://www.unix.com/</link>
		</image>
		<item>
			<title>Taking sed result in a variable</title>
			<link>http://www.unix.com/shell-programming-scripting/124598-taking-sed-result-variable-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 15:07:59 GMT</pubDate>
			<description><![CDATA[Hi All, 
  
How can i take the following code having three seds into a variable : 
  
 
Code: 
--------- 
echo "$DateFileFormat" | sed 's/\./\\\\./g' | sed 's/\$/[0-9]+/g' | sed 's/\#/'$job_date'/g' 
---------]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
 <br />
How can i take the following code having three seds into a variable :<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">echo &quot;$DateFileFormat&quot; | <acronym title="Stream Editor">sed</acronym> 's/\./\\\\./g' | <acronym title="Stream Editor">sed</acronym> 's/\$/[0-9]+/g' | <acronym title="Stream Editor">sed</acronym> 's/\#/'$job_date'/g'</code><hr />
</div>I want to get the result stored in a script variable<br />
 <br />
i tried <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">var2=`echo &quot;$DateFileFormat&quot; | <acronym title="Stream Editor">sed</acronym> 's/\./\\\\./g' | <acronym title="Stream Editor">sed</acronym> 's/\$/[0-9]+/g' | <acronym title="Stream Editor">sed</acronym> 's/\#/'$job_date'/g'`</code><hr />
</div> <br />
but didnt work</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>abhinav192</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/124598-taking-sed-result-variable.html</guid>
		</item>
		<item>
			<title><![CDATA[grep: can't open /usr/dict/words]]></title>
			<link>http://www.unix.com/shell-programming-scripting/124597-grep-cant-open-usr-dict-words-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 14:34:05 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
If I use the "/usr/dict/words" inside the shell script, It is showing the error as, 
 
grep: can't open /usr/dict/words 
 
How can we resolve it? 
 
Thanks & Regards, 
Raja]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
If I use the &quot;/usr/dict/words&quot; inside the shell script, It is showing the error as,<br />
<br />
grep: can't open /usr/dict/words<br />
<br />
How can we resolve it?<br />
<br />
Thanks &amp; Regards,<br />
Raja</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>Rajakct84</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/124597-grep-cant-open-usr-dict-words.html</guid>
		</item>
		<item>
			<title>Retrieve string from each line in a file based on a pattern in Unix</title>
			<link>http://www.unix.com/shell-programming-scripting/124595-retrieve-string-each-line-file-based-pattern-unix-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 14:01:17 GMT</pubDate>
			<description><![CDATA[I have a file which contains several lines. Sample content of the file is as below. 
 
 
Code: 
--------- 
OK    testmessage    email<test@123> 
NOK    receivemessage    email<123@test> 
NOK    receivemessage    email(123@test123) 
NOK    receivemessage    email<abc@test> 
---------]]></description>
			<content:encoded><![CDATA[<div>I have a file which contains several lines. Sample content of the file is as below.<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">OK&nbsp; &nbsp; testmessage&nbsp; &nbsp; email&lt;test@123&gt;<br />
NOK&nbsp; &nbsp; receivemessage&nbsp; &nbsp; email&lt;123@test&gt;<br />
NOK&nbsp; &nbsp; receivemessage&nbsp; &nbsp; email(123@test123)<br />
NOK&nbsp; &nbsp; receivemessage&nbsp; &nbsp; email&lt;abc@test&gt;</code><hr />
</div>i would like to know by scripting will it be possible to retrive just the mail addresses based on string provided, value is 'OK' or 'NOK'.<br />
<br />
If i provide search string as 'NOK', i need the output as,<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">123@test<br />
123@test123<br />
abc@test</code><hr />
</div>please note, email addresses are wrapped in either () or &lt;&gt; brackets.<br />
<br />
Please let me know your comments. <br />
<br />
p.s: i m new to scripting...</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>ramasar</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/124595-retrieve-string-each-line-file-based-pattern-unix.html</guid>
		</item>
		<item>
			<title>Replacing tokens</title>
			<link>http://www.unix.com/shell-programming-scripting/124594-replacing-tokens-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:33:29 GMT</pubDate>
			<description>Hi all, 
  
I have a variable with value  
  
 
Code: 
--------- 
DateFileFormat=NAME.CODE.CON.01.#.S001.V1.D$.hent.txt 
---------</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
 <br />
I have a variable with value <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">DateFileFormat=NAME.CODE.CON.01.#.S001.V1.D$.hent.txt</code><hr />
</div> <br />
I want this variable to get replaced with :<br />
 <br />
var2 is a variable with string value <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">DateFileFormat=NAME\\.CODE\\.CON\\.01\\.var2\\.S001\\.V1\\.D[0-9]+\\.hent\\.txt\\.xml$</code><hr />
</div>Please Help</div>

]]></content:encoded>
			<category domain="http://www.unix.com/shell-programming-scripting/">Shell Programming and Scripting</category>
			<dc:creator>abhinav192</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/shell-programming-scripting/124594-replacing-tokens.html</guid>
		</item>
		<item>
			<title>Quick Start Guide: VMware on Sun - White Paper (pdf)</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124592-quick-start-guide-vmware-sun-white-paper-pdf-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>This guide for system administrators outlines the basic steps of setting up VMware Infrastructure 3 functionality on the Sun Fire X4150 and implementing shared storage with the Sun Storage 7210 Unified Storage System. 
 
More......</description>
			<content:encoded><![CDATA[<div>This guide for system administrators outlines the basic steps of setting up VMware Infrastructure 3 functionality on the Sun Fire X4150 and implementing shared storage with the Sun Storage 7210 Unified Storage System.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/quick_start_guide_v&amp;feed=BigAdmin-recently_updated_Quick+Start+Guide:+VMware+on+Sun+-+White+Paper+%28pdf%29" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124592-quick-start-guide-vmware-sun-white-paper-pdf.html</guid>
		</item>
		<item>
			<title>What is Shadow Migration?</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124591-what-shadow-migration-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description><![CDATA[This blog describes shadow migration, one of the major new features in the Sun Storage 7000 2009.Q3 software release. It explains this project's conception, development, and birth, and it also discusses migrating via interposition versus synchronization, and provides an overview of how shadow...]]></description>
			<content:encoded><![CDATA[<div>This blog describes shadow migration, one of the major new features in the Sun Storage 7000 2009.Q3 software release. It explains this project's conception, development, and birth, and it also discusses migrating via interposition versus synchronization, and provides an overview of how shadow migration works.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/what_is_shadow_migr&amp;feed=BigAdmin-recently_updated_What+is+Shadow+Migration%3F" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124591-what-shadow-migration.html</guid>
		</item>
		<item>
			<title><![CDATA[White Paper on Virtualization and High Availability With Sun's Solaris Cluster]]></title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124590-white-paper-virtualization-high-availability-suns-solaris-cluster-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description><![CDATA[The white paper "Addressing Virtualization and High-Availability Needs with Sun Solaris Cluster" by an IDC analyst discusses customer challenges where high availability and virtualization intercept and the use of Solaris Cluster as a solution. (Login required.) 
 
More......]]></description>
			<content:encoded><![CDATA[<div>The white paper &quot;Addressing Virtualization and High-Availability Needs with Sun Solaris Cluster&quot; by an IDC analyst discusses customer challenges where high availability and virtualization intercept and the use of Solaris Cluster as a solution. (Login required.)<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/white_paper_on_virt&amp;feed=BigAdmin-recently_updated_White+Paper+on+Virtualization+and+High+Availability+With+Sun%27s+Solaris+Cluster" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124590-white-paper-virtualization-high-availability-suns-solaris-cluster.html</guid>
		</item>
		<item>
			<title>How to Virtualize Your Mac Desktop (VirtualBox)</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124589-how-virtualize-your-mac-desktop-virtualbox-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>This TechWorld article provides a step-by-step process for using Sun VirtualBox to make your Mac desktop run like a big iron mainframe. 
 
More......</description>
			<content:encoded><![CDATA[<div>This TechWorld article provides a step-by-step process for using Sun VirtualBox to make your Mac desktop run like a big iron mainframe.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/how_to_virtualize_y&amp;feed=BigAdmin-recently_updated_How+to+Virtualize+Your+Mac+Desktop+%28VirtualBox%29" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124589-how-virtualize-your-mac-desktop-virtualbox.html</guid>
		</item>
		<item>
			<title>Getting Started with OpenSolaris (SDN Article)</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124588-getting-started-opensolaris-sdn-article-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description><![CDATA[Brian Leonard and Janice J. Heiss explain to those new to the OpenSolaris OS how to install it and get up and running. This SDN article includes answers to questions like "Where Is Everything on OpenSolaris?" 
 
More......]]></description>
			<content:encoded><![CDATA[<div>Brian Leonard and Janice J. Heiss explain to those new to the OpenSolaris OS how to install it and get up and running. This SDN article includes answers to questions like &quot;Where Is Everything on OpenSolaris?&quot;<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/getting_started_wit________&amp;feed=BigAdmin-recently_updated_Getting+Started+with+OpenSolaris+%28SDN+Article%29" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124588-getting-started-opensolaris-sdn-article.html</guid>
		</item>
		<item>
			<title>Using the MilaX Live CD for failsafe booting for SPARC machines</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124587-using-milax-live-cd-failsafe-booting-sparc-machines-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description><![CDATA[This article describes how to convert the MilaX Live CD for SPARC to a failsafe image for SPARC machines. 
 
More... (http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/using_the_milax_liv_&feed=BigAdmin-recently_updated_Using+the+MilaX+Live+CD+for+failsafe+booting+for+SPARC+machines)]]></description>
			<content:encoded><![CDATA[<div>This article describes how to convert the MilaX Live CD for SPARC to a failsafe image for SPARC machines.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/using_the_milax_liv_&amp;feed=BigAdmin-recently_updated_Using+the+MilaX+Live+CD+for+failsafe+booting+for+SPARC+machines" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124587-using-milax-live-cd-failsafe-booting-sparc-machines.html</guid>
		</item>
		<item>
			<title>Script for OpenSolaris SPARC Installation from LiveCD</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124586-script-opensolaris-sparc-installation-livecd-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>Sample OpenSolaris Sparc install script, required custom OpenSolaris Sparc LiveCD (http://alexeremin.blogspot.com/2009/11/opensolaris-sparc-snv125-livecd.html) 
 
More......</description>
			<content:encoded><![CDATA[<div>Sample OpenSolaris Sparc install script, required custom OpenSolaris Sparc LiveCD (<a href="http://alexeremin.blogspot.com/2009/11/opensolaris-sparc-snv125-livecd.html" target="_blank">http://alexeremin.blogspot.com/2009/...25-livecd.html</a>)<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/script_for_opensola&amp;feed=BigAdmin-recently_updated_Script+for+OpenSolaris+SPARC+Installation+from+LiveCD" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124586-script-opensolaris-sparc-installation-livecd.html</guid>
		</item>
		<item>
			<title>Sun System Firmware Release Hub</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124585-sun-system-firmware-release-hub-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>Part of the BigAdmin Patching Center - The Firmware Release hub provides firmware FAQs, information about available Sun firmware releases, and other resources to help you manage your Sun systems.  * Frequently Asked Questions About Sun System Firmware * History of Sun Firmware Naming and Versioning...</description>
			<content:encoded><![CDATA[<div>Part of the BigAdmin Patching Center - The Firmware Release hub provides firmware FAQs, information about available Sun firmware releases, and other resources to help you manage your Sun systems.  * Frequently Asked Questions About Sun System Firmware * History of Sun Firmware Naming and Versioning * Feature History of SysFW 6.x and 7.x Major and Minor Releases for Sun CMT Systems * Firmware Release History per Platform for Sun Systems   Recent Updates Include: ----------------------------------- * Added 2.1 X6275 Release * Added 3.1 for X4150/X4250/X4450<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/sun_system_firmware&amp;feed=BigAdmin-recently_updated_Sun+System+Firmware+Release+Hub" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124585-sun-system-firmware-release-hub.html</guid>
		</item>
		<item>
			<title>How to Set Keyboard Layouts Explicitly in the OpenSolaris OS</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124584-how-set-keyboard-layouts-explicitly-opensolaris-os-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description><![CDATA[This tech tip describes how to manually configure the keyboard layout for systems that run the OpenSolaris OS. 
 
More... (http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/setting_keyboard_la&feed=BigAdmin-recently_updated_How+to+Set+Keyboard+Layouts+Explicitly+in+the+OpenSolaris+OS)]]></description>
			<content:encoded><![CDATA[<div>This tech tip describes how to manually configure the keyboard layout for systems that run the OpenSolaris OS.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/setting_keyboard_la&amp;feed=BigAdmin-recently_updated_How+to+Set+Keyboard+Layouts+Explicitly+in+the+OpenSolaris+OS" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124584-how-set-keyboard-layouts-explicitly-opensolaris-os.html</guid>
		</item>
		<item>
			<title>Using the Solaris 10 Applications Library to Find Apps That Run on the Solaris 10 OS</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124583-using-solaris-10-applications-library-find-apps-run-solaris-10-os-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>This tip describes how to use the Solaris 10 Applications Library to find applications that run on the Solaris 10 OS, and it provides examples of how to search for an application and how to submit an application to the library. 
 
More......</description>
			<content:encoded><![CDATA[<div>This tip describes how to use the Solaris 10 Applications Library to find applications that run on the Solaris 10 OS, and it provides examples of how to search for an application and how to submit an application to the library.<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/using_the_solaris_1&amp;feed=BigAdmin-recently_updated_Using+the+Solaris+10+Applications+Library+to+Find+Apps+That+Run+on+the+Solaris+10+OS" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124583-using-solaris-10-applications-library-find-apps-run-solaris-10-os.html</guid>
		</item>
		<item>
			<title>Blog from Availability Engineering: Sun Cluster Oasis</title>
			<link>http://www.unix.com/solaris-bigadmin-rss/124582-blog-availability-engineering-sun-cluster-oasis-new-post.html</link>
			<pubDate>Wed, 25 Nov 2009 13:30:03 GMT</pubDate>
			<description>Get the latest information about Sun Cluster and its use for business continuity, disaster recovery, and application high availability. (Lots of info on Solaris Cluster, including white papers and presentations.) 
 
More......</description>
			<content:encoded><![CDATA[<div>Get the latest information about Sun Cluster and its use for business continuity, disaster recovery, and application high availability. (Lots of info on Solaris Cluster, including white papers and presentations.)<br />
<br />
<a href="http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/blog_from_availabil&amp;feed=BigAdmin-recently_updated_Blog+from+Availability+Engineering:+Sun+Cluster+Oasis" target="_blank">More...</a></div>

]]></content:encoded>
			<category domain="http://www.unix.com/solaris-bigadmin-rss/">Solaris BigAdmin RSS</category>
			<dc:creator>iBot</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/solaris-bigadmin-rss/124582-blog-availability-engineering-sun-cluster-oasis.html</guid>
		</item>
	</channel>
</rss>
