2013-01-27 22:36:05 +00:00
|
|
|
#!/bin/awk -f
|
|
|
|
|
|
|
|
BEGIN {
|
|
|
|
phrases=", like,\
|
|
|
|
, y'know,\
|
|
|
|
, or whatever,\
|
|
|
|
, umm,\
|
|
|
|
, for sure,"
|
|
|
|
|
|
|
|
len=split (phrases, phrase, /\n/)
|
2013-01-27 22:46:31 +00:00
|
|
|
len=len+1
|
2013-01-27 22:36:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
split ( $0, parts, /,/)
|
|
|
|
for (i=1; i<length(parts); i++) {
|
|
|
|
printf "%s", parts[i]
|
|
|
|
ind = int(rand * len)
|
|
|
|
printf "%s", phrase[ind]
|
|
|
|
}
|
|
|
|
print parts[i]
|
|
|
|
# print $0
|
|
|
|
}
|
|
|
|
|