On Feb 29 2008 15:26, Bob Proulx wrote:
>>
>>      echo $[`date +%s` % 86400];
>
>Note that the $[expression] syntax is deprecated and is scheduled for
>removal from a future version of the shell.  Please convert to using
>the now standard $((expression)) syntax.
>
>  echo $(( $(date +%s) % 86400 ));

$(()) is easily confusable with $(), I therefore ask $[] to be not removed,
more like the reverse actually.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to