Code, Strings, and Keys

    • About Thomas Powell
    • Account
    • It’s been [0] days since [program] last updated
    • Login
    • Password Reset
    • Pianist / Accompanist / Music Director Resume
    • Reading List 2025
    • Register
    • Running Gear – Shoes, Treadmill, and Bandages
    • Site Map
Illustration of a bird flying.
  • 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

    January 13, 2007
  • 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…

    January 10, 2007
  • 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

    January 9, 2007
←Previous Page
1 … 295 296 297 298 299 … 312
Next Page→

Code, Strings, and Keys

Proudly powered by WordPress