Commit 01bb616f authored by Roshan Rabinarayan's avatar Roshan Rabinarayan

added solution to q6

parent 12795161
idiot faggot
mind-fuck
redneck
Don't wanna be an American idiot
Don't want a nation under the new mania
And can you hear the sound of hysteria?
The subliminal mind-fuck America
Welcome to a new kind of tension
All across the alien nation
Where everything isn't meant to be okay
Television dreams of tomorrow
We're not the ones who're meant to follow
For that's enough to argue
Well maybe I'm the faggot America
I'm not a part of a redneck agenda
Now everybody do the propaganda
And sing along to the age of paranoia
Welcome to a new kind of tension
All across the alien nation
Where everything isn't meant to be okay
Television dreams of tomorrow
We're not the ones who're meant to follow
For that's enough to argue
#!/bin/sh
lyrics=$1
cussWords=$2
DONE=false
out="";
until $DONE; do
read s || DONE=true
for words in $s
do
if grep -q "$words" $2
then
out="$out bleep"
else
out="$out $words"
fi
done
done < $lyrics
echo $out
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment