• weex
    link
    3
    edit-2
    2 years ago

    Is there a cowthink?

  • ☆ Yσɠƚԋσʂ ☆OP
    link
    32 years ago

    bonus version

    #!/bin/bash
    
    cowfile=cow$$
    echo "" > ${cowfile}
    
    for line in "is this the real life?" \
       "is this just fantasy?" \
       "any way the wind blows" \
       "doesn't really matter" 
    do
      cow=`cat ${cowfile}`
      echo -e "${cow}\n${line}" | cowsay -n > ${cowfile}
    done
    
    cat ${cowfile}