X-Git-Url: https://plomlompom.com/repos/?p=redo-blog;a=blobdiff_plain;f=processor%2Ffeed.xml.do;h=1e492ebc47f8b4e7f1f2eb25e8598c0d985fd5ab;hp=4f67b271657b210680b3f65a5951ca25b4a67c94;hb=8d2ae126b20e8548a846b335367482410d533fd9;hpb=eb9cbfe0b76e217743a18950693d90ebd3a20690 diff --git a/processor/feed.xml.do b/processor/feed.xml.do index 4f67b27..1e492eb 100644 --- a/processor/feed.xml.do +++ b/processor/feed.xml.do @@ -36,7 +36,7 @@ printf "urn:uuid:%s\n" "$uuid" # Iterate through most recent entries (go by lastmod date of source files) to # build feed head "updated" element, and individual entries. # FIXME: This ls parsing is a bad way to loop through the sorted files. Besides, -# $('\0') is a bashism. +# $'\0' is a bashism. first_run=0 files=`ls -1t *.rst *.md | head -10 | tr '\n' $'\0'` oldIFS="$IFS"