[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ed could make clearer error messages
From: |
Dan Jacobson |
Subject: |
ed could make clearer error messages |
Date: |
27 Mar 2002 12:10:23 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
ed could be clearer in its error messages. e.g. instead of saying
script, line 2: Unknown command
it could say
script, line 2: {: Unknown command
ed $i <<EOF
H
/<ADDRESS>/,/<\/ADDRESS>/{
s#href="http://www.jidanni.org/">Dan Jacobson#href="$home">Dan Jacobson#
}
wq
EOF
gives
script, line 2: Unknown command
By the way, perhaps add all sed stuff missing in ed to ed, e.g. "{"
Also make sure both sed and ed produce emacs M-x compile parsable
error line numbers...
--
http://www.geocities.com/jidanni/ Taiwan(04)25854780
- ed could make clearer error messages,
Dan Jacobson <=