Search Results

Search: Posts Made By: lost
2,543
Posted By lost
solved...
the problem... thanks!
Now trying to find the delete thread button... ;)
2,543
Posted By lost
Why isn't this working? tsch-doit file
#! /usr/tsch

foreach f (`cat contacts.list`)
awk '{printf ($2 in a) ? ","$5 : (NR>1) ? RS $2 FS $5 : $2 FS $5; a[$2]} END{print e}' $f > $f_inter.map
end

My file: cat contacts.list is...
4,301
Posted By lost
So if the command gsed isn't recognised, I don't...
So if the command gsed isn't recognised, I don't have GNU sed on the terminal? or is there other short cuts to make a GNU sed command executable in non-GNU environment?
Dang it... Any way, THANKS!
4,301
Posted By lost
Thanks! I'm unfortunately not very familiar...
Thanks!
I'm unfortunately not very familiar with sed and the given command won't run... :(
sed: command garbled: sed -e '/^.\{20,\}$/ { s/.\{60\}/&\n/g}; /^.\{1,20\}$/ { s/^.*$/>&/}'
can't...
4,301
Posted By lost
fasta format?
Hi,
I'm in need of creating a file in the fasta format:
>1A6A.A
HVIIQAEFYLNPDQSGEFMFDFDGDEIFHVDMAKKETVWRLEEFGRFASFEAQGALANIAVDKANLEIMTKRSNYTPITN...
3,963
Posted By lost
Yeah!! It works! Thanks for the help! : )
Yeah!! It works!
Thanks for the help!
: )
3,963
Posted By lost
Thanks again for the quick response once again. ...
Thanks again for the quick response once again.

So if I understood you correct, I have to write
#! /usr/bin/bash at the top of the file?
And is there any restrictions on naming files? Or...
3,963
Posted By lost
What language is this?
Hi,
Just got handed this script
set def = HLA_DR.pockets
set data = DRB1_1501.dat

foreach a ( 'cat $data | args 3 |sort -u' )

cat $def | xC | grep -v $a > $$.def
cat $data | grep $a |...
2,992
Posted By lost
Indeed!!! THANKS so much. Though I feel...
Indeed!!!

THANKS so much.
Though I feel SO dumb, I didn't even think of that... :s and at the same time enlighted.. ;)
Thanks again and for the quick reply.
2,992
Posted By lost
help to make list of files and run script..
Hey,
I have finally made a command that works and now has to run it on 200+ files to run it on.
How do I do that?

Just fyi and if it complicates anything my commandline is:
awk '{if ($1 ~...
4,371
Posted By lost
Thanks! I can't make it work though... ...
Thanks!
I can't make it work though...
Where do I substitute with my real file name(s)?
I tried to combi the two codes and it didn't work. What is it I do wrong?

ls *contacts | while $file ;...
4,371
Posted By lost
YOU'RE A STAR!!!!!!!! THANKS YOU SO MUCH!!! ...
YOU'RE A STAR!!!!!!!!
THANKS YOU SO MUCH!!!
yippiyeah.... yippiyeah..... ;D
Sorry I didn't get the thing with the for loop for the files, because how do I make the output from each file separated...
4,371
Posted By lost
help wanted!!
OK.
This is what I have:
C 306 P B 85 V 3.46
C 307 K B 81 H 2.69
C 307 K B 85 V 3.43
C 309 V B 82 N 2.67
C 309 V B 78 Y 3.23
C 309 V B 81 H 3.42
C 311 Q B 78 Y 3.46

And this is...
4,371
Posted By lost
Sorry. Forgot that args is only on our 'server'....
Sorry. Forgot that args is only on our 'server'. Yes, it's a script that 'takes' the stated arguments in the given line/file.
In this case it 'takes' argument 2 and 5 and paste them.
Basicly what...
4,371
Posted By lost
args of 50+ files
Hey..
I've gotten inspired by another thread and used this:
#!/usr/bin/bash
args 2,5 $(<file.list)
It works but I'll like the results separated into different files or back into the...
3,340
Posted By lost
Oh, thanks. Sorry for hijacking the thread, I...
Oh, thanks.
Sorry for hijacking the thread, I didn't even know it was a rude behaviour. Sorry.
Will post my problem in a new thread. Thanks for the hint, drl.
3,340
Posted By lost
Hey.. I've used the above to make this:...
Hey..
I've used the above to make this: #!/usr/bin/bash
args 2,5 $(<file.list)
and it works but I'll like the results separated into different files or back into the used files.
e.g. use...
2,248
Posted By lost
Thanks for the quick reply.
Thanks for the quick reply.
2,248
Posted By lost
Removing spaces...
Hey,
I'm using the command from this thread https://www.unix.com/unix-dummies-questions-answers/590-converting-list-into-line.html
to convert vertical lines to horzontal lines. But I need to remove...
9,206
Posted By lost
THANKS!! Yup, it did help. A lot in fact.
THANKS!!
Yup, it did help. A lot in fact.
9,206
Posted By lost
well, now it gets complicated... because the...
well, now it gets complicated... because the thing is that I have a file with several (30+) different sets in the same format e.g
>1A6A.B ...
9,206
Posted By lost
Grep command
Oh, thanks a lot! That works!!
Can I add the identifier (1a6a.b) in a smart (and easy) way?

And if I want to do it for 30 files is there a smart way instead of repeating the command?
Thanks.
9,206
Posted By lost
Sorry It's not working.. do I have to split my...
Sorry It's not working.. do I have to split my line/text first?
Or am I doing something wrong?

cat 1a6a.fsa ı awk '{substr (1,2,3)}'
9,206
Posted By lost
get specific position in line
Hey,

I really want to grep some specific positions in a line of letters. E.g. I need to know what's on position 10, 26 and 78.

I've tried some of the hints posted but nothing seem to work and...
Showing results 1 to 24 of 24

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