Re: Wildcards
On 8 Jun, timothy@smasher.rs.itd.umich.edu wrote:
> Thanks for everyone's help.
> One more question that I couldn't find when I browsed the man pages.
> What does the '$' mean/do in "grep "/$""?
> and what does the '^' mean/do in "grep "^d""?
>From 'man grep', lines 220-222:
The caret ^ and the dollar sign $ are metacharacters that
respectively match the empty string at the beginning and
end of a line. The symbols \< and \> respectively match
Thus '/$' only matches / at the end of the line and '^d' only matches d
at the beginning of the line.
Brian
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: