<?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>Aleksey Parshukov &#187; bash</title>
	<atom:link href="http://www.filosof.name/tags/bash/feed" rel="self" type="application/rss+xml" />
	<link>http://www.filosof.name</link>
	<description>Aleksey Parshukov persoonal blog</description>
	<lastBuildDate>Sat, 29 Jan 2011 20:59:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>grep, N строк до, N строк после</title>
		<link>http://www.filosof.name/articles/grep-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%b4%d0%be-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%bf%d0%be%d1%81%d0%bb%d0%b5.xhtml</link>
		<comments>http://www.filosof.name/articles/grep-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%b4%d0%be-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%bf%d0%be%d1%81%d0%bb%d0%b5.xhtml#comments</comments>
		<pubDate>Thu, 23 Sep 2010 08:24:36 +0000</pubDate>
		<dc:creator>Aleksey Parshukov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Операционные системы]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.filosof.name/?p=326</guid>
		<description><![CDATA[Очень полезная штука для анализа логов через grep. Выводит N строк до совпадения, N строк после: -A NUM, --after-context=NUM Print NUM lines of trailing context after matching lines. Places a line containing -- between contiguous groups of matches. -B NUM, --before-context=NUM Print NUM lines of leading context before matching lines. Places a line containing -- [...]]]></description>
			<content:encoded><![CDATA[<p>Очень полезная штука для анализа логов через <strong>grep</strong>.<br />
Выводит N строк до совпадения, N строк после:</p>
<pre><code class="pre">       -A NUM, --after-context=NUM
              Print NUM lines  of  trailing  context  after  matching  lines.
              Places  a  line  containing  --  between  contiguous  groups of
              matches.

       -B NUM, --before-context=NUM
              Print  NUM  lines  of  leading  context  before matching lines.
              Places a  line  containing  --  between  contiguous  groups  of
              matches.</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.filosof.name/articles/grep-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%b4%d0%be-n-%d1%81%d1%82%d1%80%d0%be%d0%ba-%d0%bf%d0%be%d1%81%d0%bb%d0%b5.xhtml/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Подсчёт колличества вложенных папок и файлов для Linux</title>
		<link>http://www.filosof.name/articles/nodes-v01.xhtml</link>
		<comments>http://www.filosof.name/articles/nodes-v01.xhtml#comments</comments>
		<pubDate>Wed, 25 Mar 2009 13:50:47 +0000</pubDate>
		<dc:creator>Aleksey Parshukov</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[nodes]]></category>

		<guid isPermaLink="false">http://www.filosof.name/?p=21</guid>
		<description><![CDATA[Написал маленький скрипт для bash который считает колличество вложенных папок и файлов, иначе говоря nodes файловой файловой системы nodes.sh #!/bin/bash for dir in `find $1 -maxdepth 1 -type d`; do printf "%-8s%s\n" $[ `find $dir \! -name "." &#124; wc -l` - 1 ] $dir; done]]></description>
			<content:encoded><![CDATA[<p>Написал маленький скрипт для bash который считает колличество вложенных папок и файлов, иначе говоря nodes файловой файловой системы</p>
<p><strong>nodes.sh</strong><br />
<code>#!/bin/bash<br />
for dir in `find $1 -maxdepth 1 -type d`;<br />
do<br />
printf "%-8s%s\n" $[ `find $dir \! -name "." | wc -l` - 1 ] $dir;<br />
done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.filosof.name/articles/nodes-v01.xhtml/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

