bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #39405] feature request: whitespace trimming


From: Martin Lukeš
Subject: [bug #39405] feature request: whitespace trimming
Date: Wed, 03 Jul 2013 12:17:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

URL:
  <http://savannah.gnu.org/bugs/?39405>

                 Summary: feature request: whitespace trimming
                 Project: grep
            Submitted by: meridius
            Submitted on: Wed 03 Jul 2013 12:17:15 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I think it would make so much lives a lot easier if grep could support
whitespace trimming of results.
Common example is when you grep-ing any tab/space indented code. This is when
grep presents you with this:
klient2/box_zpros_zam_new.php:47:                                               
        $('#fancy_zpros_zam_sel').attr('href',
'box_zpros_zam.php?id_clovek=' + id_clovek + '&id=' + ui.item.value);

when it would be so much better if it trims the starting (and ending)
tabs/spaces and gave you this instead:
klient2/box_zpros_zam_new.php:47: $('#fancy_zpros_zam_sel').attr('href',
'box_zpros_zam.php?id_clovek=' + id_clovek + '&id=' + ui.item.value);


What do you think?




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39405>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]