Popular recipes tagged "awk" but not "python"http://code.activestate.com/recipes/tags/awk-python/2011-11-25T17:14:57-08:00ActiveState Code Recipesawk-like module (Python)
2011-11-25T17:14:57-08:00davidhttp://code.activestate.com/recipes/users/4179974/http://code.activestate.com/recipes/577962-awk-like-module/
<p style="color: grey">
Python
recipe 577962
by <a href="/recipes/users/4179974/">david</a>
(<a href="/recipes/tags/awk/">awk</a>).
</p>
<p>This python module is similar to awk (pattern scanning and processing language in unix/linux).
It scans the input file for lines, split each line to fields.
*._nr # AWK NR
*._nf # AWK NF
*._0r # AWK $0
*._1 # AWK strip($1)
*._1r # AWK $1 , raw string
*._1i # AWK int($1)
*._1f # AWK float($1)</p>
scan db to login the ssh servers (Bash)
2010-03-16T13:11:17-07:00J Yhttp://code.activestate.com/recipes/users/4170398/http://code.activestate.com/recipes/576877-scan-db-to-login-the-ssh-servers/
<p style="color: grey">
Bash
recipe 576877
by <a href="/recipes/users/4170398/">J Y</a>
(<a href="/recipes/tags/awk/">awk</a>, <a href="/recipes/tags/bash/">bash</a>).
Revision 2.
</p>
<p>awk with parameters passed from bash</p>
awk sample (Bash)
2010-03-16T13:24:00-07:00J Yhttp://code.activestate.com/recipes/users/4170398/http://code.activestate.com/recipes/576876-awk-sample/
<p style="color: grey">
Bash
recipe 576876
by <a href="/recipes/users/4170398/">J Y</a>
(<a href="/recipes/tags/awk/">awk</a>).
</p>
<p>this is an awk sample</p>