Project

General

Profile

Actions

Bug #1314

closed

localedef/ctype.sh requires sed -E for no reason

Added by Albert Lee over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
cmd - userland programs
Start date:
2011-08-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The introduction of ctype.sh in cset 13399:a1d28d03839f added a dependency on illumos sed's -E option for extended regex (inherited from FreeBSD). -E was not previously supported by Solaris sed and this has led to an additional bootstrapping step on some platforms (announced as a "flag day"). The use of -E seems to have been purely a stylistic decision as the same sed commands can use basic RE with only minor syntax changes (brackets for char matches, backslash before parens for substrings). The script itself also look like could be simplified.


Files

ctype.sh.diff (767 Bytes) ctype.sh.diff Yuri Pankov, 2011-08-03 12:27 PM
ctype.sh.diff (770 Bytes) ctype.sh.diff Yuri Pankov, 2011-08-03 12:42 PM
Actions

Also available in: Atom PDF