diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 08:18:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-16 08:18:53 +0000 |
commit | 77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch) | |
tree | fb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /src | |
parent | 3fde941ae33bd70edf015b3c72997aef703ebf6d (diff) | |
download | execline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.gz execline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz execline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.zip |
More modifications, and doc change
Diffstat (limited to 'src')
-rw-r--r-- | src/execline/forbacktickx.c | 6 | ||||
-rw-r--r-- | src/execline/multisubstitute.c | 6 | ||||
-rw-r--r-- | src/libexecline/exlsn_import.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/execline/forbacktickx.c b/src/execline/forbacktickx.c index 8b31d92..0ae42e4 100644 --- a/src/execline/forbacktickx.c +++ b/src/execline/forbacktickx.c @@ -72,7 +72,7 @@ int main (int argc, char const *const *argv, char const *const *envp) if (errno != EBADF) strerr_diefu1sys(111, "dup stdin") ; } else fmt[uint_fmt(fmt, (unsigned int)fd)] = 0 ; - newargv[m++] = EXECLINE_BINPREFIX "pipeline" ; + newargv[m++] = EXECLINE_BINPREFIX "|" ; newargv[m++] = "--" ; while (argv[i] && argv[i][0] != EXECLINE_BLOCK_END_CHAR && (!EXECLINE_BLOCK_END_CHAR || (argv[i][0] && argv[i][1]))) newargv[m++] = argv[i++] ; @@ -99,12 +99,12 @@ int main (int argc, char const *const *argv, char const *const *envp) newargv[m++] = argv[0] ; if (fd < 0) { - newargv[m++] = EXECLINE_BINPREFIX "fdclose" ; + newargv[m++] = EXECLINE_BINPREFIX ">&-" ; newargv[m++] = "0" ; } else { - newargv[m++] = EXECLINE_BINPREFIX "fdmove" ; + newargv[m++] = EXECLINE_BINPREFIX ">&" ; newargv[m++] = "0" ; newargv[m++] = fmt ; } diff --git a/src/execline/multisubstitute.c b/src/execline/multisubstitute.c index 444ea47..d140590 100644 --- a/src/execline/multisubstitute.c +++ b/src/execline/multisubstitute.c @@ -9,10 +9,10 @@ static char const *const commands[8] = { - "define", - "importas", + "=", + "$", "import", - "elglob", + "*", "elgetpositionals", "multidefine", 0 diff --git a/src/libexecline/exlsn_import.c b/src/libexecline/exlsn_import.c index 254ab78..61f7cdf 100644 --- a/src/libexecline/exlsn_import.c +++ b/src/libexecline/exlsn_import.c @@ -73,7 +73,7 @@ static int exlsn_import_as (int argc, char const **argv, char const *const *envp int exlsn_import (int argc, char const **argv, char const *const *envp, exlsn_t *info) { - strerr_warnw1x("the import command and directive are obsolescent, please use importas instead!") ; + strerr_warnw1x("the import command and directive are obsolescent, please use $ instead!") ; return exlsn_import_as(argc, argv, envp, info, 0) ; } |