publist

managing my list of publications, talks, reviews
git clone https://a3nm.net/git/publist/
Log | Files | Refs | README | LICENSE

includes.sh (441B)


      1 #!/bin/bash
      2 # replace INCLUDE tags by list of recent publis, talks, reviews
      3 
      4 # no longer used
      5 #
      6 cd ~/public_html
      7 for a in en fr
      8 do
      9   sed -i "/INCLUDEPUBLI/{
     10   r $DIR/publist/publis_main.html.$a
     11   d
     12   }" index.html.$a
     13 done
     14 
     15 for a in en fr
     16 do
     17   sed -i "/INCLUDETALK/{
     18   r $DIR/publist/talks_last.html.$a
     19   d
     20   }" index.html.$a
     21 done
     22 
     23 for a in en fr
     24 do
     25   sed -i "/INCLUDEREVIEWS/{
     26   r $DIR/publist/reviews_${a}.html
     27   d
     28   }" index.html.$a
     29 done
     30