X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=processor%2Ffeed.xml.do;h=1e492ebc47f8b4e7f1f2eb25e8598c0d985fd5ab;hb=40b6e84ca0b49be896d60457b43374ab929d2737;hp=4f67b271657b210680b3f65a5951ca25b4a67c94;hpb=eb9cbfe0b76e217743a18950693d90ebd3a20690;p=redo-blog 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"