| Ticket UUID: | 768659 | ||
| Title: | pipeline with empty last command not always recognized | ||
| Type: | Bug | Created on: | 2003-07-09 18:53:11 |
| Submitter: | nobody | Assigned to: | andreas_kupries |
| Subsystem: | 25. Channel System | Severity: | |
| Priority: | 7 High | Last modified: | 2006-03-16 07:39:36 |
| Status: | Closed | Closed by: | andreas_kupries |
| Resolution: | Fixed | Closed on: | 2006-03-16 00:39:36 |
| Version: | obsolete: 8.4.12 | ||
| Description: | ||||
Symptom: [exec echo foo | >foobar ] should throw an exception just like [exec echo foo | ] Bug-description: for each "|" or "|&" the code checks, whether that was the last argument, and if so: throws an error. Thereby it misses those cases where only redirections follow the last pipe. | ||||
| User Comments: | ||||
andreas_kupries added on 2006-03-15 05:18:40:
Logged In: YES user_id=75003 Still present in 8.4.12. Note: The file foobar is created, but empty. andreas_kupries added on 2006-03-15 06:34:26:
File Added - 170925: pipe.84.udiff andreas_kupries added on 2006-03-15 06:34:52:
File Added - 170926: pipe.85.udiff andreas_kupries added on 2006-03-15 06:43:53:
Logged In: YES user_id=75003 I have attached patches for head and 8.4. They compile, pass the testsuite and detect a | followed only by redirections as error. I ask for testing on other systems. andreas_kupries added on 2006-03-16 07:39:36:
Logged In: YES user_id=75003 Committed to both 8.4 and HEAD branches. | ||||
Attachments:
- pipe.85.udiff [download] added by andreas_kupries on 2006-03-15 06:34:51. [details]
- pipe.84.udiff [download] added by andreas_kupries on 2006-03-15 06:34:26. [details]
