Search Results

Search: Posts Made By: ink_LE
1,702
Posted By ink_LE
substract variable from each line in a file
Hi everyone,

I have a file containing one column and I want to subtract the first value (value of first line) from each line's value.

79304
99299
119294
139289
159284
179279
199274...
6,153
Posted By ink_LE
Thank you so much! It now works perfectly!
Thank you so much! It now works perfectly!
6,153
Posted By ink_LE
Thanks! Unfortunately, it doesn't read or...
Thanks!
Unfortunately, it doesn't read or print the lines from file2 so that it just takes all lines from file1 and prints those.

Any idea why it doesn't do the if loop?
6,153
Posted By ink_LE
merging two .txt files by alternating x lines from file 1 and y lines from file2
Hi everyone,

I have two files (A and B) and want to combine them to one by always taking 10 rows from file A and subsequently 6 lines from file B. This process shall be repeated 40 times (file A =...
Showing results 1 to 4 of 4

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