diff options
author | tjr <tjr@FreeBSD.org> | 2002-10-18 10:33:32 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-10-18 10:33:32 +0000 |
commit | a96c7569e15921fa023426e26e355d6841135eda (patch) | |
tree | 5f161ca4bda24745cdcb235832a2cdc78d57fa4c /bin/sh | |
parent | a2b48adeec46bdfc51833aa4bc7023101ffcfa1c (diff) | |
download | FreeBSD-src-a96c7569e15921fa023426e26e355d6841135eda.zip FreeBSD-src-a96c7569e15921fa023426e26e355d6841135eda.tar.gz |
Avoid accidentally making "-h" a synonym for "fc".
Obtained from: NetBSD
Diffstat (limited to 'bin/sh')
-rwxr-xr-x | bin/sh/mkbuiltins | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/mkbuiltins b/bin/sh/mkbuiltins index e4beb76..4ba301c 100755 --- a/bin/sh/mkbuiltins +++ b/bin/sh/mkbuiltins @@ -60,7 +60,7 @@ cat <<\! ! awk '/^[^#]/ {if(('$havejobs' || $2 != "-j") && ('$havehist' || $2 != "-h")) \ - print $0}' builtins.def | sed 's/-j//' > $temp + print $0}' builtins.def | sed 's/-[hj]//' > $temp awk '{ printf "int %s();\n", $1}' $temp echo ' int (*const builtinfunc[])() = {' |