Search Results

Search: Posts Made By: Peasant
1,958
Posted By Peasant
Perhaps something like this : BEGIN { ...
Perhaps something like this :

BEGIN {
printf "Input a file :\n"
getline file < "-"
if (system("test -f "file) == 1 ) { # or whatever test you want.
print "file not found"
}
else
{...
Showing results 1 to 1 of 1

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