commit bash-20200420 snapshot

This commit is contained in:
Chet Ramey
2020-04-22 16:45:28 -04:00
parent 3235014e5b
commit 87d2ae2ae5
17 changed files with 395 additions and 71 deletions
+2 -18
View File
@@ -1,5 +1,5 @@
/* lcut - extract specified fields from a line and assign them to an array or
print them to the standard output */
/* cut,lcut - extract specified fields from a line and assign them to an array
or print them to the standard output */
/*
Copyright (C) 2020 Free Software Foundation, Inc.
@@ -573,22 +573,6 @@ cut_builtin (list)
return (cut_internal (1, list));
}
/* Called when builtin is enabled and loaded from the shared object. If this
function returns 0, the load fails. */
int
lcut_builtin_load (name)
char *name;
{
return (1);
}
/* Called when builtin is disabled. */
void
lcut_builtin_unload (name)
char *name;
{
}
char *lcut_doc[] = {
"Extract selected fields from a string.",
"",
+2 -2
View File
@@ -4,7 +4,7 @@
*/
/*
Copyright (C) 1999-2009 Free Software Foundation, Inc.
Copyright (C) 1999-2020 Free Software Foundation, Inc.
This file is part of GNU Bash.
Bash is free software: you can redistribute it and/or modify
@@ -92,7 +92,7 @@ push_builtin (list)
else
{
stop_pipeline (0, (COMMAND *)NULL);
xstatus = wait_for (pid);
xstatus = wait_for (pid, 0);
return (xstatus);
}
}