fail to expand/assigned subshell output into a local variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



this code snippet incorrectly fails under dash:
$ { local f=$(date); }
local: 5: 8: bad variable name
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux