Search Results

Search: Posts Made By: aristegui
Forum: Filesystems, Disks and Memory 12-30-2008
4,030
Posted By aristegui
Problem solved. The problem was our buggy BIOS,...
Problem solved. The problem was our buggy BIOS, so i think GRUB takes a wrong information. Now we have the system installed with the RAID5 enabled and with the proper configuration.

Thankx for...
Forum: Filesystems, Disks and Memory 12-30-2008
4,030
Posted By aristegui
OK, more information, the BIOS order of our HDs...
OK, more information, the BIOS order of our HDs is:

4 IDE HD plugged to the MB

4 IDE HD plugged to the controller

1 SATA

We can boot the system form hard disk with an installation of a...
Forum: Filesystems, Disks and Memory 12-30-2008
4,030
Posted By aristegui
Of course: sorry, i'm newbie in this issues! It's...
Of course: sorry, i'm newbie in this issues! It's a hardware RAID, the master is a Serial ATA disk, and the rest are 8 IDE disks.

I'm gonna try to install and start the system just with the Serial...
Forum: Filesystems, Disks and Memory 12-30-2008
4,030
Posted By aristegui
Problem booting a linux (RAID5)
Hello, we have a problem with our system, a machine with a RAID5:

- We can boot the system from CD only, if we try to boot from hard-disk the GRUB seems to be "freezed". What is the difference,...
23,494
Posted By aristegui
Remove parenthesis character (Perl)
Hello, i'm unable to remove the parenthesis character.

With $parsed_AsciiName =~ s/\(//;
the string is the same

And with $parsed_AsciiName =~ s/(//;
i retrieve "Unmatched ( in regex; marked...
7,872
Posted By aristegui
Hello, thankx for your help. The problem is that...
Hello, thankx for your help. The problem is that i would like to instert ALL the file content in a unique field, is this possible? how is the "trick"?

Best regards.
Forum: Programming 09-12-2008
8,267
Posted By aristegui
Load text file into a MySQL field
Hello, maybe this post is offtopic, sorry for the inconveniencies.

I found examples about how to populate different fields from a text file (with MySQL, the LOAD DATA INFILE sentece), but not...
7,872
Posted By aristegui
Perl script to load text file into DB field
Hello, maybe this post is offtopic, sorry for the inconveniencies (maybe should be in the forum with questions about C, C++, Java, SQL...).

I found examples about how to populate different fields...
3,862
Posted By aristegui
I'm trying to use csplit, LibDav.mol2 is the...
I'm trying to use csplit, LibDav.mol2 is the original file

csplit -k -f LibDav LibDav.mol2 %@\<TRIPOS\>MOLECULE%

but LibDav00 and LibDav.mol2 are the same file. Any suggestions? Thank you in...
3,862
Posted By aristegui
1) OK, is interesting for me that, if the name of...
1) OK, is interesting for me that, if the name of the original file is
my_file.mol2

the name of the new files must be
new_file1.mol2 etc etc
new_fiile2.mol2 etc etc

2) No, the information...
3,862
Posted By aristegui
Help with an (easy) parser
Hello, i'm workig with a file with structural information about biological macromolecules (proteins etc).

In a certain file, the info is structured like this

@<TRIPOS>MOLECULE
blah 1
blah 2...
22,479
Posted By aristegui
It works like a charm. This forum is...
It works like a charm. This forum is incredible... thank you very much!!!
22,479
Posted By aristegui
Loop until user input is correct
Hello, i know how to retrieve a user input (read), and how to manage the different options (case statement).

But... could anybody show me a script that, if the user option is incorrect, don't...
6,200
Posted By aristegui
Very useful, thank you very much.
Very useful, thank you very much.
65,039
Posted By aristegui
Shame on me... thank you very much!!!
Shame on me... thank you very much!!!
65,039
Posted By aristegui
I'm using bash #!/bin/bash echo "Parameter...
I'm using bash

#!/bin/bash
echo "Parameter $1"
echo "$?"
$SCHRODINGER/utilities/reagentprep -listfull | grep $1
echo "$?"

if [ $? == 1 ]then
echo "Error"
exit
fi

echo...
65,039
Posted By aristegui
Bash: evaluating $? variable (if statement)
Hello, i'm unable to write a correct if... statement to evaluate the $? variable.

Could anybody send to me an example? for example, this lines of code didn't work...

if [ $? eq 0 ]; then
etc...
6,200
Posted By aristegui
Evaluating command output (shell script )
Hello, in a script i would like to evaluate a command output with a grep, for example, to know if the parameter defined by the user is in the output.

Something like: the_command | grep $1
...
1,997
Posted By aristegui
Doubt about variables scope
I call my script with two parameters

myscript.sh aaa bbb

What is the way to access $1 and $2 values inside a function? I call the function like this

myfuntion $1 $1

but inside of the...
8,305
Posted By aristegui
Ok, thank you very much indeed, i see that is not...
Ok, thank you very much indeed, i see that is not mandatory to use
#! /bin/awk -f
blah blah blah

My last question (in this thread), please, how is the way to put in a script (script.awk file)...
8,305
Posted By aristegui
If i want to put this code in a script #!...
If i want to put this code in a script
#! /bin/awk -f
(...)

what is the correct syntax? i'm unable to run this from a script. Thank you in advanced.
8,305
Posted By aristegui
I have a problem with white spaces, they are...
I have a problem with white spaces, they are important for the specified file format, and using the awk command


awk '{$NF = "0 1" "\"" $NF "\" 0"; print}' myFile

i retrieve the correct...
8,305
Posted By aristegui
Great!!! thank you very much. And, could you help...
Great!!! thank you very much. And, could you help me about how is the way to insert the 1f value in a certain line, for example in the line number five? (whoa, this is really powerful).

Thank youn...
8,305
Posted By aristegui
Parsing a file (sed/awk?)
Hello people, newbie question. I'm trying to parse these type of file

1 "CAR " " C1 " " " 6 0 C1
2 "CAR " " O1A" " " 8 0 O1A
3 "CAR " " O1B" " " ...
Showing results 1 to 24 of 24

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