unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lee Sau Dan <danlee@informatik.uni-freiburg.de>
Subject: Re: Searching for lines longer than x characters possible?
Date: 12 Nov 2002 17:44:28 +0100	[thread overview]
Message-ID: <m3of8ug2kz.fsf@mika.informatik.uni-freiburg.de> (raw)
In-Reply-To: vfr8dsxr9j.fsf@rpc71.cs.man.ac.uk

>>>>> "Phillip" == Phillip Lord <p.lord@russet.org.uk> writes:

>>>>> "David" == David List <david@davidlist.dk> writes:
    David> I would like to go through some program source files before
    David> converting them to ps, to check for lines longer than, for
    David> instance, 80 characters, so that I don't get strange
    David> looking ps files.

    David> Is this possible with emacs?

Doesn't 'grep' do this already?
        grep '.\{80\}' ~/archive/viag.tex

Use the "-l" flag if you only want the filenames, not file contents.
Moreover, you can invoke grep from within Emacs: M-x grep


-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

  reply	other threads:[~2002-11-12 16:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-08 16:03 Searching for lines longer than x characters possible? David List
2002-11-08 16:52 ` Barry Margolin
2002-11-08 17:12 ` Stefan Monnier <foo@acm.com>
2002-11-08 17:28 ` Alex Schroeder
2002-11-09 10:20 ` David List
2002-11-11 11:47 ` Phillip Lord
2002-11-12 16:44   ` Lee Sau Dan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-08 18:50 Bingham, Jay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3of8ug2kz.fsf@mika.informatik.uni-freiburg.de \
    --to=danlee@informatik.uni-freiburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).