Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Challenge: Reading Banner Text

by ambrus (Abbot)
on Aug 26, 2010 at 15:17 UTC ( [id://857481]=note: print w/replies, xml ) Need Help??


in reply to Re: Challenge: Reading Banner Text
in thread Challenge: Reading Banner Text

That might be a good start, but it needs more work because with small enough width there might not be an empty line between two adjacent characters. Eg.

[am]omnibus ~$ banner -w 60 hello ## # ######################################### ######################################### ######################################### ######################################### ## ## ## ### #### #### ######################### ######################## ####################### ##################### ## ######## ############### ################## ##################### #### ## #### ## ## ## ## ## ## ## ## ## ## ## ### # ## ### ## ## ###### ### ########### ## ########## ######## ## # ######################################### ######################################### ######################################### ######################################### ## ## # ######################################### ######################################### ######################################### ######################################### ## ######## ############### ################## ##################### #### #### ## ## ## ## ## ## ## ### ## ## #### #### ##################### ################## ############### ######## [am]omnibus ~$

The company knows this and will use a small enough width.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://857481]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-23 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found