bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: need help


From: Ralf Wildenhues
Subject: Re: need help
Date: Mon, 13 Nov 2006 19:55:40 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Frank,

* Frank Huang wrote on Mon, Nov 13, 2006 at 07:30:23AM CET:
>  
>   //1. file: text.file  
>         a.c.dc
>         a.c
>         .ca.bc
>  //2. i want to grep the line contain .c , and .c is the tail of the
> line .

Try
  grep '\.c$' text.file

Hope that helps.

Cheers,
Ralf




reply via email to

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