Actions
Feature #452
closedlighttpd -p output should be stdout
ASK QUESTIONS IN Forums:
Description
i think outout of -p (print the parsed config-file in internal form) should be printed to STDOUT and errors to STDERR so it could be parsed. (i just wanted to ''| less'' it, so it's just small annoyance)
# lighttpd -p -f /etc/lighttpd/lighttpd.conf 2>a; echo $? 255 # cat a 2006-01-10 20:20:51: (configfile.c.428) source: /etc/lighttpd/lighttpd.conf line: 340 pos: 11 use => for assignments in arrays 2006-01-10 20:20:51: (configfile.c.799) configfile parser failed: ^(.*)$ # lighttpd -p -f /etc/lighttpd/lighttpd.conf 2>b; echo $? 0 # head b config { var.PID = 31354 server.modules = ( "mod_indexfile", "mod_rewrite", "mod_redirect", "mod_alias", "mod_access",
-- Elan Ruusamäe <glen
Updated by moo almost 19 years ago
- Status changed from New to Assigned
any idea, jan? add a FILE* as a 1st argument to all print functions? or s/stderr/stdout/g?
Updated by moo over 17 years ago
- Status changed from Assigned to Fixed
- Resolution set to fixed
it was fixed in r1318 thanks to jan
Actions
Also available in: Atom