all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bvraghav@iitk.ac.in (B.V. Raghav)
To: Rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: grep excludes
Date: Sat, 09 Jul 2016 19:46:20 +0530	[thread overview]
Message-ID: <87poqmkibv.fsf@ram.bvr.dp.lan> (raw)
In-Reply-To: <cad99159-1232-408b-a39a-72826dccac8e@googlegroups.com> (Rusi's message of "Thu, 7 Jul 2016 20:05:55 -0700 (PDT)")

Rusi <rustompmody@gmail.com> writes:

> lgrep -e emacs ~/vit-projects-common-wiki/ /dev/null
> /bin/bash: lgrep: command not found

Perhaps, aliases was not configured properly!

> > and you can define lgrep and rgrep in your .bashrc (or .bash_aliases) as follows:
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^
                                               this step is necessary
> > alias lgrep='grep -n '
> > alias rgrep='grep -nR '

Try the following in your command line:

$ alias lgrep
alias lgrep='grep -n '

or something like that should be ouput.


If this is not the case, The problem is about configuring your shell
environment for emacs, not the emacs itself

http://tldp.org/LDP/abs/html/aliases.html

Thanks,
r
-- 
(B.V. Raghav)
Ph.D. Student,
Design Programme, IIT Kanpur



  parent reply	other threads:[~2016-07-09 14:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.636.1467773593.26859.help-gnu-emacs@gnu.org>
2016-07-06  3:04 ` grep excludes Emanuel Berg
2016-07-06  3:24   ` Rusi
2016-07-06  4:30     ` Emanuel Berg
2016-07-06  7:49     ` B.V. Raghav
2016-07-07  6:15       ` B.V. Raghav
     [not found]       ` <mailman.730.1467872160.26859.help-gnu-emacs@gnu.org>
2016-07-08  3:05         ` Rusi
2016-07-08  3:11           ` Rusi
2016-07-08  3:24             ` Rusi
2016-07-09 14:16           ` B.V. Raghav [this message]
2016-07-06  2:52 Rustom Mody
2016-07-06 14:50 ` Eli Zaretskii
     [not found] ` <mailman.658.1467816673.26859.help-gnu-emacs@gnu.org>
2016-07-07 16:23   ` Rusi
2016-07-07 16:59     ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=87poqmkibv.fsf@ram.bvr.dp.lan \
    --to=bvraghav@iitk.ac.in \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.