Spotify-Downloader-Bash
Spotify-Downloader-Bash copied to clipboard
Bad substitution
I've upgraded ==> Upgrading 1 outdated package: yt-dlp 2024.7.9 -> 2024.7.16 Downloader.sh: line 202: ${numJobs@P} >= ${processNumber} : bad substitution
Hey sorry for the delayed reply. I could not reproduce the issue. Could you provide some more information?
I've upgraded ==> Upgrading 1 outdated package: yt-dlp 2024.7.9 -> 2024.7.16 Downloader.sh: line 202: ${numJobs@P} >= ${processNumber} : bad substitution
Check if you're actually using bash? Or check your bash version.
bash --version
Wasn't using jobs -p | wc -l plausible for compatibility?
./Downloader.sh: line 202: ${numJobs@P} >= ${processNumber} : bad substitution All downloads have been started. Waiting for completion. I'm using a m2 Mac by the way, Sorry I moved on and thought I won't get a reply
GNU bash, version 3.2.57(1)-release (arm64-apple-darwin22) Copyright (C) 2007 Free Software Foundation, Inc.
This appears to be a Mac specific problem. Works as expected under Linux (even using zsh).