explainshell icon indicating copy to clipboard operation
explainshell copied to clipboard

the parser doesn't support 'arithmetic expansion' constructs in the command you tried

Open ijash opened this issue 4 years ago • 0 comments

while entering:

tar cf - /folder-with-big-files -P | pv -s $(($(du -sk /folder-with-big-files | awk '{print $1}') * 1024)) | gzip > big-files.tar.gz

it outputs:

the parser doesn't support 'arithmetic expansion' constructs in the command you tried. you may report a bug to have this added, if one doesn't already exist

So, as the output says, i report it.

thank you

ijash avatar Oct 13 '19 18:10 ijash