How To Rewrap Lines To Specified Length In Folder Of Files
Hello Again, Another question... I have a folder which presently contains several hundred BBEdit files. I want to rewrap the lines in each file at 76 characters per line. Is there a way to do this globally, just as you would do on an individual file using command + backslash? If so, how would I accomplish this? Thanks so much! WW -- EPN Website : http://www.endtimeprophecy.net EPN Blog: http://www.endtimeprophecy.net/Blog/ EPN RSS Feed: http://www.endtimeprophecy.net/EPN-RSS-Feed.xml Top Christian Sites : http://www.topchristiansites.org Armageddon BBS : http://www.endtimeprophecy.net/ArmageddonBBS/ Facebook: http://www.facebook.com/profile.php?id=11989026091 Tumblr : http://endtime-prophecy-net.tumblr.com Twitter : http://twitter.com/WordWeaver777 -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: How To Rewrap Lines To Specified Length In Folder Of Files
I wish you would not start a new thread by replying to another. Other peoples' mail clients display your message as part of the other thread. On 17 Mar 2011, at 3:17 AM, Webmaster wrote: I have a folder which presently contains several hundred BBEdit files. I want to rewrap the lines in each file at 76 characters per line. Is there a way to do this globally, just as you would do on an individual file using command + backslash? See if the fmt command-line tool works for you, or possibly fold. If it does, then make a Text Factory having the Run Unix Filter command. — F -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: How To Rewrap Lines To Specified Length In Folder Of Files
At 7:46 AM -0500 on 3/17/11, Fritz Anderson wrote: I wish you would not start a new thread by replying to another. Other peoples' mail clients display your message as part of the other thread. I'm sorry, but I have no idea what you are talking about. I am not replying to another thread, and neither am I even posting my messages online in Google Groups using a web browser. Whenever I have an issue that I need help with, I in fact create a brand new message on my Mac using Eudora 6.2.4. I use bbedit@googlegroups.com in the To field and a new title in the Subject field. I have no idea how or why that is happening on your end, but I never even go to Google groups to create messages. On 17 Mar 2011, at 3:17 AM, Webmaster wrote: I have a folder which presently contains several hundred BBEdit files. I want to rewrap the lines in each file at 76 characters per line. Is there a way to do this globally, just as you would do on an individual file using command + backslash? Fritz Anderson responded: See if the fmt command-line tool works for you, or possibly fold. If it does, then make a Text Factory having the Run Unix Filter command. I'm sorry, but my knowledge of these things is very limited. I am not an advanced BBEdit user like so many other people here apparently seem to be. I have no idea what the fmt command-line tool is. I have no idea what fold is. I have no idea what the Run Unix Filter command is. My knowledge of Unix, the Terminal and command line tools could fit in a tea cup. It's all Greek to me. Would you care to explain all of that in simple, step-by-step English? Thanks! WW -- EPN Website : http://www.endtimeprophecy.net EPN Blog: http://www.endtimeprophecy.net/Blog/ EPN RSS Feed: http://www.endtimeprophecy.net/EPN-RSS-Feed.xml Top Christian Sites : http://www.topchristiansites.org Armageddon BBS : http://www.endtimeprophecy.net/ArmageddonBBS/ Facebook: http://www.facebook.com/profile.php?id=11989026091 Tumblr : http://endtime-prophecy-net.tumblr.com Twitter : http://twitter.com/WordWeaver777 -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Deliberately hijacked thread, Webmaster
At 07:46 -0500 3/17/11, Fritz Anderson wrote: I wish you would not start a new thread by replying to another. Other peoples' mail clients display your message as part of the other thread. The offending posting came from Webmaster webmas...@endtimeprophecy.net and contained these headers: Message-Id: p06240800c9a7731b2b79@[192.168.1.103] In-Reply-To: r420ps-1066i-61806CD03970405B874EEA2932E5E543@Volante.local References: r420ps-1066i-61806CD03970405B874EEA2932E5E543@Volante.local Date: Thu, 17 Mar 2011 18:17:24 +1000 To: bbedit@googlegroups.com From: Webmaster webmas...@endtimeprophecy.net Subject: How To Rewrap Lines To Specified Length In Folder Of Files A search in the list for previous messages produced these: Rich Siegel09:14 3/16/11 Re: How To Append Text String To EOF Using Global FR Webmaster 09:45 3/16/11 Re: How To Append Text String To EOF Using Global FR Webmaster 02:17 3/17/11 How To Rewrap Lines To Specified Length In Folder Of Fi Fritz Anderson 06:46 3/17/11 Re: How To Rewrap Lines To Specified Length In Folder O Webmaster 07:31 3/17/11 Re: How To Rewrap Lines To Specified Length In Folder O Note that mail clients which use those In-Reply-To and Reference headers confuse, in this case, three separate topics because they are linked to each other. Linking is accomplished for users whenever they use the reply to option in their mail clients. Changing the subject line on a reply is NOT equivalent to creating a new message! That is rarely understood by email users. It's a shame that mail clients don't make it apparent to users. I guess it's because software salesmen don't want to confuse their users. -- --A flashlight: is a metal tube used to store dead dry cells. -- -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Deliberately hijacked thread, Webmaster
I'm sorry fellas, but this is all a bit confusing to me. Here is exactly what my original message looks like in my email client: -- To: bbedit@googlegroups.com From: Webmaster webmas...@endtimeprophecy.net Subject: How To Rewrap Lines To Specified Length In Folder Of Files Cc: Bcc: Hello Again, Another question... I have a folder which presently contains several hundred BBEdit files. I want to rewrap the lines in each file at 76 characters per line. Is there a way to do this globally, just as you would do on an individual file using command + backslash? If so, how would I accomplish this? Thanks so much! WW -- That is exactly what is in my email client window for that message. If I somehow did something wrong, I apologize, but I also find it rather offensive that someone is now blowing this issue out of proportion, and accusing me of deliberately hijacking a thread. I am not a pirate or a hijacker, and I don't intentionally break any rules. I wouldn't know how to hijack something if I tried. My skills are limited to designing our website with basic HTML and some CSS, and working with images in Photoshop. That is about it. I am not a programmer or a hacker of any sort; the Terminal is for the most part foreign to me; and there are a lot of things discussed on this BBEdit support list that I am absolutely clueless about. Anyway, I rarely post on this list, because my needs aren't that great. Occasionally, there is just something that I don't know how to do in BBEdit, so I ask for help here. So far, only one person has responded on topic to my original request for information, and what he said is over my head. I would appreciate if someone here could please provide a simpler, clearer answer regarding how to rewrap lines to a specific length in a folder full of BBEdit files. Thanks, WW -- EPN Website : http://www.endtimeprophecy.net EPN Blog: http://www.endtimeprophecy.net/Blog/ EPN RSS Feed: http://www.endtimeprophecy.net/EPN-RSS-Feed.xml Top Christian Sites : http://www.topchristiansites.org Armageddon BBS : http://www.endtimeprophecy.net/ArmageddonBBS/ Facebook: http://www.facebook.com/profile.php?id=11989026091 Tumblr : http://endtime-prophecy-net.tumblr.com Twitter : http://twitter.com/WordWeaver777 -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Deliberately hijacked thread, Webmaster
Changing the subject line on a reply is NOT equivalent to creating a new message! That is rarely understood by email users. It's a shame that mail clients don't make it apparent to users. I guess it's because software salesmen don't want to confuse their users. To be fair, the opposite is a bit true: until recently (say, the last five years?), most mail clients *did not* listen to Thread-Ids and thus, changing the subject line *did* make it seem like things were brand new. Only recently (comparatively) have mail clients started making threadable interfaces. One can thus infer that mail clients /taught/ users to break things and only now are they going “whoops”. -- Morbus Iff ( i desire penance for your sins ) http://www.disobey.com/ and http://www.disobey.com/wiki/ twitter: @morbusiff / skype: morbusiff / irc.freenode.net, Morbus An O'Reilly author and blogger: http://www.oreillynet.com/pub/au/779 -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Deliberately hijacked thread, Webmaster
Perhaps the orgional poster wasn't as mild as he could've been. I'm sure he was just trying to help out. All that's being said is that when starting a new topic, please create a new email instead of trying to start it by hitting a reply button and wiping out the text/subject. If that's what you did, great, if not well you learned something new. As for the instructions someone gave you. One of the nice things about the Mac is it comes from a Unix background and as such has all the standard Unixy programs still there under the hood. What you've asked for is fairly basic stuff that is already provided. If you open a Terminal, you can get information on the commands as given. 1. Open Terminal.app 2. Type: `man fmt` (exclude the quotes): FMT(1)BSD General Commands Manual FMT(1) NAME fmt -- simple text formatter SYNOPSIS fmt [-cmnps] [-d chars] [-l num] [-t num] [goal [maximum] | -width | -w width] [file ...] DESCRIPTION The fmt utility is a simple text formatter which reads the concatenation of input files (or stan- dard input if none are given) and produces on standard output a version of its input with lines as close to the goal length as possible without exceeding the maximum. The goal length defaults to 65 and the maximum to 10 more than the goal length. Alternatively, a single width parameter can be specified either by prepending a hyphen to it or by using -w. For example, ``fmt -w 72'', ``fmt -72'', and ``fmt 72 72'' all produce identical output. The spacing at the beginning of the input lines is preserved in the output, as are blank lines and interword spacing. Lines are joined or split only at white space; that is, words are never joined or hyphenated. ... 3. Type: `man fold` FOLD(1) BSD General Commands Manual FOLD(1) NAME fold -- fold long lines for finite width output device SYNOPSIS fold [-bs] [-w width] [file ...] DESCRIPTION The fold utility is a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have a maximum of 80 columns. ... Now, you can type the commands and make that work. Once you know how to do it from the commandline, you can always find a way to do it via BBEdit. Look in the manual for Run Unix Filter and Text Factory. Of course, if you just have a directory full of files and it's a one-off thing, just do it from the Terminal command line and call it good. You can gain huge power by learning to use your commandline tools. It's one of the reasons I'm able to use my Mac when doing things like writing Linux kernel code. - Steve On Thu, Mar 17, 2011 at 9:20 AM, Webmaster webmas...@endtimeprophecy.net wrote: I'm sorry fellas, but this is all a bit confusing to me. Here is exactly what my original message looks like in my email client: -- To: bbedit@googlegroups.com From: Webmaster webmas...@endtimeprophecy.net Subject: How To Rewrap Lines To Specified Length In Folder Of Files Cc: Bcc: Hello Again, Another question... I have a folder which presently contains several hundred BBEdit files. I want to rewrap the lines in each file at 76 characters per line. Is there a way to do this globally, just as you would do on an individual file using command + backslash? If so, how would I accomplish this? Thanks so much! WW -- That is exactly what is in my email client window for that message. If I somehow did something wrong, I apologize, but I also find it rather offensive that someone is now blowing this issue out of proportion, and accusing me of deliberately hijacking a thread. I am not a pirate or a hijacker, and I don't intentionally break any rules. I wouldn't know how to hijack something if I tried. My skills are limited to designing our website with basic HTML and some CSS, and working with images in Photoshop. That is about it. I am not a programmer or a hacker of any sort; the Terminal is for the most part foreign to me; and there are a lot of things discussed on this BBEdit support list that I am absolutely clueless about. Anyway, I rarely post on this list, because my needs aren't that great. Occasionally, there is just something that I don't know how to do in BBEdit, so I ask for help here. So far, only one person has responded on topic to my original request for information, and what he said is over my head. I would appreciate if someone here could please provide a simpler, clearer answer regarding how to rewrap lines to a specific length in a folder full of BBEdit files. Thanks, WW -- EPN Website : http://www.endtimeprophecy.net EPN Blog : http://www.endtimeprophecy.net/Blog/ EPN RSS Feed : http://www.endtimeprophecy.net/EPN-RSS-Feed.xml Top Christian Sites :
Re: Deliberately hijacked thread, Webmaster
On Thu, Mar 17, 2011 at 11:03:07AM -0700, Steve deRosier wrote: Perhaps the orgional poster wasn't as mild as he could've been. I'm sure he was just trying to help out. All that's being said is that when starting a new topic, please create a new email instead of trying to start it by hitting a reply button and wiping out the text/subject. If that's what you did, great, if not well you learned something new. Is certain he didn't use New, but used Reply, else the hidden threading headers could not have been included. Am not certain he learned anything. Proof is his, But it looked like this to me reply. I don't remember what the command is in Eudora to view full headers but its Command-U in several others. Next wish is that we could do something about top-post-no-trim replies ... -- David Kelly N4HHE, dke...@hiwaay.net Whom computers would destroy, they must first drive mad. -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit