annotate bin/addtodo @ 12508:335a2a849232 draft default tip

<wib_jonas> `` f=/hackenv/bin/dateu; >$f echo $\'#!/bin/bash\\nset -e\\nif (( 1 < $# )); then echo "dateu error: too many command-line arguments. Usage: dateu datetimestring"; exit 2; fi\\nexec date -u ${1:+-d "$1"} "+%Y-%m-%d %H:%M:%S.%3N %z %Z %B %-e %A %G-W%V-%u"\'; chmod a+x "$f"
author HackEso <hackeso@esolangs.org>
date Wed, 03 Jul 2024 18:15:24 +0100
parents 9533a250410d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7915
9533a250410d <moon__> mk bin/addtodo//#!/bin/sh \\n [ "$1" ] || exit 1 \\n printf "%\\n" "$1" >>cmdutil/todo \\n printf "%d) %s" $9qc | cut -d\' \' -f1) "$1"
HackBot
parents:
diff changeset
1 #!/bin/sh \n [ "$1" ] || exit 1 \n printf "%\n" "$1" >>cmdutil/todo \n printf "%d) %s" $9qc | cut -d' ' -f1) "$1"