summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:51:41 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 20:51:41 +0000
commit37e2e5b0390ecffc2570db91edf3775da8ee513e (patch)
tree1621bb2249caf0720d50a127ffd09141eb2a4eee /functions
parent257aad2c40c2334044c2af7f39b78c554b387281 (diff)
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
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 3 insertions, 0 deletions
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" "#" $@