From 37e2e5b0390ecffc2570db91edf3775da8ee513e Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 10 Jun 2006 20:51:41 +0000 Subject: Add FIXME about broken wrodno option in functions. Remove solved TODOs. git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@11 8f53b18a-e215-0410-8885-9f593d34873e --- functions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'functions') diff --git a/functions b/functions index 2a7cfa3..58536cf 100644 --- a/functions +++ b/functions @@ -49,6 +49,7 @@ function enableoraddlines() { # File to tweak file="$1"; shift # Word number in line to search for and replace if found + # FIXME: This is broken - wordno unconditionally becomes firstword later on wordno="$1"; shift [ -e "$file" ] || touch "$file" for line; do @@ -70,6 +71,7 @@ function preserveandaddlines() { # Extension of backup file ext="$1"; shift # Word number in line to search for and replace if found + # FIXME: This is broken - wordno unconditionally becomes firstword later on wordno="$1"; shift preserveolderfile "$file" "$ext" # enableoraddlines "$file" "$wordno" $@ @@ -94,6 +96,7 @@ function preserveandhashdisablelines() { # Extension of backup file ext="$1"; shift # Word number in line to search for and replace if found + # FIXME: This is broken - wordno unconditionally becomes firstword later on wordno="$1"; shift preserveolderfile "$file" "$ext" # disablelines "$file" "$wordno" "#" $@ -- cgit v1.2.3