Search Results

Search: Posts Made By: radoulov
7,582
Posted By radoulov
Or: % paste -d- file2 file1|bc ...
Or:

% paste -d- file2 file1|bc
-1
-2
-3
-4
-5
7,582
Posted By radoulov
% head file[12] ==> file1 <== 6 7 8 9 ...
% head file[12]
==> file1 <==
6
7
8
9
10

==> file2 <==
5
5
5
5
5
% awk 'getline f1 < "file1" { print $1 - f1 }' file2
-1
-2
-3
-4
-5
Showing results 1 to 2 of 2

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