Skip to content

Instantly share code, notes, and snippets.

@alvaroaleman
Created March 1, 2016 10:51
Show Gist options
  • Save alvaroaleman/7876e9451de0911daaae to your computer and use it in GitHub Desktop.
Save alvaroaleman/7876e9451de0911daaae to your computer and use it in GitHub Desktop.
#!/bin/bash
set -eu
x=(333,343,353,363)
y=(0.025,0.05,0.1,0.2)
z=(a,b,c,d,e,f)
IFS=','
for xelement in $x; do
for yelement in $y; do
for zelement in $z; do
touch ${xelement}_${yelement}_${zelement}
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment