<?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>less &#8211; Accidents Happen</title>
	<atom:link href="https://ah.thameera.com/tag/less/feed/" rel="self" type="application/rss+xml" />
	<link>https://ah.thameera.com</link>
	<description>In the dark</description>
	<lastBuildDate>Sun, 03 Nov 2013 13:12:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">56521109</site>	<item>
		<title>Reading pdf files from the terminal with less</title>
		<link>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/</link>
					<comments>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/#respond</comments>
		
		<dc:creator><![CDATA[thameera]]></dc:creator>
		<pubDate>Sun, 03 Nov 2013 13:12:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[pdf]]></category>
		<guid isPermaLink="false">http://ah.thameera.com/?p=519</guid>

					<description><![CDATA[The good old less command can be used to open more than plain text files. All you need is to set the LESSPIPE environment variable to pipe the /usr/bin/lesspipe script in your .bashrc or .zshrc file. In most systems, the lesspipe script is pre-installed. Otherwise you can download it from here. export LESSOPEN='&#124;/usr/bin/lesspipe %s' Now [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The good old <code>less</code> command can be used to open more than plain text files. All you need is to set the LESSPIPE environment variable to pipe the <code>/usr/bin/lesspipe</code> script in your <code>.bashrc</code> or <code>.zshrc</code> file. In most systems, the <code>lesspipe</code> script is pre-installed. Otherwise you can download it from <a href="http://sourceforge.net/projects/lesspipe/">here</a>.</p>
<blockquote><p><code>export LESSOPEN='|/usr/bin/lesspipe %s'</code></p></blockquote>
<p>Now simply open your pdf files with less.</p>
<blockquote><p><code>less abc.pdf</code></p></blockquote>
<p>Besides from pdf files you can pipe in compressed files (like tar.gz, zip, rar, etc), ISO files and even .doc files. But who uses .doc files anyway?  <img src="https://ah.thameera.com/wp-includes/images/smilies/mrgreen.png" alt=":mrgreen:" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://ah.thameera.com/reading-pdf-files-from-the-terminal-with-less/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">519</post-id>	</item>
	</channel>
</rss>
