Home | History | Annotate | only in /src/bin/sh/funcs
History log of /src/bin/sh/funcs
RevisionDateAuthorComments
 1.9 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.8 29-Feb-2016  christos branches: 1.8.16; 1.8.28;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.28.1 02-Aug-2025  perseant Sync with HEAD
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.10 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.9 07-Apr-2023  kre branches: 1.9.2;

The great shell trailing whitespace cleanup of 2023...
Inspired by private e-mail comments from mouse@

NFCI.
 1.8 29-Feb-2016  christos branches: 1.8.16;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.8 29-Feb-2016  christos branches: 1.8.16;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.9 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.8 29-Feb-2016  christos branches: 1.8.16; 1.8.28;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.28.1 02-Aug-2025  perseant Sync with HEAD
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.9 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.8 29-Feb-2016  christos branches: 1.8.16; 1.8.28;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.28.1 02-Aug-2025  perseant Sync with HEAD
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.10 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.9 07-Apr-2023  kre branches: 1.9.2;

The great shell trailing whitespace cleanup of 2023...
Inspired by private e-mail comments from mouse@

NFCI.
 1.8 29-Feb-2016  christos branches: 1.8.16;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.10 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.9 07-Apr-2023  kre branches: 1.9.2;

The great shell trailing whitespace cleanup of 2023...
Inspired by private e-mail comments from mouse@

NFCI.
 1.8 29-Feb-2016  christos branches: 1.8.16;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.9 09-Apr-2025  kre Modernise these (unused) functions

Much of what is here is truly ancient. It isn't used as
part of the build (never installed anywhere) so are only
available from src/bin/sh/funcs which means that in practice
no-one ever sees or uses any of this.

A notable example is the provided 'suspend' function, which
has been using "set +j" to turn off job control all this time.
That was the old (original ash) name for what is now the 'm'
option ... it was changed (by Berkeley CSRG) in July 1992
(approaching 33 years ago), which means the suspend function
provided here hasn't been used in at least 33 years.
(Since "suspend" is now provided as a sh builtin, the function
here is no real use anyway).

Still, since they exist here, they may as well be made to work
properly.

Note: should anyone decide to install these somewhere, the
"pushd" "popd" and "dirs" scripts are all the same thing,
and (while they could be installed as 3 files) should really
be just one file, linked to 3 names, when installed - it
makes no practical difference which of them gets copied rather
than just being a link.
 1.8 29-Feb-2016  christos branches: 1.8.16; 1.8.28;
delete clauses 3,4
 1.7 11-May-1995  christos Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
bug.
 1.6 21-Mar-1995  cgd convert to new RCS id conventions.
 1.5 11-Jun-1994  mycroft Add RCS ids.
 1.4 11-May-1994  jtc sync with 4.4lite
 1.3 23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2 22-Mar-1993  cgd added rcs ids to all files
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 11-May-1994  jtc 44lite code
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.28.1 02-Aug-2025  perseant Sync with HEAD
 1.8.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.16.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed