<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/awk</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 07 Oct 2008 18:05:08 GMT</pubDate>
<item>
<title>(Bash) Compute Directory Size Recursively with du - ches</title>
<link>http://snipplr.com/view/7566/compute-directory-size-recursively-with-du/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Jul 2008 18:04:06 GMT</pubDate>
<guid>http://snipplr.com/view/7566/compute-directory-size-recursively-with-du/</guid>
</item>
<item>
<title>(Bash) Deleting a file which is listed in svn status - narkisr</title>
<link>http://snipplr.com/view/7410/deleting-a-file-which-is-listed-in-svn-status/</link>
<description><![CDATA[ <p>A useful AWK one liner, see http://student.northpark.edu/pemente/awk/awk1line.txt for some more</p> ]]></description>
<pubDate>Sun, 20 Jul 2008 08:11:48 GMT</pubDate>
<guid>http://snipplr.com/view/7410/deleting-a-file-which-is-listed-in-svn-status/</guid>
</item>
<item>
<title>(Bash) Awk examples - Juanje</title>
<link>http://snipplr.com/view/6510/awk-examples/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 30 May 2008 19:33:08 GMT</pubDate>
<guid>http://snipplr.com/view/6510/awk-examples/</guid>
</item>
<item>
<title>(Bash) Get (just) the IP address in Linux - Juanje</title>
<link>http://snipplr.com/view/6154/get-just-the-ip-address-in-linux/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 08 May 2008 20:41:07 GMT</pubDate>
<guid>http://snipplr.com/view/6154/get-just-the-ip-address-in-linux/</guid>
</item>
<item>
<title>(Bash) List commands in history, sorted by usage - noah</title>
<link>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</link>
<description><![CDATA[ <p>Thanks Ben!

Here's an example session:

May12 10:39:18 book> ~/Documents/n_s/tools/command-history.sh
162 quite
110 svn
107 ruby
61 curl
39 rwget
34 grep
33 cd
21 lwp-request
19 fg
17 ls</p> ]]></description>
<pubDate>Tue, 06 May 2008 15:24:05 GMT</pubDate>
<guid>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</guid>
</item>
<item>
<title>(Bash) Determine which number out of a list is being processed at the moment - wolfie</title>
<link>http://snipplr.com/view/6130/determine-which-number-out-of-a-list-is-being-processed-at-the-moment/</link>
<description><![CDATA[ <p>Useful if you have a shell script running lots of the same command and want to know how many of them have been done</p> ]]></description>
<pubDate>Tue, 06 May 2008 06:22:05 GMT</pubDate>
<guid>http://snipplr.com/view/6130/determine-which-number-out-of-a-list-is-being-processed-at-the-moment/</guid>
</item>
<item>
<title>(Bash) Remove all tables with a certain pattern from the database - berkes</title>
<link>http://snipplr.com/view/4890/remove-all-tables-with-a-certain-pattern-from-the-database/</link>
<description><![CDATA[ <p>This script removes (DROPS) all tables that start with foo_. Usefull if you had some CMS or application that (ab)uses table prefixing, and want to clean 0ut your database.

NOTE: the data is remove FOREVER! So take good casre: make backups and all the likes. Try on a test-database first!</p> ]]></description>
<pubDate>Mon, 04 Feb 2008 04:18:22 GMT</pubDate>
<guid>http://snipplr.com/view/4890/remove-all-tables-with-a-certain-pattern-from-the-database/</guid>
</item>
<item>
<title>(Bash) Deleting Blank Lines Using AWK - ches</title>
<link>http://snipplr.com/view/4315/deleting-blank-lines-using-awk/</link>
<description><![CDATA[ <p>Create a copy of a text file with blank lines removed.</p> ]]></description>
<pubDate>Wed, 12 Dec 2007 12:38:18 GMT</pubDate>
<guid>http://snipplr.com/view/4315/deleting-blank-lines-using-awk/</guid>
</item>
<item>
<title>(Bash) Batch File Rename with awk and sed - ches</title>
<link>http://snipplr.com/view/3648/batch-file-rename-with-awk-and-sed/</link>
<description><![CDATA[ <p>Leave off the final pipe to /bin/sh to do a 'dry run'</p> ]]></description>
<pubDate>Fri, 07 Sep 2007 14:58:16 GMT</pubDate>
<guid>http://snipplr.com/view/3648/batch-file-rename-with-awk-and-sed/</guid>
</item>
<item>
<title>(Bash) Implementing wc using awk (without using wc) - abhiomkar</title>
<link>http://snipplr.com/view/2803/implementing-wc-using-awk-without-using-wc/</link>
<description><![CDATA[ <p>Usage: awc [OPTION]... [FILE]...
Print newline, word, and byte counts for a FILE
	c, --bytes            print the byte counts
	-m, --chars            print the character counts
	-l, --lines            print the newline counts
	-L, --max-line-length  print the length of the longest line
	-w, --words            print the word counts
	--help     display this help and exit
	--version  output version information and exit"</p> ]]></description>
<pubDate>Wed, 06 Jun 2007 01:01:56 GMT</pubDate>
<guid>http://snipplr.com/view/2803/implementing-wc-using-awk-without-using-wc/</guid>
</item>
<item>
<title>(Bash) Unmount All AFP Network Shares - tylerhall</title>
<link>http://snipplr.com/view/2601/unmount-all-afp-network-shares/</link>
<description><![CDATA[ <p>This command will force all mounted AFP network drive to disconnect. I've set this to run automatically each time my laptop sleeps so that if I wake it up on a different network Finder won't freak out.</p> ]]></description>
<pubDate>Fri, 04 May 2007 15:01:18 GMT</pubDate>
<guid>http://snipplr.com/view/2601/unmount-all-afp-network-shares/</guid>
</item>
</channel>
</rss>