Re: shell script to cap first letter?
i'm wondering if there is a script that i could run my plaintext files thru that would capitalize thef first letter of each sentence [[ assuming the character wasn't already a cap!]] more and more, in recent years, i have posted questions or written things that have been sloppily or casually hacked together in all lower case. this filter would have to determine what was and was not a sentence. or a sentence fragment. [ai]spell can catch i've and suggest I've, etc. You're asking a lot from a simple filter if you want it to discriminate between uses of . to terminate a sentence, and other uses of . that do not require the following word to be capitalized, such as the use of . in abbreviations -- a lot of fairly sophisticated spelling and grammar checkers can fail to do this reliably. But if you want a naive filter you could use textproc/gsed, with the /U GNU extension (our BSD sed(1) doesn't understand it), e.g.: gsed -e 's|\(\.[.[:space:].]\)\([a-z]\)|\1\U\2|g' or you could use BSD sed(1), together with a more cumbersome capitalization script, like the cflword[12345].sed scripts at: http://sed.sourceforge.net/grabbag/scripts/#txfo Or you could use Perl. Or awk(1). Or script a [non-]interactive call to a more sophisticated spelling or grammar checker. Or roll your own. For questions like this, try searching the web first. b. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: shell script to cap first letter?
On Sun, Mar 21, 2010 at 10:16:22AM -0400, b. f. wrote: i'm wondering if there is a script that i could run my plaintext files thru that would capitalize thef first letter of each sentence [[ assuming the character wasn't already a cap!]] more and more, in recent years, i have posted questions or written things that have been sloppily or casually hacked together in all lower case. this filter would have to determine what was and was not a sentence. or a sentence fragment. [ai]spell can catch i've and suggest I've, etc. You're asking a lot from a simple filter if you want it to discriminate between uses of . to terminate a sentence, and other uses of . that do not require the following word to be capitalized, such as the use of . in abbreviations -- a lot of fairly sophisticated spelling and grammar checkers can fail to do this reliably. But if you want a naive filter you could use textproc/gsed, with the /U GNU extension (our BSD sed(1) doesn't understand it), e.g.: gsed -e 's|\(\.[.[:space:].]\)\([a-z]\)|\1\U\2|g' or you could use BSD sed(1), together with a more cumbersome capitalization script, like the cflword[12345].sed scripts at: http://sed.sourceforge.net/grabbag/scripts/#txfo Or you could use Perl. Or awk(1). Or script a [non-]interactive call to a more sophisticated spelling or grammar checker. Or roll your own. For questions like this, try searching the web first. b. given the sheer i.q. power ofthis list, i almost always ask here first rather thsan hunting for something this obscure. thanks for the url, tho. i'm pretty sure than *someone* has hacked every imagineable function in at least this universe. too bad that there are no web sites that have a library of them. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
shell script to cap first letter?
guys, i'm wondering if there is a script that i could run my plaintext files thru that would capitalize thef first letter of each sentence [[ assuming the character wasn't already a cap!]] more and more, in recent years, i have posted questions or written things that have been sloppily or casually hacked together in all lower case. this filter would have to determine what was and was not a sentence. or a sentence fragment. [ai]spell can catch i've and suggest I've, etc. ideas? -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Links Exhange Invitation Letter
Dear Webmaster, I am seeking out possible link partners that our visitors would be interesting in visiting. I could say that I visited your website and really liked the article that was written about treadmills. Your website seems like it has many excellent articles that I've found your website to be a very good fit for our visitors. I have already gone ahead and added your link to our website at: http://www.suntechpro.com I am contacting you to see if it is ok to have done so. Also, I would like to ask if you mind linking back to us? If so, please use the linking details below and send me the location of our link on your website. Here is our linking details: Title: USB Bluetooth | NDSL PSP Wii | DSTTi | Card Reader | iPod | iPhone | cable adpater | Computer accessory supplier. Description: iPhone iPod PSP NDSL Wii DSTTI CardReader and USB bluetooth Device URL: http://www.suntechpro.com We've got several PR6 to 9 websites, so we expect this site to become at least a PR4-5 within 1 month and will eventually become a 6 or 7 in 2-3 months. I hope this can be a way for us to benefit our visitors with excellent content. Hope to hear from you soon. Best Regards, Stanley Lee www.suntechpro.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Excessive letter-spacing in firefox3 under wine
Tijl Coosemans wrote: On Thursday 29 January 2009 22:02:35 Tore Lund wrote: Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. What exactly did you do to import those fonts? You should put them in a separate directory under /usr/local/lib/X11/fonts, create fonts.scale and fonts.dir in that directory using mkfontscale and mkfontdir, then run fc-cache -f -v and (for completeness) add a FontPath entry to your xorg.conf. Alternatively, you can install the x11-fonts/webfonts port, which contains the most commonly used fonts. I have webfonts. In addition, I copied my Windows fonts to ~/.wine/drive_c/windows/Fonts, thinking that might have something to do with it. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) This formulation is awkward. I meant to say that I wanted flash9 to work with native FreeBSD firefox3. Try to get it to work under linux-firefox first. Thanks for your advice, Tijl. I had already done these things, but the problem, I believe, is that linux firefox3 is a beta. As it happens, I now find that native firefox2 (2.0.0.20) works with my present setup, so I will simply use that version for the time being. I suppose linux firefox2 might also work, but there is no need for me to try it since I now have native firefox2, with flash9, with sound. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Excessive letter-spacing in firefox3 under wine
On Thursday 29 January 2009 22:02:35 Tore Lund wrote: Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. What exactly did you do to import those fonts? You should put them in a separate directory under /usr/local/lib/X11/fonts, create fonts.scale and fonts.dir in that directory using mkfontscale and mkfontdir, then run fc-cache -f -v and (for completeness) add a FontPath entry to your xorg.conf. Alternatively, you can install the x11-fonts/webfonts port, which contains the most commonly used fonts. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) Try to get it to work under linux-firefox first. - Remove all linux-*, linux_base-* and nspluginwrapper packages you've currently installed. - Remove any stale npwrapper plugins from the following directories and their subdirectories: ~/.mozilla/plugins /usr/local/lib/browser_plugins /usr/local/lib/npapi /usr/local/lib/firefox/plugins - Check that you have these settings in each file: * /etc/make.conf: OVERRIDE_LINUX_BASE_PORT=f8 * /etc/sysctl.conf: compat.linux.osrelease=2.6.16 * /etc/rc.conf: linux_enable=YES * /etc/fstab: linprocfs /compat/linux/proc linprocfs rw 0 0 - Reboot or alternatively you can run these commands as root: sysctl compat.linux.osrelease=2.6.16 mount /compat/linux/proc - Install www/linux-firefox and www/linux-flashplugin9. - Check if the plugin works in linux-firefox. - Install www/nspluginwrapper. - Run these commands as root: nspluginwrapper -v -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so ln -sf /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so /usr/local/lib/npapi/symlinks/firefox/ - Check if the plugin works in native firefox. This should get the plugin working, but it'll still crash or freeze the browser sometimes. You can kill the plugin with killall npviewer.bin. You also might want to install a plugin like www/xpi-flashblock. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Excessive letter-spacing in firefox3 under wine
Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Excessive letter-spacing in firefox3 under wine
Tore Lund wrote: Subject line says it all - large gaps between all letters. Here is a screenshot: http://softblur.com/misc/spacing.jpg. I suppose there are others who run firefox3 under wine on 7.1-RELEASE with no problems, so can anyone think of what's wrong? I have imported fonts from my Windows 2000 installation, and I am using the same profile that works well with native FreeBSD firefox and firefox on Windows 2000. I believe this did not happen with firefox2. Grateful for any hint. (Actually, I only use wine in order to get flash9, so if anyone could help me solve this problem instead, that's even better. I have tried the available recipes with no success - my firefox3 just freezes.) The rendering stuff is due to the font wine/firefox is using. I do have ff3 running with similar issues, but I'm sure there's some sort of documentation available to fix it. You're going to want an anti-aliased font, and probably an MS one for greatest compatibility. I've also got flash 10 installed on it and the video is terrible. Hopefully flash 9 works better for you. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
letter
Mr. developers of FreeBSD , do you have to seal FreeBSD in Rushia under anoder trade mark . If you say Yes i wate your answer on this letter at this mail address . OK ? Best regards from Alexsandr Gorlov . -- Яндекс.Фотки - легко загрузить с мобильного http://mobile.yandex.ru/fotki/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to delete mail letter
I use mail command to read mail and quit mail,like follows: $mail ?1 ?q Save 1 message in mbox Then I use mail command again $mail No mail for edward How to delete my letter in mbox which have read? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to delete mail letter
On Mon, 14 Jul 2008 11:26:46 +0800 EdwardKing [EMAIL PROTECTED] wrote: I use mail command to read mail and quit mail,like follows: $mail ?1 ?q Save 1 message in mbox Then I use mail command again $mail No mail for edward How to delete my letter in mbox which have read? man mail [...] Disposing of Mail After examining a message you can delete (d) the message or reply (r) to it. Deletion causes the mail program to forget about the message. This is not irreversible; the message can be undeleted (u) by giving its num- ber, or the mail session can be aborted by giving the exit (x) command. Deleted messages will, however, usually disappear never to be seen again. [...] _ {Beto|Norberto|Numard} Meijome I used to hate weddings; all the Grandmas would poke me and say, You're next sonny! They stopped doing that when i started to do it to them at funerals. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to delete mail letter
On Mon, 14 Jul 2008 11:26:46 +0800, EdwardKing [EMAIL PROTECTED] wrote: How to delete my letter in mbox which have read? To run the mail program when no new mail is available: % mail -f Existing mails in your ~/mbox will be listed with numbers; to delete, use d 1 2 5 or d 1-10, just as you like. Further instructions can be seen in man mail. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: printing a very long-line files with openoffice using letter pages
the poster util is what you want /usr/ports/print/poster POSTER(1) POSTER(1) NAME poster - Scale and tile a postscript image to print on multiple pages SYNOPSIS poster options infile DESCRIPTION Poster can be used to create a large poster by building it from multi- ple pages and/or printing it on large media. It expects as input a generic (encapsulated) postscript file, normally printing on a single page. The output is again a postscript file, maybe containing multiple pages together building the poster. The output pages bear cutmarks and have slightly overlapping images for easier assembling. The input pic- ture will be scaled to obtain the desired size. cheers mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline Sent: Thursday, 31 May 2007 3:47 PM To: FreeBSD Mailing List Subject: printing a very long-line files with openoffice using letter pages People, I have in mind putting, say 6, 8.5x11-inch pages to create a Large page 25.5x11 on which something would be printed. Whatever would be printed in a large typescript could be glued on cardboard or some other solid background. I'm thinking of one of my personal meditations or a Shakespearian sonnet or the Gettysburg address. I need to know if openoffice has the printer settings to do this. Whenever I try to write something in a large font on a letter sized page, the lines wrap; this is not what I want! If OpenOffice isn't the right application, is there any other? (I'm copying the -questions FreeBSD list in case they have a clue.) thanks for any tips/howto/or other apps! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: printing a very long-line files with openoffice using letter pages
On Fri, Jun 01, 2007 at 08:30:04AM +1000, Murray Taylor wrote: the poster util is what you want /usr/ports/print/poster POSTER(1) POSTER(1) NAME poster - Scale and tile a postscript image to print on multiple pages SYNOPSIS poster options infile DESCRIPTION Poster can be used to create a large poster by building it from multi- ple pages and/or printing it on large media. It expects as input a generic (encapsulated) postscript file, normally printing on a single page. The output is again a postscript file, maybe containing multiple pages together building the poster. The output pages bear cutmarks and have slightly overlapping images for easier assembling. The input pic- ture will be scaled to obtain the desired size. hey, thanks, murry!! scribus just finished, but it may be overkill. poster sounds like what I'm looking for; with overlap and cutmarks, yes :-) have a good one, gary ps: i figured there were other hackers who wanted to do this. cheers mjt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Kline Sent: Thursday, 31 May 2007 3:47 PM To: FreeBSD Mailing List Subject: printing a very long-line files with openoffice using letter pages People, I have in mind putting, say 6, 8.5x11-inch pages to create a Large page 25.5x11 on which something would be printed. Whatever would be printed in a large typescript could be glued on cardboard or some other solid background. I'm thinking of one of my personal meditations or a Shakespearian sonnet or the Gettysburg address. I need to know if openoffice has the printer settings to do this. Whenever I try to write something in a large font on a letter sized page, the lines wrap; this is not what I want! If OpenOffice isn't the right application, is there any other? (I'm copying the -questions FreeBSD list in case they have a clue.) thanks for any tips/howto/or other apps! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
printing a very long-line files with openoffice using letter pages
People, I have in mind putting, say 6, 8.5x11-inch pages to create a Large page 25.5x11 on which something would be printed. Whatever would be printed in a large typescript could be glued on cardboard or some other solid background. I'm thinking of one of my personal meditations or a Shakespearian sonnet or the Gettysburg address. I need to know if openoffice has the printer settings to do this. Whenever I try to write something in a large font on a letter sized page, the lines wrap; this is not what I want! If OpenOffice isn't the right application, is there any other? (I'm copying the -questions FreeBSD list in case they have a clue.) thanks for any tips/howto/or other apps! gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Private Letter
DEAR SIR/MADAM, I GREET YOU IN THE NAME OF GOD. I AM KENNEDY KABBA PINTO THE SON OF LATE PERSONAL ASSISTANCE. ON SPECIAL DUTIES TO JONAS SAVIMBA THE LATE ANGOLAN REBEL LEADER, MY DEAR FATHER WAS ASSASSINATED ALONGSIDE PRESIDENT JONAS SAVIMBA THE UNITA REBEL LEADER THIS YEAR BY THE ANGOLAN GOVERNMENT TROOPS. AFTER THE DEATH OF MY FATHER, AS I WAS GOING THROUGH HIS FILES, I STUMBLE ON A DOCUMENT ADDRESS TO ME BY MY LATE FATHER STATING THE EXISTENCE OF $28,000,000M DEPOSITED IN A FINANCE AND SECURITY TRUST COMPANY IN EUROPE AS PRECIOUS STONES (FOR SECURITY REASON) IN ONE OF HIS TRIPS TO EUROPE FOR PURCHASE OF ARMS AND AMMUNITION FOR THE REBEL GROUP. PRESENTLY I AM ON A POLITICAL ASYLUM IN ONE OF THE WEST AFRICAN COUNTRY AVOIDING THE WITCH HUNTING OF ANGOLAN GOVERNMENT TROOPS, BUT ANY MOMENT FROM NOW I WILL MOVE TO LONDON ACTUALLY MY REASON OF CONTACTING YOU IS FOR YOU TO ASSIST ME IN CLAIMING THE FUNDS FROM THE FINANCE SECURITY TRUST COMPANY IN EUROPE AS MY FATHERS BUSINESS PARTNER ABROAD. BECAUSE MY MOVEMENT IS RESTRICTED AS A POLITICAL ASYLUM SEEKER. YOU ARE ENTITLED TO 35% OF THE TOTAL SUM FOR YOUR ASSISTANCE AND I WILL LIKE TO INVEST PART OF THE MONEY IN YOUR COUNTRY INTO A HOTEL BUSINESS, I WILL ALSO WANT YOU TO TREAT THIS BUSINESS AS CONFIDENTIAL AND URGENT, PLEASE ON NO ACCOUNT SHOULD YOU DISCLOSE THIS BUSINESS TO ANYBODY. I WILL WANT YOU TO INDICATE YOUR INTEREST TO ASSIST ME BY CONTACTING ME IMMEDIATELY YOU RECEIVE THIS MESSAGE THROUGH THIS EMAIL ADDRESS.SO THAT I CAN GIVE YOU THE DETAILS. YOUR PRIVATE PHONE AND FAX NUMBERS ALSO NEEDED FOR SWIFT COMMUNICATION. I ALSO WANT TO ASSURE YOU THAT THIS BUSINESS IS 100% RISK FREE BECAUSE THE FUNDS BELONGS TO MY LATE FATHER. I WILL AWAIT YOUR PROMPT RESPONSE. THANKS AND GOD BLESS KENNEDY KABBA PINTO. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message