LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-14-2018, 04:51 PM   #16
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242

Quote:
Originally Posted by bkelly View Post
to allend, posts 12 and 6,

Yes, I needed additional explanation. While reading your explanations, I can almost follow the code. You are quite knowledgeable about these utilities and well beyond my ability. If I use that I will not be able to understand it in the near future. I am going for a solution that is a bit more obvious the novices such as I.

I do note and appreciate the time you devoted to understanding my problem and replying.

I now have a script that gets the fundamentals of what is needed. The next step is to just filter out some of the lines that grep wrote making the remaining lines stand out a bit better.

I am trying to understand some of the other posts now.

BW-userx,
I am looking at your last post. Its taking me a bit to follow it but so far looks good. I cannot copy/paste from the internet computer to my Linux box so must type everything in an work it one step at a time. This might take a bit but I am working on your reply.
Thank you.
take your time copying like that is not easy, and it as my pleasure. I hope it works for you. you can remove or comment out what you're not sure of or wanting to wait to try, and change it to fit your needs.

wait let me see if I can upload it for you. Hope you can get that. just remove the .txt chmod +x and adjust as needed, then give it a shot.

modded:
I modified the file some, moved a chunk of code up a bit to make finding easier. it still does the same either way. It prob makes it run faster at the one point I moved the code to, if you have a lot of files to look at, I am only using 5 test files for shell scripts.
Attached Files
File Type: txt findscripts.txt (3.6 KB, 6 views)

Last edited by BW-userx; 06-14-2018 at 05:17 PM.
 
  


Reply



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
[SOLVED] Why is grep output file the same as original search file? HeidiJTP Linux - Newbie 7 02-19-2013 11:54 AM
[SOLVED] Display file name is grep output Ze MoreirA Linux - General 1 03-06-2012 12:20 AM
using grep to output non-matches into output file binny959 Linux - General 5 12-24-2010 11:20 PM
[SOLVED] CVS + grep output to file Myiagros Linux - Newbie 2 05-20-2010 10:30 AM
grep output on stdout and grep output to file don't match xnomad Linux - General 3 01-13-2007 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration