projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git]
/
builtins
/
alias.def
diff --git
a/builtins/alias.def
b/builtins/alias.def
index
e279d4d
..
f51df94
100644
(file)
--- a/
builtins/alias.def
+++ b/
builtins/alias.def
@@
-1,7
+1,7
@@
This file is alias.def, from which is created alias.c
It implements the builtins "alias" and "unalias" in Bash.
This file is alias.def, from which is created alias.c
It implements the builtins "alias" and "unalias" in Bash.
-Copyright (C) 1987
, 1989, 1991
Free Software Foundation, Inc.
+Copyright (C) 1987
-2002
Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
This file is part of GNU Bash, the Bourne Again SHell.
@@
-120,7
+120,7
@@
alias_builtin (list)
print_alias (t);
else
{
print_alias (t);
else
{
-
builtin_error ("`%s' not found",
name);
+
sh_notfound (
name);
any_failed++;
}
}
any_failed++;
}
}
@@
-180,7
+180,7
@@
unalias_builtin (list)
remove_alias (alias->name);
else
{
remove_alias (alias->name);
else
{
-
builtin_error ("`%s': not an alias",
list->word->word);
+
sh_notfound (
list->word->word);
aflag++;
}
aflag++;
}