view bin/makelist @ 11664:39008ff3589c draft

<b_jonas> `` f=bin/dateu; >$f echo $\'#!/bin/sh\\n\'\'exec date -u "+%Y-%m-%d %H:%M:%S.%N %z %Z %B %-e %A %G-W%V-%u"\'; chmod -c a+x "$f"
author HackEso <hackeso@esolangs.org>
date Thu, 06 Dec 2018 22:16:15 +0000
parents ed0a4712257a
children a7268c15a964
line wrap: on
line source

if [[ "$1" == *" "* ]]; then exec makelist $@; fi; name="$1"; file="bin/$name"; makelistlist "$name"; shift; cp bin/emptylist "$file"; for n in "$@"; do echo "$n" >> "$file"; done