Pages tagged shell:

Terminal Tip: Backup Delicious Bookmarks from the Shell
http://lifehacker.com/5136845/backup-delicious-bookmarks-from-the-shell

You can alternatively create a manual backup at any time by simply navigating your web browser to https://api.del.icio.us/v1/posts/all, entering your Delicious credentials when prompted, and then saving the resulting xml to a file.
Open++ Help
http://www.freewebs.com/dengdun/en/openxx.htm
Tools (Produktiv Programmieren)
Open++ is a shell context menu extension that allows you to quickly open the target file or folder with the predefined commands in Windows Explorer. It adds a submenu with customized menu items to the shell context menu when you right click a file or folder icon, or a folder background in Windows Explorer. Open++ submenu is similar to the standard "Send To" menu but is much more advanced, since it allows you to customize the Title, Program, Arguments, Working Directory, Icon, Associated File Types for all commands that are added to the shell context menu.
context menu customizer
Free utility Open++ adds a new submenu to your right-click context menu with advanced options for adding virtually any function you could want
Command Prompt, register/unregister, copy path, run with params....
Expect - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Expect
10 Tips for Writing Efficient Bash Scripts | HACKTUX
http://hacktux.com/bash/script/efficient
Ten great tips for being efficient in bash.
A Unix Utility You Should Know About: Pipe Viewer - good coders code, great reuse
http://www.catonmat.net/blog/unix-utilities-pipe-viewer/
create progress bars for common unix commands.
via hackernews
Pipe Viewer als Fortschrittsanzeige für CLI.
Command-line Fu < The best UNIX commands on the web
http://www.commandlinefu.com/commands/browse
Command-Line-Fu is the place to record those command-line gems that you return to again and again.
Command-line Fu < The best UNIX commands on the web
http://www.commandlinefu.com/commands/browse/sort-by-votes
A repository for the most elegant and useful UNIX commands. Great commands can be shared, discussed and voted on to provide a comprehensive resource for working from the command-line
save
Command-Line-Fu is the place to record those command-line gems that you return to again and again
linux commands
A Unix Utility You Should Know About: Netcat - good coders code, great reuse
http://www.catonmat.net/blog/unix-utilities-netcat/
Home - j - GitHub
http://wiki.github.com/rupa/j
j keeps track of where you’ve been, and how much time you spend there. Source it into your .bashrc, and then you can say j foo to jump to the most used directory that has the substring (actually regex) foo in i
j is a "learning cd", a shell/awk script that captures your directory changes and remembers the most frequently visited directories, allowing you to hop to them with a simple 'j dirname', no matter where you are in the filesystem.
Tool to jump around directories
j is replacement for cd that learns the directories you use most often
Awk and Sed One-Liners Explained
http://www.osnews.com/story/21004/Awk_and_Sed_One-Liners_Explained
Linux tips every geek should know | TuxRadar
http://www.tuxradar.com/content/linux-tips-every-geek-should-know
Very useful bash and commands tips.
Linux tips every geek should know
Useful Uses Of netcat | HowtoForge - Linux Howtos and Tutorials
http://www.howtoforge.com/useful-uses-of-netcat
This short article shows some useful netcat commands. netcat is known as the TCP/IP swiss army knife. From the netcat man page: netcat is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
Command-line Fu < The best UNIX commands on the web
http://www.commandlinefu.com/
Huge searchable archive of unix commands for the command line. This is on the distant to do list.
mintty - Google Code
http://code.google.com/p/mintty/
MinTTY is a terminal emulator for Cygwin. It is based on code from PuTTY 0.60 by Simon Tatham and team.
An Xterm-compatible terminal emulator for Cygwin based on code from PuTTY
Code Project: Build an Ncurses UI with Python | TuxRadar
http://www.tuxradar.com/content/code-project-build-ncurses-ui-python
Picture the scene: you're logged into a remote server via SSH, or you've installed a new graphics card and you're left staring at the command line. You need to enter a command, but you can't remember the zillion options that go along with it. You're stuck - all you can do is consult the manual pages and pore through pages of waffl
Lord of the REPLs
http://lotrepls.appspot.com/
supports multiple languages but still kinda alpha
Shell pour les langages scriptés (dont Scheme, Scala, et Python)
Command line made easy: five simple recipes for grep - Ars Technica
http://arstechnica.com/open-source/news/2009/05/command-line-made-easy-five-simple-recipes-for-grep.ars
Ars Technica: The Art of Technology * All * Apple * Business * Gadgets * Gaming * Hardware * Microsoft * Open Source * Science * Tech Policy * More o Media o Software o Security o Staff o Telecom o Web * News * Guides * Reviews * Customize o Choose site theme: White Black o Choose body font: Arial Helvetica * OpenForum * Login/Join Open Ended : Ars covers the world of open source
Mommy, I found it! — 15 Practical Linux Find Command Examples
http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/
find / -name passwd
Usi del comando find
using FIND
findを極める! - IDEA*IDEA ~ 百式管理人のライフハックブログ ~
http://www.ideaxidea.com/archives/2009/05/find.html
findコマンドの一通りの扱いについて解説
find . -empty
定期的に上がるねfindネタ
micha's resty at master - GitHub
http://github.com/micha/resty/tree/master
curl GET/POST/PUT/DELETE
rest from the command line (bash+curl)
Very, very cool. Fire up a local REST host pointing to any service, and then GET /blogs.json etc from the command line.
Little command line REST interface that you can use in pipelines. [Sublime :-) ]
resty is a RESTful HTTP friendly wrapper around curl
emson… » 18 Useful bash scripts for web developers
http://blog.emson.co.uk/2009/06/18-useful-bash-scripts-for-web-developers/
a few scripts, that I find really useful for speeding up my web development time. I’ve been building up this list as I needed to use them - so they maybe a little raw.
Using bash scripts to become a more efficient web developer
Here are a few scripts, that I find really useful for speeding up my web development time. I’ve been building up this list as I needed to use them - so they maybe a little raw. For example often clients send me images with filenames that don’t match my naming standard, so running the appropriate script really helps keep me focussed on the job in hand and not waste too much time reformatting filenames etc.
Bash&シェルスクリプトを極めるテクニックまとめ - SourceForge.JP Magazine
http://sourceforge.jp/magazine/09/06/11/088209
(1)Bashをカスタマイズして使いこなす, (2)シェルスクリプトを使いこなすテクニック, (3)Bash以外の高機能シェルもある
erikfrey's bashreduce at master - GitHub
http://github.com/erikfrey/bashreduce/tree/master
whoah, wtf.
Map/Reduce in a bash script... hahahahahahaha
MapReduce done in BASH! Awesome!
Some mad bash magic for distributing stuff.
interesting hack -- apply Map-Reduce idioms to UNIX command lines across multiple machines or cores (via jzawodny, who's obviously looking at a lot of command line stuff recently ;)
bpython - fancy curses interface to the Python interpreter
http://www.noiseforfree.com/bpython/
bpython is a fancy interface to the Python interpreter for Unix-like operating systems.
Syntaxhighlighting, Autocomplete, etc.
The 10 most useful Linux commands - Program - Linux - Builder AU
http://www.builderau.com.au/program/linux/soa/The-10-most-useful-Linux-commands/0,339028299,339297366,00.htm
The 10 most useful Linux commands
Maybe the command line isn’t your favorite place to hang out, but to be an effective Linux admin, you need to be able to wield a few essential commands. These 10 commands are guaranteed to simplify your Linux admin life.
Last.fm – the Blog · Mapreduce Bash Script
http://blog.last.fm/2009/04/06/mapreduce-bash-script
One night at the pub we discussed whether one could replace Hadoop (a massive and comprehensive implementation of Mapreduce) with a single bash script, an awk command, sort, and a sprinkling of netcat. This turned into a weekend project dubbed bashreduce.
Hardcoded version of push
Map-Reduce implemented as a bash script!
MapReduce in a Bash Script
One night at the pub we discussed whether one could replace Hadoop (a massive and comprehensive implementation of Mapreduce) with a single bash script, an awk command, sort, and a sprinkling of netcat. This turned into a weekend project dubbed bashreduce
Map Reduce implemented in bash using sort, awk, grep, join.
4 Websites to Learn Cool Linux Command Line Tricks | MakeUseOf.com
http://www.makeuseof.com/tag/4-websites-to-learn-cool-linux-command-line-tricks/
Currently Browsing: http://lngq2.tk [from http://twitter.com/ifixedit/statuses/3199324176]
IRB: Let’s Bone Up On The Interactive Ruby Shell
http://www.rubyinside.com/irb-lets-bone-up-on-the-interactive-ruby-shell-1771.html
IRB articles
http://www.pement.org/awk/awk1line.txt
http://www.pement.org/awk/awk1line.txt
Useful examples of awk usage
sub(/\r$/,"")
HANDY ONE-LINE SCRIPTS FOR AWK
How to Debug Bash Scripts | Ayman Hourieh's Blog
http://aymanh.com/how-debug-bash-scripts
On how to trace Bash script execution.
Windowsのコマンドプロンプトを便利に使うための10のミニテクニック(1/3):CodeZine
http://codezine.jp/article/detail/3879
「start」でエクスプローラ表示。xpじゃ出来ないものも多いけどclipとか便利だなぁ。
Windowsのコマンドプロンプトをより便利に使うためのちょっとしたテクニックを10個紹介します。
Windowsの操作の基本はGUIですが、ファイル操作などを手早く行うためにコマンドプロンプトを使うこともあると思います。本稿では、Windowsのコマンドプロンプトをより便利に使うためのちょっとしたテクニックを10個紹介します。
startとclipが特に便利そうだ
Tagaholic - Hirb - Irb On The Good Stuff
http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html
Hirb::View.formatter_config
Irb is a great place for interacting with Ruby. Unfortunately, even with the colorful help of wirble, it's not so great for visualizing the output of those interactions. Hirb aims to change that.
View mini framework for irb.
8 Useful and Interesting Bash Prompts – Make Tech Easier
http://maketecheasier.com/8-useful-and-interesting-bash-prompts/2009/09/04
1. Show Happy face upon successful execution
JavaScript shell scripting / phpied.com
http://www.phpied.com/javascript-shell-scripting/
JavaScript shell scripting / phpied.com
Linux Shell Scripting Tutorial - A Beginner's handbook
http://bash.cyberciti.biz/guide/Main_Page
Speaking UNIX: Stayin' alive with Screen
http://www.ibm.com/developerworks/aix/library/au-gnu_screen/
Screen
good explanation of how one might use the unix screen command
Ralph Arvesen : Copy Path Shell Extension
http://blogs.vertigosoftware.com/ralph/archive/2006/09/28/Copy_Path_Shell_Extension.aspx
Display the context menu and notice the new Copy Path menu.
hich implements the IContextMenu and IShellExtInit interfaces in .NET 2.0. I plan to cleanup the code and create a codeproject article but that task always falls to the bottom, so I'm providing the util without code in case anyone finds it useful.
Neat tool!
This Windows application injects a "Copy Path" menu that displays when you right-click a folder in Windows Explorer. Freeware.
created a File Link shell extension in C++ a while back that allows you to copy path-info (full path, location, filename, UNC) for one or more files to the clipboard .
BashPitfalls - Greg's Wiki
http://mywiki.wooledge.org/BashPitfalls
How to Be Faster at the Linux Command Line | HACKTUX
http://hacktux.com/bash/fast/cli
Customizing the Terminal: The Prompt | LinDesk
http://lindesk.com/2009/03/customizing-the-terminal-the-prompt/
Customizing the Terminal: The Prompt
Most Linux ‘gurus’ spend a lot of time working in the terminal. If you belong to that group, this post is for you. This is a tutorial to configure the terminal prompt to the best possible value for your use. Note: This tutorial is for bash users – these instructions will not work in other shells.You must have seen the prompt if you have use the terminal – it is the first few characters in each line. Usually, it will be…Editing the prompt is very simple – you just have to edit a shell variable. To see the current prompt’s value, open a shell and type the command…
good prompt ideas
Famous Perl One-Liners Explained, Part I - good coders code, great reuse
http://www.catonmat.net/blog/perl-one-liners-explained-part-one/
also links to sed and awk oneliners
pimping out git log - Bart's Blog
http://www.jukie.net/~bart/blog/pimping-out-git-log
Très joli git log --graph à consommer sans modération
You can run the following to add it to your ~/.gitconfig: git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset
I love this custom log view for git
A 'revisited' guide to GNU Screen LG #168
http://linuxgazette.net/168/silva.html
e. Screen allows you to manage several interactive shell instances within the same "window". By using different keyb
Handy features like screenrc configuration for status line and auto-start settings, as well as terminal sharing using screen.
hardstatus alwayslastline 2 hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]' 3 4 # Default screens 5 screen -t shell1 0 6 screen -t shell2 1 7 screen -t server 2 ssh me@myserver
Elite Log File Scrolling with Color Syntax
http://www.askapache.com/security/elite-log-file-scrolling-with-color-syntax.html
pipe
Script lets you scroll logfiles automatically colorized making them a TON easier to read at a glance!
Bash shortcuts « Tales From a Cold Network Admin
http://talesofacoldadmin.wordpress.com/bash-shortcuts/
"The $(</path/to/a/file) #Thanks Croooow This isn’t exactly a variable, more a method of reading files, but it is optimized beyond the cat command to work with bash scripts "
SynJunkie: Command-Line Kung Fu
http://synjunkie.blogspot.com/2008/03/basic-dos-foo.html
net stop
Speaking UNIX: 10 great tools for any UNIX system
http://www.ibm.com/developerworks/aix/library/au-spunix_greattools/index.html
The universe of UNIX tools changes constantly. Here are 10 tools -- some you may have overlooked and some new -- to tinker with.
Linux makina batean interesgarri izan daitezkeen komandoak
Update Twitter and FriendFeed from the Linux command line
http://www.ibm.com/developerworks/linux/library/l-friendfeed/index.html
curl http://wikipedia.org
Summary: Learn how to use GNU Wget and cURL to send status updates to Twitter and FriendFeed without the use of a Twitter desktop application, and follow feeds from both Twitter and FriendFeed right from the Linux® command line. This article was updated on 31 Oct 2008 to correct a coding error in the wget command under "Adding a tweet using GNU Wget and cURL." --Ed.
Command line tricks for smart geeks | TuxRadar Linux
http://www.tuxradar.com/content/command-line-tricks-smart-geeks
www.home.unix-ag.org/ simon/woof.html
argparse - Google Code
http://code.google.com/p/argparse/
The argparse module provides an easy, declarative interface for creating command line tools, which knows how to: * parse the arguments and flags from sys.argv * convert arg strings into objects for your program * format and print informative help messages * and much more... The argparse module improves on the standard library optparse module in a number of ways including: * handling positional arguments * supporting sub-commands * allowing alternative option prefixes like + and / * handling zero-or-more and one-or-more style arguments * producing more informative usage messages * providing a much simpler interface for custom types and actions
Enhanced command line parsing in Python.
[ Zsh ]
http://www.strcat.de/zsh/
Une page avec plein d'astuces pour zsh
A Unix Utility You Should Know About: lsof - good coders code, great reuse
http://www.catonmat.net/blog/unix-utilities-lsof/
This is the third post in the article series about Unix and Linux utilities that you should know about. In ...
Command Center | Linuxコマンドがすばやく探せる、そのまま使える。 - banq
http://banq.digape.com/command/
役立つLinuxコマンド
Windows の基本的なコマンド集 - IT戦記
http://d.hatena.ne.jp/amachang/20081219/1229674783
Tux Training » Blog Archive » How to have a lightweight, beautiful, functional terminal
http://tuxtraining.com/2009/07/28/how-to-have-a-lightweight-beautiful-functional-terminal
uptime | awk '{print $2,$3, $4}'
Configuration for rxvt in X to have better colors and fonts
Lazy Linux: 10 важных практических приёмов для администраторов
http://www.ibm.com/developerworks/ru/library/l-10sysadtips/index.html?S_TACT=105AGX99&S_CMP=GR01
Освойте эти 10 практических приемов и станьте самым лучшим администратором Linux-систем во Вселенной. Узнайте о туннелях SSH, VNC, восстановлении паролей и консольном шпионаже и воспроизводите затем эти приёмы на своих машинах.
Terminal Tip: Make Any Linux Directory into an ISO File
http://lifehacker.com/5085405/make-any-linux-directory-into-an-iso-file
Linux newbies might appreciate knowing that you need no software app to create burn-able CD images of a particular directory on your system. One terminal command--mkisofs -V LABEL -r DIRECTORY | gzip > cdrom.iso.gz&mdash;creates a compressed ISO for easy backup (replace the italicized sections with your CD label and directory, of course). [via]
Linux newbies might appreciate knowing that you need no software app to create burn-able CD images of a particular directory on your system. One terminal command--mkisofs -V LABEL -r DIRECTORY | gzip > cdrom.iso.gz—creates a compressed ISO for easy backup (replace the italicized sections with your CD label and directory, of course)
Shell Editor | jsFiddle | to test your JavaScript code
http://www.jsfiddle.net/
INX Is Not X : A command line and console Linux "Live CD" based on a minimal Ubuntu, without the X window system graphical interface. INX has some surprising capabilities...
http://inx.maincontent.net/
Apprendre la console bash
Linux à vocation pédagogique, uniquement en ligne de commande.
Lifehacker - Use a Different Color for the Root Shell Prompt - Terminal
http://lifehacker.com/5195951/use-a-different-color-for-the-root-shell-prompt
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
My Extravagant Zsh Prompt / Steve Losh
http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
I gotta try zsh. Via /drewr
UNIX tips: Learn 10 good UNIX usage habits
http://www.ibm.com/developerworks/aix/library/au-badunixhabits.html?ca=lnxw01GoodUnixHabits
Avoid piping a grep to wc -l in order to count the number of lines of output. The -c option to grep gives a count of lines that match the specified pattern and is generally faster than a pipe to wc, as in the following example:
DreamPie: The Python shell you've always dreamed about!
http://dreampie.sourceforge.net/
DreamPie is a Python shell which is designed to be reliable and fun.
Screen? A must for SSH ~ Mattias Geniar
http://www.mattiasgeniar.be/technology/screen-a-must-for-ssh/
If you've ever used SSH to connect to a server, you 'll know its limitations: if you want to open a new window, you'll need to create a second SSH connection to the server. And if the connection breaks during the SSH tunnel, you've lost your progress. This is where Screen comes in.
ウノウラボ Unoh Labs: シェルの仕組み(前編)
http://labs.unoh.net/2008/10/post_126.html
アマノユウ「どこかのタイミングで見ておこうとメモメモ。」
Top Ten One-Liners from CommandLineFu Explained - good coders code, great reuse
http://www.catonmat.net/blog/top-ten-one-liners-from-commandlinefu-explained/
Useful Bash shell one liners with explanations
The A-Z of Programming Languages: Bourne shell, or sh - a-z of programming languages - Computerworld
http://www.computerworld.com.au/article/279011/-z_programming_languages_bourne_shell_sh
An in-depth interview with Steve Bourne, creator of the Bourne shell, or sh
Set Operations in the Unix Shell Simplified - good coders code, great reuse
http://www.catonmat.net/blog/set-operations-in-unix-shell-simplified/
Very useful bash examples of operations with sets
10 Tools To Add Some Spice To Your UNIX Shell Scripts
http://www.cyberciti.biz/tips/spice-up-your-unix-linux-shell-scripts.html
A
CoolStuff
mysqlでいちいちshow databasesとか打つのがめんどい→readlineのマクロで解決 - (ひ)メモ
http://d.hatena.ne.jp/hirose31/20090531/1243777478
Cubic Reality » Download CubicExplorer
http://www.cubicreality.com/cubicexplorer/download/
Featured Desktop: Windows Vista with a Live Thumbnail Sidebar
http://lifehacker.com/5058949/windows-vista-with-a-live-thumbnail-sidebar
Reader MERSC tricked out a Windows desktop with ObjectDock's full-sized taskbar thumbnails, which previews open documents (including live video) on the dock. Above the left-docked taskbar, MERSC has an embedded to-do list pinned to the desktop, always in view, along with system monitoring tools and the current time using Samurize. When MERSC maximizes a window, the Emerge Shell Replacement keeps the dock and to-do list visible at all times. Here's the rundown of what's on this desktop, and a look at it with a maximized window.
Reader MERSC tricked out a Windows desktop with ObjectDock's full-sized taskbar thumbnails which previews open documents including live video on
Erwin Waterlander, WCD Wherever Change Directory
http://www.xs4all.nl/~waterlan/
changes directory from a large tree, allowing instant jumps ( pretty handy, all shells shoudl have this, especially if you take the time to make a meaningful directory structure : just enough for some things like: program/bc audio/ipt au*/w*edit
Wcd is a program to change directory fast. It saves time typing at the keyboard. One needs to type only a part of a directory name and wcd will jump to it. By default wcd searches for a directory with a name that begins with what has been typed, but the use of wildcards is also fully supported.
kmb-tips: Советы по Linux
http://kmb-tips.blogspot.com/2008/07/linux.html
Viewing sfbashrc
http://www.johnlawrence.net/code/?f=sfbashrc
http://www.shell-fu.org/lister.php?id=209
Some awesome aliases to add to bashrc
Moo0 - 14 freeware and 1 shareware
http://www.moo0.com/?top=http://www.moo0.com/software/RightClicker/%23RightClicker
Moo0 RightClicker is a set of enhancements on the context menu (right click menu) of Windows Explorer. It adds many useful functionalities like duplicating current explorer window, open/move to/copy to bookmarked folders, hiding default context menus, and so forth.
SSH tip: Automatic Reverse Tunnels for Workflow Simplification | codysoyland.com
http://codysoyland.com/2010/jun/6/ssh-tip-automatic-reverse-tunnels-workflow-simplif/
googlecl - Project Hosting on Google Code
http://code.google.com/p/googlecl/
Command line tools for the Google Data APIs
GoogleCL brings Google services to the command line.
"GoogleCL brings Google services to the command line."
command line interface to google services
googlecl brings Google services to the command line http://bit.ly/a84tIU "google calendar today # List events for today only"
command line tool for manipulating calendar, contacts, etc. was just arguing w/ a coworker over not wanting to use google calender for my textual, scripty, unixy personal process for managing calendar commitments. this could be the bridge
Try Erlang
http://www.tryerlang.org/
Erlang is a programming language created in the Computer Science lab at Ericsson in Sweden in the late 1980s. The above prompt represents an Erlang shell, where you can try the full power of Erlang (well, sort of). To start this tutorial please type ok.. Please note that in Erlang every instruction must be terminated by a DOT (.), and to have it evaluated type Enter.!
"Erlang is a programming language created in the Computer Science lab at Ericsson in Sweden in the late 1980s. The above prompt represents an Erlang shell, where you can try the full power of Erlang (well, sort of). To start this tutorial please type ok.."
Introducing the Google Command Line Tool - Google Open Source Blog
http://google-opensource.blogspot.com/2010/06/introducing-google-command-line-tool.html
Introducing the Google Command Line Tool - Google Open Source Blog
Ever wanted to upload a folder full of photos to Picasa from a command prompt? We did, a lot, last summer. It made us want to say: $ google picasa create --title "My album" ~/Photos/vacation/*.jpg So we wrote a program to do that, and a whole lot more. GoogleCL is a command-line utility that provides access to various Google services. It streamlines tasks such as posting to a Blogger blog, adding events to Calendar, or editing documents on Google Docs.
Ksplice » The top 10 tricks of Perl one-liners - System administration and software blog
http://blog.ksplice.com/2010/05/top-10-perl-one-liner-tricks
things I did not know ... like the '..' operator. Neato.
Terminal Tips and Tricks For Mac OS X - Super User
http://superuser.com/questions/52483/terminal-tips-and-tricks-for-mac-os-x
Cool collection of tricks, even I found new ones
Awk by example, Part 1 --
http://www.funtoo.org/en/articles/linux/awk/1/
In defense of awk In this series of articles, I'm going to turn you into a proficient awk coder. I'll admit, awk doesn't have a very pretty or particularly "hip" name, and the GNU version of awk, called gawk, sounds downright weird. Those unfamiliar with the language may hear "awk" and think of a mess of code so backwards and antiquated that it's capable of driving even the most knowledgeable UNIX guru to the brink of insanity (causing him to repeatedly yelp "kill -9!" as he runs for coffee machine).
Awk by example, Part 1 --
http://www.funtoo.org/en/articles/linux/awk/1/
In defense of awk In this series of articles, I'm going to turn you into a proficient awk coder. I'll admit, awk doesn't have a very pretty or particularly "hip" name, and the GNU version of awk, called gawk, sounds downright weird. Those unfamiliar with the language may hear "awk" and think of a mess of code so backwards and antiquated that it's capable of driving even the most knowledgeable UNIX guru to the brink of insanity (causing him to repeatedly yelp "kill -9!" as he runs for coffee machine).
Awk by example, Part 1 --
http://www.funtoo.org/en/articles/linux/awk/1/
In defense of awk In this series of articles, I'm going to turn you into a proficient awk coder. I'll admit, awk doesn't have a very pretty or particularly "hip" name, and the GNU version of awk, called gawk, sounds downright weird. Those unfamiliar with the language may hear "awk" and think of a mess of code so backwards and antiquated that it's capable of driving even the most knowledgeable UNIX guru to the brink of insanity (causing him to repeatedly yelp "kill -9!" as he runs for coffee machine).
ExampleScripts - googlecl - Example commands and tasks GoogleCL can do. - Project Hosting on Google Code
http://code.google.com/p/googlecl/wiki/ExampleScripts
This will be useful once they get GReader
Command line tools for the Google Data APIs
Google CL is a Python (Python) application that makes Google Data API calls through the command line.
Awk by example, Part 1 --
http://www.funtoo.org/en/articles/linux/awk/1/
In defense of awk In this series of articles, I'm going to turn you into a proficient awk coder. I'll admit, awk doesn't have a very pretty or particularly "hip" name, and the GNU version of awk, called gawk, sounds downright weird. Those unfamiliar with the language may hear "awk" and think of a mess of code so backwards and antiquated that it's capable of driving even the most knowledgeable UNIX guru to the brink of insanity (causing him to repeatedly yelp "kill -9!" as he runs for coffee machine).
3 shell scripts: Kill weasel words, avoid the passive, eliminate duplicates
http://matt.might.net/articles/shell-scripts-for-passive-voice-weasel-words-duplicates/
Even in this example, I personally have no problem with using we.
#!/bin/bash weasels="many|various|very|fairly|several|extremely\ |exceedingly|quite|remarkably|few|surprisingly\ |mostly|largely|huge|tiny|((are|is) a number)\ |excellent|interestingly|significantly\ |substantially|clearly|vast|relatively|completely" wordfile="" # Check for an alternate weasel file if [ -f $HOME/etc/words/weasels ]; then wordfile="$HOME/etc/words/weasels" fi if [ -f $WORDSDIR/weasels ]; then wordfile="$WORDSDIR/weasels" fi if [ -f words/weasels ]; then wordfile="words/weasels" fi if [ ! "$wordfile" = "" ]; then weasels="xyzabc123"; for w in `cat $wordfile`; do weasels="$weasels|$w" done fi if [ "$1" = "" ]; then echo "usage: `basename $0` <file> ..." exit fi egrep -i -n --color "\\b($weasels)\\b" $* exit $?
Kill weasel words, avoid the passive, eliminate duplicates