if (/^(\s*).{1,3}>SHELL_REPLACE (.*)$/ .. /^\s*.{1,3}<SHELL_REPLACE.*/){
$ch = 1;
$idt = $1;
- $cmd = ". /etc/profile && $2";
+ $cmd = "bash -lc \"$2\"";
$i++;
if ($i==1) { print; print map{s/^/$idt/;$_} `$cmd`; }
elsif (/^\s*.{1,3}<SHELL_REPLACE/) { print; }
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let File = { 'type' : '' }
let $USER_INITIALS = system('printf "%s" ${USER_INITIALS:-`whoami`}')
-" NB 05.12.17 for i in systemlist('set | grep ^USER_ | sed -e "s/=''\?/\t/" -e "s/''$//"' )
-" NB 05.12.17 let v = split(i,"\t")
-" NB 05.12.17 " echo v[0]
-" NB 05.12.17 execute "let ".v[o]." = \"".v[1]."\""
-" NB 05.12.17 endfor
let $FileInit = ''
func! FileInit(...)