-
sed guides.
I’m using sed (along with awk and shell scripts) to extract data from my website files. Frequently Asked Questions about sed, the stream editor sed one-liners Colorized list_urls.sed
-
sed/sh/awk removing a section in multiple files
All of my scripts are in ~/bin, I’m replacing a marked section with my google adsense code, contained in a separate file. remove_topstart.sh:#!/bin/shfind . -name ‘*.html’ | while read xdo cat $x | awk -f ~/bin/remove_topstart.awk >> $x.$$ cp $x.$ $x rm $x.$done remove_topstart.awk:BEGIN { outsideTop = 1 }/<!–TOPSTART–>/ { outsideTop = 0 }/<!–TOPEND–>/ { outsideTop = 1…
-
IE 4 Linux
Internet Explorer on Linuxhttp://webexpose.org/2007/01/07/internet-explorer-7-on-linux/ http://www.tatanka.com.br/ies4linux/page/InstallationIEs 4 Linux needs two packages: cabextract and Wine. You can install them using your Linux package manager (synaptic, apt-get, yum, emerge etc) or go to their sites. wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gztar zxvf ies4linux-latest.tar.gzcd ies4linux-*./ies4linux
