Search Results

Search: Posts Made By: oriqin
2,818
Posted By oriqin
rdcwayx: I realized it works better if you do...
rdcwayx: I realized it works better if you do fgrep instead of just grep... but thanks!
2,818
Posted By oriqin
I've been trying to get it to work, but I keep...
I've been trying to get it to work, but I keep running into an error.

It says: '/tmp/joina.randomnumber: No such file or directory'. It keeps giving different numbers every time. When I view the...
2,818
Posted By oriqin
Using an input (?) file to search another
I have a file (DCN.txt) that has about 35000 lines. It looks like:

10004470028
10005470984
10006470301
10007474812
....


I have several other files (a11.txt, a12.txt, a12_1.txt, a13.txt,...
2,331
Posted By oriqin
that was perfect! Thanks!
that was perfect! Thanks!
2,331
Posted By oriqin
Reading n number of lines after finding string
I am trying to search a file for a value: "Top 30 reject reasons" and want the next 30 lines after that and output in a text file.

If I knew the line number, I can use a combination of head and...
6,742
Posted By oriqin
---------------------------------------------- ...
----------------------------------------------
INF: File: 11.hst
INF: Completion time: 00:00:41 Records/Second: 48

INF: Total Number of Records in File(s): 2005
INF: Number of Records...
6,742
Posted By oriqin
Thanks! That helped a lot! Not to be a pain, but...
Thanks! That helped a lot! Not to be a pain, but would you know how to format it so all the results don't appear on one line?
6,742
Posted By oriqin
This didn't work. I think it's because the...
This didn't work.

I think it's because the ">>" only appends if you have several outputs, whereas the ">" replaces if you have several outputs.
The awk command you posted (and the other...
6,742
Posted By oriqin
Finding nth line across multiple files
I have several files (around 50) that have the similar format. I need to extract the 5th line from every file and output that into a text file. So far, I have been able to figure out how to do it for...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 01:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy