Search Results

Search: Posts Made By: tk2000
1,557
Posted By tk2000
Thanks
Thanks RUdiC it works . regarding "Any attempts from your side?".I have tried. Sorry, I am new to the scripting and I am trying to learn.

Best regards
1,557
Posted By tk2000
Split a file by start and end row.
I have a file which looks something as following, I would like to split to several files, The start and end of each file is 'FILE' and end with 'ASCII... ' .
At the same time for each file in the...
5,592
Posted By tk2000
Thanks
Thanks Don and MadeInGermany

Know it is working .

regards
5,592
Posted By tk2000
The script I am looking for is : If In ...
The script I am looking for is :

If In first column repeats
then the column value + .1, else column.

I have attached two files :
Orginal_las.txt :is the original file unsorted and with...
5,592
Posted By tk2000
decimal
Hi
It is enough with one digit decimal. but in some of the files , there is two digit decimal for e.g. in one of the file the first is 11200.45 then the others in the first column is no decimal or...
5,592
Posted By tk2000
repetition
Thanks again Don

The repetition happens once for each and some times twice.
Two digits after the decimal would do.

11200.45 abc 400 1 name2
11204 abc 230 1 name
11204 abb 350 2...
5,592
Posted By tk2000
Thanakd Don
Thanks a lot Don
It worked with the creating new file.
_________________________________________________
for file in *.las
do sed -n '1,/~Ascii/p;/~Ascii/q' "$file" > "$file.new"
...
5,592
Posted By tk2000
keep each file sorted
Thanks Don/cjcox

I want to sort each file and the output should be new file for each file.
When I tried the one you post. It doesnot give me output file. And
each new file should keep the header...
1,828
Posted By tk2000
Sort a las file keep the header as it is
I have several las files with a header and each file start Version and text and before the data starts end up with ~Ascii, then the numbers starts:...
5,592
Posted By tk2000
Sort a las file keep the header as it is
I have several las files with a header and each file start Version and text and before the data starts end up with ~Ascii, then the numbers starts:...
Showing results 1 to 10 of 10

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