beatnik | PERL script for generating random Beatnik poetry | Command Line Interface library
kandi X-RAY | beatnik Summary
kandi X-RAY | beatnik Summary
Beatnik Box script for generating random Beatnik poetry. I made this for an experimental video project back in 2003, when I was like 20 years old. It was pretty much the first program I ever wrote. In the end, the device that used it looked sort of like a 386 threw up in a fishtank. See here:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of beatnik
beatnik Key Features
beatnik Examples and Code Snippets
Community Discussions
Trending Discussions on beatnik
QUESTION
I am given this paragraph:
*Cast and characters
* Bob Denver is Gilligan, the inept, accident-prone First Mate
(affectionately known as "Little Buddy" by "the Shipper") of the SS Minnow. Denver was not the first choice to play Gilligan; actor Jerry Van Dyke, phone 210-222-3333, was offered the role on 2/11/1963, but he turned it down, believing that the show would never be successful. He chose instead to play the lead in My Mother the Car, which premiered the following year and was cancelled after one season. The producers looked to Bob Denver, the actor who had played Maynard G. Krebs, ss #111-22-3333, the goofy but lovable beatnik in The Many Loves of Dobie Gillis. None of the show's episodes ever specified Gilligan's full name or clearly indicated whether "Gilligan" was the character's first name or his last. In the DVD collection, Sherwood Schwartz states that he preferred the full name of "%Willy Gilligan%" for the character.
My goal is to make "%Willy Gillgan%"
into ""
using sed. I have tried s/%[^%]*%//
but it also interferes with another sed command s/[0-9]{3}-[0-9]{2}-[0-9]{4}/%%%-%%/%%%%/
that changes #111-22-3333
into #%%%-%%-%%%%
. It deletes 2 %'s turning into #%-%%-%%%%
incorrectly.
Here are my other sed commands incase it might interfere with something else:
s+([0-9]{1,2})-([0-9]{1,2})-([0-9]{4})+\3-\2-\1+g
converts date format
/[*]\s/i\
\n* ATTENTION *\n
adds the line * ATTENTION * and a newline when it encounters "* " anywhere in the paragraph.
This is what my script file looks like:
s/[0-9]{3}-[0-9]{2}-[0-9]{4}/%%%-%%/%%%%/
s+([0-9]{1,2})-([0-9]{1,2})-([0-9]{4})+\3-\2-\1+g
s/%[^%]*%//
/[*]\s/i\
\n* ATTENTION *\n
Any help is greatly appreciated.
...ANSWER
Answered 2019-Feb-24 at 21:45Try:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install beatnik
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page