grep

Find and Replace Text with FART

3:30AM Gina Trapani | Windows only: Get grep-like power at the Windows command line using Find and Replace Text (FART), a simple utility that delivers on its name’s promise. Perform batch find and replace operations over multiple text files throughout directories with FART in the Windows command window. The Hackszine blog outlines one practical FART usage example: stripping out UNIX line endings on a text file. Let’s say a Linux buddy of yours sent you a bunch of HTML files and they have Unix line endings that are barfing in Notepad. One simple command fixes the problem, replacing all the newlines with a full PC carriage return, line feed combo: fart --c-style *.html \n \r\n FART is a free download for Windows only. FART [SourceForge.net via Hackszine] More »

Get GNU Tools on Windows with UnixUtils

3:30AM Gina Trapani | Windows only: So you keep typing ls at the Windows command line instead of dir? Miss grep, wget, and tar on your PC? The open source UnixUtils project offers ports of “the most important” GNU command line utilities, including those listed as well as over 100 others. Usually we recommend using the Unix emulator Cygwin to get *nix command line goodness in Windows, but UnixUtils doesn’t depend on the whole Cygwin layer to run—they’re tried and true Windows executables. UnixUtils is a free download for Windows only. Thanks, Vijay! UnixUtils [SourceForge] More »