tUse awk instead of seq for POSIX compliance - cngf-pf-exp1 - experiments for first paper with continuum granular model
 (HTM) git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 3fe8aeaa05db9a4dc80456bd1871ce837860abf9
 (DIR) parent 721ef5a3fb015bcd8074cd4331bf3d89c26f44a8
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Wed,  1 Jul 2020 11:45:16 +0200
       
       Use awk instead of seq for POSIX compliance
       
       Diffstat:
         M fig-mohr_coulomb/Makefile           |       2 +-
         M fig-parameter_test/Makefile         |       6 +++---
         M fig-rate_dependence/Makefile        |       2 +-
       
       3 files changed, 5 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/fig-mohr_coulomb/Makefile b/fig-mohr_coulomb/Makefile
       t@@ -1,6 +1,6 @@
        BIN = ../1d_fd_simple_shear/1d_fd_simple_shear
        FIG != basename $(PWD)
       -N_SEQ != seq 1 20 220
       +N_SEQ != awk 'BEGIN{for(i=1; i<=220; i+=20) print i}'
        
        default: ../$(FIG).pdf
        
 (DIR) diff --git a/fig-parameter_test/Makefile b/fig-parameter_test/Makefile
       t@@ -34,7 +34,7 @@ d.txt: $(BIN)
        mu_s.txt: $(BIN)
                /bin/sh -c '\
                rm -rf $@; \
       -        for mu_s in $$(seq 0.20 0.05 0.70); do \
       +        for mu_s in $$(awk "BEGIN{for (i=0.20; i<0.70; i+=0.05) print i}"); do \
                        printf "$$mu_s\t" >> $@; \
                        ./$(BIN) \
                                -L $(LENGTH) \
       t@@ -70,7 +70,7 @@ C.txt: $(BIN)
        A.txt: $(BIN)
                /bin/sh -c '\
                rm -rf $@; \
       -        for A in 1e-10 $$(seq 0.1 0.10 1.00); do \
       +        for A in 1e-10 $$(awk "BEGIN{for(i=0.1; i<=1.0; i+=0.1) print i}"); do \
                        printf "$$A\t" >> $@; \
                        ./$(BIN) \
                                -L $(LENGTH) \
       t@@ -88,7 +88,7 @@ A.txt: $(BIN)
        b.txt: $(BIN)
                /bin/sh -c '\
                rm -rf $@; \
       -        for b in $$(seq 0.1 0.1 0.9); do \
       +        for b in $$(awk "BEGIN{for(i=0.1; i<=0.9; i+=0.1) print i}"); do \
                        printf "$$b\t" >> $@; \
                        ./$(BIN) \
                                -L $(LENGTH) \
 (DIR) diff --git a/fig-rate_dependence/Makefile b/fig-rate_dependence/Makefile
       t@@ -11,7 +11,7 @@ sim.output00000.txt: $(BIN) Makefile
                for b in 0.01 0.10 0.20 0.40 0.94; do \
                        out="out_b$${b}.txt"; \
                        rm -f "$$out"; \
       -                for t in $$(seq 0.0001 0.002 1.0); do \
       +                for t in $$(awk "BEGIN{for(i=0.0001; i<=1.0; i+=0.002) print i}"); do \
                                printf "$$t\t" >> "$$out"; \
                                ./$(BIN) -m 0.5 -n 100e3 -L 1.0 -f $$t -b $$b sim | \
                                tail -n 1 | cut -f2 >> "$$out"; \