<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kolodvor &#187; osx</title>
	<atom:link href="http://www.kolodvor.net/tag/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kolodvor.net</link>
	<description>ruby, rails, javascript, jquery, ...</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>View man documentation in Preview</title>
		<link>http://www.kolodvor.net/2010/02/12/view-man-documentation-in-preview/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=view-man-documentation-in-preview</link>
		<comments>http://www.kolodvor.net/2010/02/12/view-man-documentation-in-preview/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 08:12:12 +0000</pubDate>
		<dc:creator>vlado</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://kolodvor.net/?p=134</guid>
		<description><![CDATA[If you are on OSX you can easily open man documentation using Preview. Just replace ls with command you would like to see documentation for. man -t "ls" &#124; open -f -a /Applications/Preview.app/ If you plan to do this often, &#8230; <a href="http://www.kolodvor.net/2010/02/12/view-man-documentation-in-preview/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are on OSX you can easily open man documentation using Preview. Just replace <code>ls</code> with command you would like to see documentation for.</p>
<pre class="code">
 man -t "ls" | open -f -a /Applications/Preview.app/
</pre>
<p><span id="more-134"></span></p>
<p>If you plan to do this often, you can make your life much easier by putting this inside your <code>.bash_profile</code>.</p>
<pre class="code">
 pman ()
 {
   man -t "${1}" | open -f -a /Applications/Preview.app/
 }
</pre>
<p>Now you can use following to view documentation in Preview</p>
<pre class="code">
 pman ls
</pre>
<p>Credit goes to <a href="http://wiseheartdesign.com/articles/2010/02/12/my-current-toolset/">John W. Long</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kolodvor.net/2010/02/12/view-man-documentation-in-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

