Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 166103

Summary: The init script provided by the fcron package doesn't work because is not bsd-sed compatible
Product: Gentoo/Alt Reporter: Emanuele A. Bagnaschi (Zephyrus) <zephyrus.271>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/init.d/fcron patch

Description Emanuele A. Bagnaschi (Zephyrus) 2007-02-09 17:33:52 UTC
The init script installed by the fcron package is not compatible with the bsd sed because it uses escape sequences in the substitution command.

A possibile workaround is to replace the escape sequence '\s', used in the script, with '[[:space:]]'. This seems to work with both bsd-sed and gsed.
Note: This solution was find by exg.


Reproducible: Always
Comment 1 Emanuele A. Bagnaschi (Zephyrus) 2007-02-09 17:34:24 UTC
Created attachment 109656 [details, diff]
/etc/init.d/fcron patch
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2007-02-13 16:45:38 UTC
Thanks, fixed in CVS *sigh*