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

 
 

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

Submitted by:  James Youngman <jay>
Submitted on:  Mon 17 Jun 2019 10:47:00 AM UTC  
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  None
Privacy:  Public Assigned to:  James Youngman <jay>
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5