The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Create A For Loop In bash

TODO: Pull subtitle into page object
Code
for i in {0..11}
do 
  echo "This is ${i}"
done

Single Line

Code
for i in {0..11}; do echo "This is ${i}"; done

Another example:

Code
for i in {1..14}; do ffmpeg -i "1-15sec.mp4" -to ${i} "1-${i}.mp4"; done

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Create A For Loop In bash

Multiline

-- code
-- bash

for i in {0..11}
do 
  echo "This is ${i}"
done

-- p

Single Line

-- code
-- bash

for i in {0..11}; do echo "This is ${i}"; done

-- p

Another example:

-- code
-- bash

for i in {1..14}; do ffmpeg -i "1-15sec.mp4" -to ${i} "1-${i}.mp4"; done


-- categories
-- Command Line 
-- Bash
-- zsh

-- metadata
-- date: 2017-06-07 18:52:07
-- id: 01bj2c41
-- status: published
-- type: post
-- site: aws