Log in

View Full Version : Unix


francisco899
Nov 3, 2003, 10:46 AM
What is the script for inputing a name of a file that I would like to analyse by the script?

psi42
Feb 26, 2004, 07:14 PM
What is the script for inputing a name of a file that I would like to analyse by the script?


I'm not exactly sure what you're asking here...

In order to use an argument passed to a bash (which is all I know) shell script, you would do something like this



#!/bin/sh

echo "passed arguments: $1 $2 $3 $4"

exit



~psi42