Skip to content

Instantly share code, notes, and snippets.

@saihoooooooo
Created June 25, 2013 07:39
Show Gist options
  • Select an option

  • Save saihoooooooo/5856685 to your computer and use it in GitHub Desktop.

Select an option

Save saihoooooooo/5856685 to your computer and use it in GitHub Desktop.
チェケ
#!/bin/bash
minute=`date "+%M"`
second=`date "+%S"`
if [ ${minute} -lt 5 ]; then
echo "オレ ホンキ デナイ タスケテ"
else
m=`expr 59 - ${minute}`
s=`expr 60 - ${second}`
if [ ${s} -eq 60 ]; then
m=`expr ${m} + 1`
s=0
fi
echo "アト ${m}フン ${s}ビョウデ ホンキ デル"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment