The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Search for multiple strings in specific position
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Search for multiple strings in specific position
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
03-18-2009
HugoH
Registered User
Join Date: Jan 2006
Posts: 6
Search for multiple strings in specific position
Hi,
I need to search for some strings in specific positions in a file.
If the strings: "foo1", "foo2" or "foo3" is on position 266 or position 288 in a file i want the whole line printed.
Any idea how to do it?
HugoH
View Public Profile
Find all posts by HugoH
Find HugoH's past nominations received
Find HugoH's present nominations given