Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 03-17-2005, 10:37 AM   #1
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, 12:55 PM   #2
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.


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 07:59 AM
searching for a string of charcters in some files hhegab Programming 2 04-16-2005 06:07 PM
searching zoodle General 3 01-02-2005 09:11 PM
C....Search a string for a string Scrag Programming 4 06-14-2004 05:15 PM
java test if string in string array is null. exodist Programming 3 02-21-2004 02:39 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:33 AM.

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