Re: bash, grep, and regular expressions

From: Todd A. Jacobs (nospam_at_codegnome.org)
Date: 02/18/05

  • Next message: Freddy Freeloader: "Re: bash, grep, and regular expressions"
    Date: Fri, 18 Feb 2005 09:49:38 -0800
    To: Debian User List <debian-user@lists.debian.org>
    
    

    On Fri, Feb 18, 2005 at 03:58:42AM -0800, Freddy Freeloader wrote:

    > I appreciate your input but neither one of the expressions filter
    > anything on my machines. They both return sets that include

    Then you're obviously having problems with your pipes and/or shell
    quoting. This works fine with 2.05b. If I were you, I'd use "set -x -v"
    to see what's going on, as well as finding out if you have any weird
    shopt options set.

    You might also want to look at your aliases, and find out if you've done
    something weird there. You can also run bash with the --norc and
    --noprofile flags, to ensure that you're starting with a clean slate.
    You might even want to try using a different account that hasn't been
    futzed with, to see if you still have problems.

    Since it works for everyone *but* you, the problem is neither regular
    expressions nor bash, per se. It's something to do with your
    configuration. So approach it as a debugging exercise, and investigate
    accordingly.

    -- 
    Find my Techno-Geek Journal at http://www.codegnome.org/geeklog/
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Freddy Freeloader: "Re: bash, grep, and regular expressions"

    Relevant Pages

    • Re: Help to recognize which Server im working on
      ... i'm connected to a Solaris server in a ... Set the shell prompt to the name of the machine you're on. ... I use bash shell on my solaris machines. ...
      (comp.sys.sun.admin)
    • Re: bash: WHY???
      ... > as my default shell? ... I'm a UNIX SysAdmin too and I'm used to the BASH ... > What UNIX system have you administered. ... on all machines. ...
      (comp.unix.solaris)
    • Re: Reality check on bash behavior.
      ... > I need to check that my observations on bash invocation is correct. ... > mounted on FC4 machines and OS X machines, On OS X machines it looks ... files when it is invoked as a login shell (see INVOCATION ...
      (Fedora)
    • Re: Reality check on bash behavior.
      ... >> I need to check that my observations on bash invocation is correct. ... >> mounted on FC4 machines and OS X machines, On OS X machines it looks ... > files when it is invoked as a login shell (see INVOCATION ... > So your observations are consistent with documented behaviour on Fedora. ...
      (Fedora)
    • [gnu.bash.bug] BASH Frequently-Asked Questions (FAQ version 3.30)
      ... This is the Bash FAQ, version 3.30, for Bash version 3.0. ... Bash, the GNU Bourne-Again Shell. ... C3) Which new features in ksh-93 are not in bash, ... D1) Why does bash run a different version of `command' than ...
      (comp.unix.questions)