What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-20 11:52:06
for loop on date in bash
d=2015-01-01 while [ "$d" != 2015-02-20 ]; do echo $d d=$(date -I -d "$d + 1 day") # mac option for d decl (the +1d is equivalent to + 1 day) # d=$(date -j -v +1d -f "%Y-%m-%d" "2020-12-12" +%Y-%m-%d) done Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5