in reply to Re: newline substitution is removing text too
in thread newline substitution is removing text too

I don't remember the modules off-hand, but that wasn't one of them. I'll consider trying that one as well, thanks!

As to the problem, I made it print to a file (previously just to the terminal window), and it worked fine.

So... know anything about how OSX's bash terminal handles large lines of text, and why it might be cutting that out?

  • Comment on Re^2: newline substitution is removing text too

Replies are listed 'Best First'.
Re^3: newline substitution is removing text too
by graff (Chancellor) on Jan 22, 2007 at 03:47 UTC
    I was actually using macosx/Terminal myself when trying your sample code, and it looked okay to me. I suppose sometimes if you are using the "more" or "less" pager and resizing the window, things can end up getting a little messy, but there's nothing in the example per se that would cause Terminal to drop or hide characters.
      "more" or "less" pager? Sorry, I don't know what that is...
        If your shell environment and PATH are similar to mine, "more" is actually just a synonym (alias) for "less", and you can try "man less" at the command line to read all about it. It's a very handy tool with a long, venerated history in unix-land. (If you use perldoc at the command line -- and I recommend that -- it should be piping its output to "less" by default.)