Skip to content

Instantly share code, notes, and snippets.

@terceranexus6
Created October 26, 2015 10:22
Show Gist options
  • Save terceranexus6/29078a507d14379a2278 to your computer and use it in GitHub Desktop.
Save terceranexus6/29078a507d14379a2278 to your computer and use it in GitHub Desktop.
haiku writer for your dash. Just because you sometimes are inspired, and happen to be in the terminal.
#!/bin/bash
#by @terceranexus6
#this is a haiku writer
read -p"write firt line: " LINEA1
read -p"write second line: " LINEA2
read -p"write third line: " LINEA3
read -p"name of the haiku (add .txt): " NOMBRE
touch $NOMBRE
echo $LINEA1 >> $NOMBRE
echo '*******' >> $NOMBRE
echo $LINEA2 >> $NOMBRE
echo '*******' >> $NOMBRE
echo $LINEA3 >> $NOMBRE
echo '*******' >> $NOMBRE
echo 'by: ' >> $NOMBRE
echo $USER >> $NOMBRE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment