In line 28 the script issues a echo -n > "$conf". The parameter -n to echo is not posix conforming and as a result -n ends up in the config file which in turn throws an error later on when the config is sourced. Reproducible: Always Actual Results: broken config is created Expected Results: a clean config replace with printf? truncate -s 0?
(In reply to Sven E. from comment #0) > replace with printf? truncate -s 0? : > "$conf" or just >"$conf"
(In reply to Alexander Tsoy from comment #1) > (In reply to Sven E. from comment #0) > > replace with printf? truncate -s 0? > > : > "$conf" > > or just > > >"$conf" Okay, wasn't sure if that's POSIX, thanks for the feedback.
should be fixed by: http://gitweb.gentoo.org/proj/netifrc.git/commit/?id=64a72e65a43fccceab640a51cbabe2f3ffea22b6