Hi
Im needing to write a Bash shell script which will transfer a .PDB filename to a C program which will then be doing things to that file.
Anyone any ideas where to start would be appreciated!!!
Hi
Im needing to write a Bash shell script which will transfer a .PDB filename to a C program which will then be doing things to that file.
Anyone any ideas where to start would be appreciated!!!
if i've read your question correctly, you can call command-line programs in bash using back-ticks ````
so write and compile you c code (that accepts the filename as a argument) and in bash go:
do you think this should be on the linux programming board?Code:#!/bin/sh FILENAME=filename.pdb RESULT=`my_c_program $FILENAME` echo $RESULT