LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Quote:
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, 07:18 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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, 12:43 PM   #3
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
try command: findstr in Microsoft
 
  


Reply



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 05:19 PM
Creating an alias in ksh that uses grep and includes 'grep -v grep' doug248 Linux - Newbie 2 08-05-2012 02:07 PM
Using grep to filter phrase before a space ShanxT Linux - General 5 03-13-2009 01:20 AM
grep a phrase degraffenried13 Linux - General 1 04-04-2004 11:10 AM
grep [exact phrase] chrisfirestar Linux - General 2 02-09-2004 04:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 AM.

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