the parser doesn't support 'arithmetic expansion' constructs in the command you tried
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 14.2k
- Forks
- 851
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the command shown in the issue and inspect the parser's handling of arithmetic expansion, since no source file or test is named. The work is done when the parser accepts the $((...)) construct in this command without reporting it as unsupported, with coverage for the reported example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100