| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| These three work fine as mutt-pats for "l" (ell) commmand: ! ( ~f dkcombs | ~s pacifica | ~s alliance | ~s wbai | ~f huffingtonpost | ~f commondreams | ~f tompaine | ~f alternet | ~s lynx | ~f palast | ~f motherjones ) ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" ) ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "adult " ) ( ~s "macy " ) But not these two: ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ~s "long" | ~s adult " | ~s "dear " ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" | ~s adult " | ~s "dear " ) Why not? Oh, please document (or better yet, fix!), any trailing whitespace IS NOT AUTOMATICALLY TRIMMED AWAY. The FIX is for mutt to of course do a "trim" at both ends. (If someone *wants* trailing spaces in a pattern, he can/should us quotes) Thanks! David |
|
#2
| |||
| |||
| * David Combs, 2008-09-15 17:21 UTC: > ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ~s "long" | ~s adult " | ~s "dear " > ! ( ~s "pacifica" | ~s "alliance" | ~s "wbai" ) ( ~s "long" | ~s adult " | ~s "dear " ) > Why not? Both have unmatched quote characters. > Oh, please document (or better yet, fix!), any trailing whitespace > IS NOT AUTOMATICALLY TRIMMED AWAY. > The FIX is for mutt to of course do a "trim" at both ends. Mutt takes user input. Why should it modify that? > (If someone *wants* trailing spaces in a pattern, he can/should us quotes) If someone does not want trailing spaces, do not enter them. Eike -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.