Search Results

Search: Posts Made By: KingVikram
62,789
Posted By KingVikram
try basename
to find the last string on a path, try using basename, something like
basename path.

So the condition will look like

if [ `basename path` -ne $y ]

--Aj
13,721
Posted By KingVikram
Yes, I believe thats the way to do it, but how...
Yes, I believe thats the way to do it, but how to call the function using the above ? (BTW, thanks for your post)
13,721
Posted By KingVikram
passing a variable inside a variable to a function
I would like to know how to pass a variable inside a variable to a function.

sample code below
--------------
for x in 1 9
do
check_null $C$x ##call function to check if...
Showing results 1 to 3 of 3

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