I have a file like this below,
#!/bin/bash
i=1
export basename=z-4-1_
in file "1.bash" I would like to keep as is but in file "2.bash" I would like to change in to z-4-2_ and in file "3.bash" I would like to change in to z-4-3_, and on until I get to 15.
how would like tackle this problem? by using script to modify these numbers in different files.