|
From: | ziyunfei |
Subject: | [Help-bash] Why remove the export attribute of $_ every time after a simple command is executed |
Date: | Mon, 7 Sep 2015 16:01:50 +0800 |
static void bind_lastarg (arg) char *arg; { SHELL_VAR *var; if (arg == 0) arg = ""; var = bind_variable ("_", arg, 0); VUNSETATTR (var, att_exported); // <-- } http://code.metager.de/source/xref/gnu/bash/execute_cmd.c#3691
[Prev in Thread] | Current Thread | [Next in Thread] |