Ticket UUID: | 768659 | |||
Title: | pipeline with empty last command not always recognized | |||
Type: | Bug | Version: | obsolete: 8.4.12 | |
Submitter: | nobody | Created on: | 2003-07-09 18:53:11 | |
Subsystem: | 25. Channel System | Assigned To: | andreas_kupries | |
Priority: | 7 High | Severity: | ||
Status: | Closed | Last Modified: | 2006-03-16 07:39:36 | |
Resolution: | Fixed | Closed By: | andreas_kupries | |
Closed on: | 2006-03-16 00:39:36 | |||
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-16 07:39:36:
Logged In: YES user_id=75003 Committed to both 8.4 and HEAD branches. 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-15 06:34:52: File Added - 170926: pipe.85.udiff andreas_kupries added on 2006-03-15 06:34:26: File Added - 170925: pipe.84.udiff 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. |