* Re: Line Length Help @ 2002-10-22 8:24 Peter 2002-10-23 11:38 ` Jude DaShiell 0 siblings, 1 reply; 3+ messages in thread From: Peter @ 2002-10-22 8:24 UTC (permalink / raw) To: linux Peter said: > Hi, > If I safe with Lynx a text in html format to a file.txt the lines are > at the most 60 col long. > How can I change that to let say 90 col in order to get more text on > one page for print-out? > Would sed do the trick, but how? > Since I did not get any answer I arrived with trial and error at the following to do the trick, almost: tr -d '\012' < file.txt | groff -ms | lpr This finally removes whatever is stubbornly holding the line length to 60 characters and prints ca. 100 characters on one line. Except it also removes the empty lines between paragraphs. Anyone there who knows how to solve this final obstacle? Thanks and regards -- Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Line Length Help 2002-10-22 8:24 Line Length Help Peter @ 2002-10-23 11:38 ` Jude DaShiell 2002-10-24 2:28 ` Peter 0 siblings, 1 reply; 3+ messages in thread From: Jude DaShiell @ 2002-10-23 11:38 UTC (permalink / raw) To: Peter; +Cc: linux I think fmt and newfmt both have line length command line switches. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Line Length Help 2002-10-23 11:38 ` Jude DaShiell @ 2002-10-24 2:28 ` Peter 0 siblings, 0 replies; 3+ messages in thread From: Peter @ 2002-10-24 2:28 UTC (permalink / raw) To: Jude DaShiell; +Cc: linux Thank you so much Jude! This will safe me up to 1/3rd of my print paper. jdashiel@shellworld.net said: > I think fmt and newfmt both have line length command line switches. This brings to question how does one know what are all the goodies hidden in the Linux box? By going thru all the Linux user commands in "Linux In A Nutshell" and with luck find the right command. May be O'Reilly should make an arrangement of the commands by function as well instead of only alphabetically. Regards -- Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-24 2:28 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-10-22 8:24 Line Length Help Peter 2002-10-23 11:38 ` Jude DaShiell 2002-10-24 2:28 ` Peter
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.