vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Fri, Feb 22, 2008 at 08:30:05AM +0100, Heinrich Rebehn wrote: > Paul de Weerd wrote: >> On Thu, Feb 21, 2008 at 02:11:53PM +0100, Heinrich Rebehn wrote: >>> Mark Kettenis wrote: >>>>> Date: Wed, 20 Feb 2008 16:57:23 -0300 >>>>> From: Gleydson Soares <gsoares@gmail.com> >>>>> >>>>> warn on stdout,when not found process >>>> Since pkill(1) doesn't do that on Solaris and Linux, I don't think we >>>> want this. >>> Would be good opportunity to better than Solaris and Linux :-) >>> I am really missing this feature too. Interactive programs should always >>> output an error message in case of an error IMHO. >> Who says it's an error ? pkill sent the specified signal to all (in >> this case, none) processes matched. > > $ rm xxxx.* > rm: xxxx.*: No such file or directory > Who says it's an error ? rm tried to delete all (in this case, none) files > matched. > > Would you like to check the return status after every command issued just > to rule out typos? > > -Heinrich What YOU consider an error other might consider normal. So in this case it's best to stick to how others do this, to keep consistency. -Otto |