Search Results

Search: Posts Made By: greptastic
13,343
Posted By greptastic
Foreach loop to run a perl script on multiple files
Hi,

I have thousands of files in a directory that have the following 2 formats:

289620178.aln
289620179.aln
289620180.aln
289620183.aln
289620184.aln
289620185.aln
289620186.aln...
1,502
Posted By greptastic
That works!! Thanks so much- :) ...
That works!!

Thanks so much- :)

cheers!
1,502
Posted By greptastic
Hi, I'm working with : GNU sed version...
Hi,

I'm working with :
GNU sed version 4.1.2

Thanks!
1,502
Posted By greptastic
Thanks for your help- I get the following error...
Thanks for your help-
I get the following error :

sed: -e expression #1, char 4: unknown command: `$'
1,502
Posted By greptastic
Alternative needed for joining lines with a match
Hi,

The following sed command is not working for me, does anyone have a good alternative for joining lines in a file based on a match?

# if a line ends with a backslash, append the next line to...
5,053
Posted By greptastic
Thanks again for your help! I don't have...
Thanks again for your help!

I don't have nawk- but, using awk I still get the following output:
PADG_04289

Any suggestions on how to get the output: (Maybe someone who knows Perl?) ...
5,053
Posted By greptastic
PADG_04287,PADG_02886,PADG_07699 should be in the...
PADG_04287,PADG_02886,PADG_07699 should be in the output because PADG_02886 is
in files 1 and 2.
5,053
Posted By greptastic
Thanks for your help! I don't have nawk-...
Thanks for your help!

I don't have nawk- but, using awk I got the following output:
PADG_04289

Any suggestions on how to get the output:
PADG_01010,PADG_04292...
5,053
Posted By greptastic
pattern matching with comma delimited text
Hi,

I have two files that I need to match patterns with and the second file has comma delimited rows of data that match but I'm having trouble getting a script to work that gives me the match...
1,939
Posted By greptastic
Thanks so much! It worked but, only returned one...
Thanks so much! It worked but, only returned one of the matches between file 1 and 2 , and I know there are many more. Any idea why it's not returning all of them?
Thanks again
1,939
Posted By greptastic
matching each line in a column to an array
Hi,

I have two files:

file 1 has a list :

ABC_1024
ABC_4507
ABC_5589
ERT_4389
DDB_5507

file 2 has an array:

ABC_1011,ABC_1024,ABC_5670 DDB_4567 ERT_2345 January08
ABC_9099 ...
7,880
Posted By greptastic
Still need more help....
I think I should explain a little more...
I want to exclude cases where there is information in all three columns (ie. BBB_0123 BVG_0895 BSD_0987 straight across) and only keep lines that have gaps...
7,880
Posted By greptastic
Still need a little more help....
I think I should explain a little more...
I want to exclude cases where there is information in all three columns (ie. BBB_0123 BVG_0895 BSD_0987 straight across) and only keep lines that have...
7,880
Posted By greptastic
exclude columns with a matching line pattern
Hi ,

I have 5 columns total and am wanting to search lines in columns 3-5 and basically grep -v patterns that match 'BBB_0123' 'BVG_0895' 'BSD_0987'

Does anyone know how to do this? I tried...
Showing results 1 to 14 of 14

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