Re: A little bash/perl programming help?



Ivan Marsh wrote:

On Thu, 27 Sep 2007 19:20:34 +0000, Robert Newson wrote:


Ivan Marsh wrote:


(For the record: No, it's not homework. I'm trying to write a script I
just lost when a very old server died.)

That's the best excuse yet...much better than the dog ate my
homework...[no, I'm training to be a teacher]

Time ate my RS/6000 F50 (poor thing).

Turns out the script I'm trying to write is even more complicated than I
thought.

It didn't just print 1234567890... it printed:

1 2 3
123456789012345678901234567890...

I know I've seen programs do this before so there must be some fairly
common logic to it, but I can't figure it out.

If you don't want a varying length header, then just print 2 lines, as in:

print 1 2 3
print 123456789012345678901234567890123...

Or am I missing something here?

.



Relevant Pages

  • RE: Lost quorum
    ... need 1 HBA and one connection from the server to the storage. ... | Thread-Topic: Lost quorum ... The disk I tried to ... |> with clusdisk and the cluster service disabled and only one server ...
    (microsoft.public.windows.server.clustering)
  • Re: Cant login anymore since an update
    ... The application 'gnome-session' lost its connection to the display:0.0; ... most likely the X server was shut down or you killed/destroyed the application. ...
    (Debian-User)
  • Cant login anymore since an update
    ... The application 'gnome-session' lost its connection to the display:0.0; ... most likely the X server was shut down or you killed/destroyed ...
    (Debian-User)
  • Re: ...and they thought Caesar had Gaul...
    ... Nice try on their part, but the substitution of Outlook for Notes, ... exactly no effect on archived mail stored on the server. ... of having my e-mail hosted on test versions of the Microsoft Exchange ... and certainly haven't lost any archived mail. ...
    (rec.arts.sf.fandom)
  • Re: The beat gos on...
    ... not being here expressing gratitude and supporting the newcomer". ... Another problem, which is just an excuse, AT&T dropped Newsnet, and I ...  And I almost lost you, ...
    (alt.support.stop-smoking)