bugGNU CSSC - Bugs: bug #56507, configure shoudl locate GNU sed in...

 
 

bug #56507: configure shoudl locate GNU sed in order to support Solaris 10

Submitter:  James Youngman <jay>
Submitted:  Mon 17 Jun 2019 10:47:00 AM UTC
   
 
Category:  None Severity:  2 - Minor
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  jay Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Mon 17 Jun 2019 10:47:00 AM UTC, original submission:  

On Solaris 10, sed emits an error message if stdin is non-empty but does not end in a newline:

solaris10:~/source/cssc.solaris/releases/1.4.1/CSSC-1.4.1/tests/sact$  env PATH=/usr/ccs/bin:/usr/xpg4/bin:/opt/csw/bin:/usr/bin:/bin  bash -c 'printf "xxx" | sed -e "s/^/# stdout: /"'
sed: Missing newline at end of file standard input.
# stdout: xxx
solaris10:~/source/cssc.solaris/releases/1.4.1/CSSC-1.4.1/tests/sact$  env PATH=/usr/ccs/bin:/usr/xpg4/bin:/opt/csw/bin:/usr/bin:/bin  bash -c 'printf "xxx" | gsed -e "s/^/# stdout: /"'


In the above example, sed was /usr/xpg4/bin/sed.

We should either ensure that sed's input always ends with newline, or find and use GNU sed.

James Youngman <jay>
Group administrator

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 16MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by jay (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code