From a08f7a62968c167e84bf012cb24dd8a187ae639f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 21 Sep 2015 10:49:07 +0000 Subject: Add the getcwd program --- doc/getcwd.html | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/index.html | 1 + doc/upgrade.html | 3 ++- 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 doc/getcwd.html (limited to 'doc') diff --git a/doc/getcwd.html b/doc/getcwd.html new file mode 100644 index 0000000..ffd89a8 --- /dev/null +++ b/doc/getcwd.html @@ -0,0 +1,52 @@ + + + + + + execline: the getcwd program + + + + + + +

+execline
+Software
+skarnet.org +

+ +

The getcwd program

+ +

+getcwd stores its current working directory +into a given environment variable, +then executes a program. +

+ +

Interface

+ +
+     getcwd var prog...
+
+ +

+getcwd stores a fully resolved absolute path (i.e. without any +.. or symbolic link components) to its current working directory +into the var variable, then +execs into prog with its arguments. +

+ +

Notes

+ + + + + diff --git a/doc/index.html b/doc/index.html index 1b61375..a5b5974 100644 --- a/doc/index.html +++ b/doc/index.html @@ -132,6 +132,7 @@ to your installation: the shebang lines for your system might be something like
  • The piperw program
  • The heredoc program
  • The wait program
  • +
  • The getpid program
  • The getpid program
  • The exec program
  • The tryexec program
  • diff --git a/doc/upgrade.html b/doc/upgrade.html index 6013a41..0b39ea2 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -24,7 +24,8 @@
  • New EXECLINE_BLOCK_END_STRING and EXECLINE_BLOCK_QUOTE_STRING macros
  • New command: withstdinas. It's a simplification of backtick, which is now implemented as a combination of -pipeline and withstdinas.
  • +pipeline and withstdinas. +
  • Also new command: getcwd.
  • in 2.1.3.1

    -- cgit v1.3.1