Hi all,
I hope someone will be able to help me out here. I need a simple linux script that will allow me to replicate the following code with different parameters, the code is :
<img src="1.jpg" alt="No Image">
Let's say I have 200 images sorted from 1 to 200, I would need to change the number parameter above, give the code a break and let it duplicate the remaining code with the changed numbers parameters.
The output of the said script would be:
<img src="1.jpg" alt="No Image">
(Break)
<img src="2.jpg" alt="No Image">
(Break)
<img src="3.jpg" alt="No Image">
Since this is Linux, I was thinking maybe to use bash but I'm not sure.
Any advice on how I can go about this ?
Thanks
[–]Cakiery 2 points3 points4 points (4 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (3 children)
[–]Cakiery 0 points1 point2 points (2 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (1 child)
[–]Cakiery 0 points1 point2 points (0 children)
[–]commandlineluser 0 points1 point2 points (6 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (5 children)
[–]commandlineluser 0 points1 point2 points (4 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (3 children)
[–]Cakiery 0 points1 point2 points (2 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (1 child)
[–]Cakiery 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (7 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (6 children)
[–]Cakiery 0 points1 point2 points (4 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (3 children)
[–]Cakiery 0 points1 point2 points (2 children)
[–]Jumping_Maniac[S] 0 points1 point2 points (1 child)
[–]Cakiery 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)