Summary: | Bad redirection syntax in baselayout-1.7.4-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arcady Genkin (RETIRED) <agenkin> |
Component: | [OLD] Core system | Assignee: | Daniel Robbins (RETIRED) <drobbins> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Arcady Genkin (RETIRED)
2002-03-14 01:21:47 UTC
I think that it use bash via /etc/init.d/runscript.sh: From bash: There are two formats for redirecting standard output and standard error: &>word and >&word Of the two forms, the first is preferred. This is seman I think that it use bash via /etc/init.d/runscript.sh: From bash: There are two formats for redirecting standard output and standard error: &>word and >&word Of the two forms, the first is preferred. This is semantically equivalent to >word 2>&1 Looks like you are right. I was not aware of this (yet another) incompatibility of Bash with Bourne shell. [off topic] Sadly, under vanilla Bourne shell this would not even cause a sysntax error, but would result in a semantically different behaviour. Closing this as invalid. |