| Anonymous | Login | Signup for a new account | 2010-09-10 11:49 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ << ] [ >> ] | [ Issue History ] [ Print ] | |||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000449 | incron | public | 2010-05-21 00:57 | 2010-06-05 23:46 | |||||||
| Reporter | kolter | ||||||||||
| Assigned To | luk | ||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Summary | 0000449: incrontab(1) mangles comments in incrontab(5) | ||||||||||
| Description | incrontab(1) mangles comments in incrontab(5): it changes the first word on every comment line to "0". For example, if I run incrontab and create a file with the following comment lines: # Only put 1 space between fields 2 and 3! Additional whitespace will be # assumed to be part of field 3, causing the command to fail! then incrontab -l shows that I have the following incrontab file: # 0 put 1 space between fields 2 and 3! Additional whitespace will be # 0 to be part of field 3, causing the command to fail! To clarify, this doesn't just matter because of comments, although they're important. It also means that I can't temporarily disable a line by commenting it out-- if I do, then incrontab will replace the path entry by a 0. | ||||||||||
| Additional Information | This bug report is a copy of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563700 [^] | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0000444) luk (administrator) 2010-02-10 20:49 |
This is strange behavior. It should currently remove all comments (although this is not optimal) as of 0000173. In any case the manipulation with incrontab files must be changed in the future versions. |
|
(0000463) luk (administrator) 2010-06-05 23:46 |
More things to consider: 1. If an invalid mask symbol is present it is currently removed. 2. If there is no symbol it is replace by zero ("0"). These things are undocumented and should be resolved or (at least) noted in the manual pages. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-01-31 23:32 | kolter | New Issue | |
| 2010-02-10 20:46 | luk | Status | new => assigned |
| 2010-02-10 20:46 | luk | Assigned To | => luk |
| 2010-02-10 20:47 | luk | Relationship added | related to 0000173 |
| 2010-02-10 20:49 | luk | Note Added: 0000444 | |
| 2010-06-05 23:46 | luk | Note Added: 0000463 | |
| Copyright © 2000 - 2010 MantisBT Group |