|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Pattern Matching with Varying Spaces in between
Hi,
I've a pattern file which has a set of patterns. I use: /usr/xpg4/bin/grep -E -f DELPAT.txt R06.txt to eliminate the patterns appearing in R06.txt file. Now the problem is, it's a 50-page report and this text file is created by an utility which converts "PDF" to "TXT" format. This pattern is having varying spaces in (multi-word) patterns. It there a way out to solve this issue? I've to manually see all the (50 pages) for the patterns and then include it in "DELPAT.txt" file. Please help me. Thanx and regards, Ulags |
|
#2
|
|||
|
|||
|
an example ?
|
|
#3
|
|||
|
|||
|
I think he means:
Code:
word 1 word2 word1 word2 in regexp something like: "word1 *word2" |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Pattern Matching with Varying Spaces in between |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|