LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 03-17-2005, 09:37 AM   #1
krazykow
LQ Newbie
 
Registered: Aug 2004
Location: Duluth, MN
Distribution: Slackware, Debian, FreeBSD
Posts: 10

Rep: Reputation: 0
Angry Searching for a string


A recent update from an application has caused corrupt data to be added to a list of files within a single directory. I have isolated and killed most of the issues by hand but wish to ensure that things are ok. In linux/bsd the string I use to search for the files that don't contain "30"(just a arbritary numeral) and print their results:

find . -exec grep -v "30" '{}' \; -print

This, however does not return the same result set in Solaris 9. I'm new to the solaris world, relatively speaking. I'm having some sort of translation issue here and could very much use someone more educated to at least point me in the right direction.

The manual pages, unless I'm mistaken, really haven't told me anything different than what I'm doing. I'm not looking for someone to give me the answer, but I am looking for someone to point me to a site or even something I have overlooked. Much appreciated.
 
Old 03-17-2005, 11:55 AM   #2
krazykow
LQ Newbie
 
Registered: Aug 2004
Location: Duluth, MN
Distribution: Slackware, Debian, FreeBSD
Posts: 10

Original Poster
Rep: Reputation: 0
Disregard this one. I have discovered some other issues that have prevented me from properly searching. The syntax I used is fine. Thanks.
 
  


Reply


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
Bash way to tell if String is in String tongar Programming 3 06-16-2005 06:59 AM
searching for a string of charcters in some files hhegab Programming 2 04-16-2005 05:07 PM
searching zoodle General 3 01-02-2005 08:11 PM
C....Search a string for a string Scrag Programming 4 06-14-2004 04:15 PM
java test if string in string array is null. exodist Programming 3 02-21-2004 01:39 PM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration