LMSouq
general-dev Open

bash: Bad Substitution

AR
Arindam Choudhury
1 month ago
3 views
Problem Description
#!/bin/bash jobname="job_201312161447_0003" jobname_pre=${jobname:0:16} jobname_post=${jobname:17} This bash script gives me *Bad substitution* error on Ubuntu. Any help will be highly appreciated.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base