Search Results

Search: Posts Made By: alekkz
21,924
Posted By alekkz
Thanks yazu, egrep works perfect.. I just...
Thanks yazu, egrep works perfect..
I just figured out I should strings file first..
Thank you again !
21,924
Posted By alekkz
print lines containing only numbers
Hi boys,
I have a txt file with a lot of lines.
It have lines containing mostly only numbers but some of them contain numbers mixed with special characters and or letters or space..
its look like...
1,807
Posted By alekkz
Text file with grep
Sirs,
i am trying to create simple script file..
what i do is grep for a pattern and output 1 line after it.
exmp:
grep -A 1 time files.txt

Output:
time
file1
time
file2
---

Is there...
3,145
Posted By alekkz
thank you! this do the job and is fast! just a...
thank you!
this do the job and is fast! just a final hint
how to add numbers to regexp ?
^[1-8a-z]{1,8}$ ?
I tried but it not work that way

---------- Post updated at 03:58 AM ----------...
3,145
Posted By alekkz
Thank you. I tried and it work, but i still need...
Thank you. I tried and it work, but i still need to execute grep command 8 times and combine results after eg:egrep "^[a-z]{1}$" words ..egrep "^[a-z]{2}$" words . There is no way only one command do...
3,145
Posted By alekkz
Need best grep option or alternative
Hello,
I am processing a text file which contains only words with few combination of characters (it is a dictionary file).
example:
havana
have
haven
haven't
havilland
havoc
Is there a way...
Forum: Solaris 11-15-2009
6,120
Posted By alekkz
jim mcnamara OS is Solaris 8 on sparc. Same OS...
jim mcnamara OS is Solaris 8 on sparc. Same OS just different versions of SSL. It will be pain to compile ssh for each of them.
Forum: Solaris 11-15-2009
6,120
Posted By alekkz
OpenSSL version and OpenSSH
Hi,
I need an advise. Is it possible to compile binary of ssh that will work on more than one computer with installed different versions of openssl. I read it is not possible to compile static...
6,535
Posted By alekkz
thanks you igor, it helps me solved the problem
thanks you igor, it helps me solved the problem
6,535
Posted By alekkz
ghostdog this examples emulate tail command, it...
ghostdog this examples emulate tail command, it is not what i am looking for. i need to print lines before the matching pattern
6,535
Posted By alekkz
awk vs grep question
Hello,
I am trying to use awk instead of grep command. Is there a way I can search for a pattern and show 10 lines before it (grep -B) using awk ot nawk?
30,856
Posted By alekkz
thanks to all of you! greats to admins of...
thanks to all of you!

greats to admins of this forum helping so many people
30,856
Posted By alekkz
thanks varontron, works perfect!
thanks varontron, works perfect!
30,856
Posted By alekkz
file.txt ----- cut ---- TARGET 13/11/08 ...
file.txt
----- cut ----
TARGET
13/11/08
20:43:21
POINT 1
MOVE 8
772102y64312417771
TARGET
13/11/08
21:10:01
POINT 2
MOVE 5
731623jjd12njhd
----- cut ----
this is the example.
i need...
3,233
Posted By alekkz
grep N lines after match and then print them on 1 line each
Hello
I need some help with this job.

file.txt
----- cut ----
TARGET
13/11/08
20:43:21
POINT 1
MOVE 8
772102y64312417771
TARGET
13/11/08
21:10:01
POINT 2
MOVE 5
731623jjd12njhd...
30,856
Posted By alekkz
grep N lines after match and then print them on 1 line each
Hello
I have a silly question. I need to grep a match in text file
and then print 5 lines after it.
grep -A 5 .... do it.
OK
The next thing I can not handle is I need each output to be on 1...
Showing results 1 to 16 of 16

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