("Thf Mfbu Ppfu\n")

#!/bin/bash
# The Meat Poet
# By James W.
#     Morris
# save to the_meat_poet, and to run, type:
#     chmod +x the_meat_poet
#     ./the_meat_poet
OCFILE="the_meat_poet.c"
cat > $OCFILE <<END_OF_CUT
#include<stdio.h>
/* The Meat Poet *
 * By James      *
 *     W. Morris */
int main(void)
{
    printf("Thf Mfbu Ppfu\n");
    printf("\tPpfuiy\n");
END_OF_CUT
IND="    "
PF="${IND}printf(\""
EL="\n\");"
echo "${PF}Subnebse Inqvu/Ovuqvu$EL" >> $OCFILE
echo "${PF}Ppvu tubnet in fps uppu uppu$EL" >> $OCFILE
echo "${PF}Flpvu uhf sinnfe pf gspvu clvuf$EL" >> $OCFILE
echo "${PF}Hpx't uhf tin(pf gsffn thpput)?\n$EL" >> $OCFILE
cat >> $OCFILE <<OFF_THE_BONE
    printf("Off uhf cpnf, bll blpnf...$EL
    printf("Rpvne uhf dpnf, tqffey uhspnf...$EL
    printf("Fpsmbu tusing upmf, gspbn...\n$EL
OFF_THE_BONE
# W-e- D-o-n-t- N-e-e-d- N-o- I-t-e-r-a-t-i-o-n-s-
# All in all - we're just another bit in the -Wall
echo "/* void type sly pipe fly like might brine   *" >>$OCFILE
echo " * bringing brimming blinging binging hinges *" >>$OCFILE
echo " * no don't give nothing back.               */">>$OCFILE
echo "${PF}I give you nothing in return.\n$EL"        >>$OCFILE
echo "${IND}return 0;">>$OCFILE
echo "}" >> $OCFILE
echo "Bashed been binned."
BIN=the_poet_met
gcc -Wall -o $BIN $OCFILE
./$BIN | tr b-f a-e | tr p-y o-x
cat $OCFILE | grep -n [*]
rm $BIN $OCFILE -v
  

Information

"("Thf Mfbu Ppfu\n")"

A working but nonsensical Bash script playing with language(s).

Journal entry - 12:32 Saturday 9 May 2009

DISCLAIMER: The opinions and attitudes of James W. Morris as expressed here in the past may or may not accurately reflect the opinions and attitudes of James W. Morris at present, moreover, they may never have.

Comments

this page last updated:29th April 2013 jwm-art.net (C) 2003 - 2017 James W. Morris

script time:0.0251