Search Results

Search: Posts Made By: gav2251
Forum: Programming 04-11-2009
4,730
Posted By gav2251
learning fortran
Can anyone recommend a very good Fortran online course for unix. It should also cover Fortran X11 programming if possible. I understand this learning cannot be rushed but a course that addresses...
1,477
Posted By gav2251
awk modifying entries on 2 lines at 2 positions
Hi
this script adds text in the correct place on one line only, in a script.
awk 'BEGIN{
printf "Enter residue and chain information: "
getline var < "-"
split(var,a)
}
/-s...
2,799
Posted By gav2251
Hi I've been away. Is this doable?
Hi I've been away. Is this doable?
2,799
Posted By gav2251
Original script
Hi the whole script is


#select one of these for the shell you use
#csh
source /usr/local/MGLTools-1.5.2/bin/mglenv.csh
#bash
#source /usr/local/MGLTools-1.5.2/bin/mglenv.sh

#script for...
2,799
Posted By gav2251
awk script for replacing 2 strings
Hi
I have written a script for automating a program. There is a string in 2 lines that needs altering from input.

The 2 lines are:

prepare_flexreceptor4.py -r rec_rigid.pdbqt -s TYR119_TRP312...
Forum: Programming 02-19-2009
3,488
Posted By gav2251
python, character replacement
Hello, I need to do this in python but I'm just learning py and it's quite urgent.

I have a script I created and need an interactive python script to modify part of a line.

MY SCRIPT


...
4,308
Posted By gav2251
T he script is awk 'BEGIN{ printf "Enter...
T he script is
awk 'BEGIN{
printf "Enter the co ordinates or auto : "
getline var < "-"
split(var,a)
}
/gridcenter/{$2=a[1]; $3=a[2]; $4=a[3]}
{print}'

it prints to std out...
4,308
Posted By gav2251
Hello I run by awkscript myfile thanks gs
Hello
I run by awkscript myfile
thanks
gs
4,308
Posted By gav2251
Hi, yes it's weird I have 7 permission but awk...
Hi,
yes it's weird I have 7 permission but awk fails when I introduce > >> (with touch first") or |.
gav
4,308
Posted By gav2251
Hi when I use > or | the script fails. Why's...
Hi when I use > or | the script fails. Why's this?
The link didn't.
gs
4,308
Posted By gav2251
yes that was the 1st thing I tried but the script...
yes that was the 1st thing I tried but the script failed. I will pursue this.
gav
4,308
Posted By gav2251
Thanks, this works great but I need to update the...
Thanks, this works great but I need to update the original rather than to std output.
Thank you.
4,308
Posted By gav2251
awk line editing
Hello I am trying to make an awk script that always replaces the same characters in a file, with white space in between. Can anyone write a script that prompts for the 3 numbers and then replaces...
2,543
Posted By gav2251
truly amazing thanks
truly amazing
thanks
2,543
Posted By gav2251
this table needs extracting RMSD TABLE ...
this table needs extracting

RMSD TABLE
__________

_____________________________________________________________________
| | | | | |...
2,543
Posted By gav2251
the input is a log file 1000's lines long...
the input is a log file 1000's lines long containing molecular info, energies, co ordinates etc.
The output is below and its position in the file changes.

RMSD TABLE
__________
...
2,543
Posted By gav2251
extracting table with awk
Hi,
I am new to awk and want to create a script that finds a string of text then prints the following table to a seperate file.
I thought of using the / / identifier, but how do I retrieve the...
Showing results 1 to 17 of 17

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