Search Results

Search: Posts Made By: pineapples
8,733
Posted By pineapples
sorry being dum vino - how do i pass in the...
sorry being dum vino - how do i pass in the pattern file ? Would they below work ?

would grep -f {pattern.file} -E "^" {file.to.search}
8,733
Posted By pineapples
So if i wanted to read in the input file (ie file...
So if i wanted to read in the input file (ie file full of patterns) it would be something like this i assume :-

cat input file || grep '^aaaaa' file

What does the ^ do exactly ?
8,733
Posted By pineapples
Search for a pattern in part of the line
Hi guys,

I need to search for a particular pattern within the first 5 chars of the line. If the pattern is found then output the whole line. Unfortunately grep only searches the whole line

For...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy