Talk:Update a configuration file: Difference between revisions

Content added Content deleted
m (added a comment.)
(→‎Task spec issues: Change specs in a file, not in the program)
Line 23: Line 23:


:: If the author of the task wanted to have duplicate entries (as well as spurious duplicate semicolons) removed, there should be some examples of each in the input file (plus the addition of same wouldn't change the output file, even at this late date). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 03:00, 12 May 2015 (UTC)
:: If the author of the task wanted to have duplicate entries (as well as spurious duplicate semicolons) removed, there should be some examples of each in the input file (plus the addition of same wouldn't change the output file, even at this late date). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 03:00, 12 May 2015 (UTC)

Mine, as many others, have the options to be changed/added hard coded in the program.
Wouldn't a second input file, specifying the desired CHANGES be more reasonable?
Such as
<pre>disable this
enable that
set blabla to value
remove otheroption
...</pre>
--[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 06:05, 12 May 2015 (UTC)