Search Results

Search: Posts Made By: theanh0508
1,745
Posted By theanh0508
I got it! Thank you so much!
I got it!

Thank you so much!
1,745
Posted By theanh0508
I come up with this one: file='XX1.txt' i=1 ...
I come up with this one:
file='XX1.txt'
i=1
while [ $i -lt 366 ]
do
head -$i $file | tail -1 | cut -c1-5 > a.txt
grep "$i" a.txt
check2=$?
# echo $check2
if [ $check2 -eq 1 ]
...
1,745
Posted By theanh0508
Fill in missing values
Hi,

I have a data sample as shown below. I want to fill in the left column so that the line will be continuous. For example, between 1 and 5 should be 2,3,4. And corresponding values in the right...
Showing results 1 to 3 of 3

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