Search Results

Search: Posts Made By: asanjuan
7,669
Posted By asanjuan
Maybe I should use the command replace to change...
Maybe I should use the command replace to change the colon ( : ) punctuation into a space. The output should look like:

1 4
2 5
3 0

---------- Post updated at 08:30 PM ---------- Previous...
7,669
Posted By asanjuan
Bottleneck is to tell the script to read files...
Bottleneck is to tell the script to read files inside directory by sorting it out numerically. Then, print this out accordingly into the newfile.

---------- Post updated at 08:03 PM ----------...
7,669
Posted By asanjuan
Thanks kurumi. The script works and thanks...
Thanks kurumi.

The script works and thanks for the help.

In the directory, the files are numbered in order and should be printed also in order accordingly into the new file. So in this case,...
7,669
Posted By asanjuan
multiple files: counting
In a directory, I have 5000 multiple files that contains around 4000 rows with 10 columns in each file containing a unique string 'AT' located at 4th column.

OM 3328 O BT 268 ...
15,361
Posted By asanjuan
Thanks so much pravin ! It works well. -A
Thanks so much pravin ! It works well.

-A
15,361
Posted By asanjuan
Thanks, Pravin for the helpful reply. The code...
Thanks, Pravin for the helpful reply. The code work perfectly at command prompt. Would you please further help on how to do an iteration script for multiple files in directory using the code you gave...
15,361
Posted By asanjuan
AWK: matching patterns in 2 different files
In a directory, there are two different file extensions (*.txt and *.xyz) having similar names of numerical strings (*). The (*.txt) contains 5000 multiple files and the (*.xyz) also contains 5000...
14,706
Posted By asanjuan
ITERATION: remove row based on string value
Thanks so much for the kind help. :b:

Your expertise kept me not to break my head creating codes myself.

Great people on earth !
14,706
Posted By asanjuan
ITERATION: remove row based on string value
malikshahid85, Thanks so much for great help. Code-1 works well but Code-3 has shell issue or error:

line 9: $i_output: ambiguous redirect

I have tried searching in forum but not successful....
14,706
Posted By asanjuan
ITERATION: remove row based on string value
It work !!!! Step-1 is almost done;

I tried to create iteration loop:
---------------
#!/bin/bash
for d in $(\ls -d *.asa)
do
awk '!($4=="AT" && $9 > 0.10)' > file
done
-----------------...
14,706
Posted By asanjuan
ITERATION: remove row based on string value
Make myself clear:

> cat file
OM 3328 O BT 268 5.800 7.500 4.700 0.000 1.400
OM 3329 O BT 723 8.500 8.900 3.600 8.500 ...
14,706
Posted By asanjuan
ITERATION: remove row based on string value
It is my first post, hoping to get help from the forum.

In a directory, I have 5000 multiple files that contains around 4000 rows with 10 columns in each file containing a unique string 'AT'...
Showing results 1 to 12 of 12

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