Search Results

Search: Posts Made By: phaethon
7,663
Posted By phaethon
Thank you very much! it worked! M 3.0...
Thank you very much! it worked!

M 3.0 OKLAHOMA
7,663
Posted By phaethon
awk "date" and "system" command
Hello experts!
I need your help please

I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.:
2016-11-25 03:14:50and pass them to "date" command, but also...
2,733
Posted By phaethon
thank you very much for the reply it worked!
thank you very much for the reply it worked!
2,733
Posted By phaethon
yes but it doesn't work. again it stucks at the...
yes but it doesn't work. again it stucks at the first part
2,733
Posted By phaethon
awk | sh
Hello experts!

I am trying to execute wget and "date" command in an awk one liner in order to download files from a webpage.
The one liner is supposed to read a file.txt and create the...
1,792
Posted By phaethon
Thank you very much! it worked! Have no words!
Thank you very much! it worked! Have no words!
1,792
Posted By phaethon
awk repeat one field at all lines and modify field repetitions
Hello experts

I have a file with paragraphs begining with a keeping date and ending with "END":


20120301 num num
John num num A keepnum1 num num
kathrin num num A keepnum1 num...
4,511
Posted By phaethon
my fault the "$_infos" is wrong
my fault the "$_infos" is wrong
4,511
Posted By phaethon
Thank you Aia...
Thank you Aia (https://www.unix.com/members/302041415.html) it perfectly worked! no words! Don Cragun thank you for the suggestion. The Aia's code worked on my opensuse 13.2 system because "_infos"...
4,511
Posted By phaethon
Sending awk variables into curl in a bash script
Hello experts!

I have a file1 with the following format (yr,day, month, hour,minute):

201201132435
201202141210
201304132030
201410100110
...
What i want to do is to assign variables and...
3,413
Posted By phaethon
thank you it worked!
thank you it worked!
3,413
Posted By phaethon
Compare 2 files and find missing fields awk
Hello experts!
I have 2 files.

file1 is a list file containing uniquely names. e.g.:

name1 number number
name2 number number
name5 number number
name10 number number
...


file2 is a...
2,152
Posted By phaethon
thank you very much Don Cragun! It worked !
thank you very much Don Cragun! It worked !
2,152
Posted By phaethon
Don Cragun...
Don Cragun (https://www.unix.com/members/302122727.html) thank you for yr reply help and time, I have tried with

awk 'NR==FNR{a[$1$2]=$1;a[$3]=$3;next}$1$2 in a{print $1, $2, $3, $4, $5, $6, $7,...
2,152
Posted By phaethon
Compare 2 columns of files awk
hello everybody

I have 2 files the
file1 has 10 columns and the form:

...
110103 0802 1.16 38 20.16 22 1.21 8.77 0.00 20
120103 0832 23.40 38 22.10 21 46.35 10.17 0.00 28 ...
1,242
Posted By phaethon
Solved!
thank you both for your time and help! it worked! much appreciated!
1,242
Posted By phaethon
Mainain the files after deleting lines with awk
hello
I want to delete the lines of many files (e.g. file1, file2, ..., file1111) in my directory (e.g. dir1) that they have the 2nd column grater than a value (e.g. 40) placing them to a different...
3,103
Posted By phaethon
thank you all for youl help! I always get the best answers from this forum!
There is only one occurrence of both RMS and GAP in the file and both in fixed field locations.

Spacial thanks to RavinderSingh13 (https://www.unix.com/members/302148617.html)
Following his...
3,103
Posted By phaethon
Find and copy files with field lower than a value, awk?
Hi all!
I have 10.000 files having generally this format:


text text text
text num text num text num
text text text GAP number text text
text num text num text num RMS num
text num text num...
3,021
Posted By phaethon
Thank you all for your replies. And special...
Thank you all for your replies. And special thanks to Scrutinizer.

I have tried printf BUT it prints again the result in different line.

The awk solution that i had written works fine but the...
3,021
Posted By phaethon
awk print in one line after reading textfile with paragraphs
Hello everybody

I have a text file which has the following format:


nmm "text20140601.033954text" "text" "text"
"text" , ... , "text"
"text" , ... , Lat 36.3247 Lon 16.0588 Depth 8...
1,224
Posted By phaethon
Thank you very much ! I have no words! it worked!
Thank you very much ! I have no words! it worked!
1,224
Posted By phaethon
Find duplicate words in first column between "10" repetiotions
hello

I have a file of the form:

nameA number number ...
nameB number number ...
nameA number number ...
nameC number number ...
nameD number number ...
10
nameA ...
3,215
Posted By phaethon
Thank you again I am grateful! u r an...
Thank you again I am grateful! u r an inspiration!
3,215
Posted By phaethon
Thank you it works! can you please explain what...
Thank you it works! can you please explain what you did? to know what to do when I want to do it for e.g. the 5th column
Showing results 1 to 25 of 39

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