Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-18-2014, 08:04 PM   #1
LQ Newbie
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
how to undertand this phrase in grep manual?

Though grep expects to do the matching on text, it has no limits on input line length other than available memory, and it can match arbitrary characters within a line.
When I read the manual of GNU grep,I came across this sentence.I couldn't understand what "expect to do" means in this context.By the way,English is not my first language,but I'm trying my best to learn it well.
Old 09-18-2014, 08:18 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,542

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
That means although grep has been designed to work with text, eg words, sentences, paragraphs, it can work with unusual format (512 MB line length?)
Old 09-19-2014, 01:43 PM   #3
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
try command: findstr in Microsoft


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to grep for an exact phrase ananny Linux - Newbie 4 04-03-2014 06:19 PM
Creating an alias in ksh that uses grep and includes 'grep -v grep' doug248 Linux - Newbie 2 08-05-2012 03:07 PM
Using grep to filter phrase before a space ShanxT Linux - General 5 03-13-2009 02:20 AM
grep a phrase degraffenried13 Linux - General 1 04-04-2004 12:10 PM
grep [exact phrase] chrisfirestar Linux - General 2 02-09-2004 05:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration