Search Results

Search: Posts Made By: raochetan4
2,530
Posted By raochetan4
Thank you
Ooopss....
Thanks for both the solutions!
2,530
Posted By raochetan4
$1 gives the arguments while you call the file. ...
$1 gives the arguments while you call the file.

now replace 1 by i where i =1
=> $i => 1 but not the arguments...

=> SO I was thinking if there is something like $($i) = $(1) = argument1
2,530
Posted By raochetan4
$ of $i
Is it possible to calculate $ of $i?

for example:

There is a script : double.bash
-------------
i = 1;

valueofi = $i
file1=$1
file2=$2
argument = $($i) >>>>>>? IS this possible?...
Showing results 1 to 3 of 3

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