Skip to content

Instantly share code, notes, and snippets.

@nefo-mi
Created May 28, 2011 06:25
Show Gist options
  • Save nefo-mi/996664 to your computer and use it in GitHub Desktop.
Save nefo-mi/996664 to your computer and use it in GitHub Desktop.
80個の"="でできた罫線を出力するワンライナー
$ i=0; while [ $i -le 80 ]; do s=$s'='; i=`expr $i + 1`; done;echo $s
$ echo `yes = | head -n 80` |sed 's/\s//g'
$ echo `yes = | head -n 80` |sed 's/ //g'
$ echo ''|dd cbs=80 conv=block |sed 's/ /=/g'
$ perl $ ruby -e "puts '='*80"
$ ruby -e "puts '='*80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment