Search Results

Search: Posts Made By: ss_ss
1,240
Posted By RudiC
This one relies upon your files having exactly...
This one relies upon your files having exactly synchronized, corresponding lines:awk 'NR==1 {print; getline < f1; next}
{getline ln < f1; print ln, $NF}
' f1="file1" file2
Timestamp ...
1,240
Posted By pamu
Try awk 'NR==FNR{A[NR]=$0;next}{ print...
Try


awk 'NR==FNR{A[NR]=$0;next}{ print A[FNR],FNR!=1?$NF:""}' file1 file2
1,144
Posted By bartus11
awk -vfile=$file '/^ERROR/{x=1}END{if (x!=1)...
awk -vfile=$file '/^ERROR/{x=1}END{if (x!=1) system("mv "file" "file".done")}' error.log.tmp1
3,045
Posted By jim mcnamara
ping -n [number]
ping -n [number]
Showing results 1 to 4 of 4

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