Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6347

bash: Bad Substitution

$
0
0
#!/bin/bashjobname="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.


Viewing all articles
Browse latest Browse all 6347


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>