Search Results

Search: Posts Made By: Scott
8,545
Posted By Scott
I've used this in the past, but not sure if it's...
I've used this in the past, but not sure if it's a good way. Like you, I'm quite new to the language :)

$ cat MyScript
if(tell(\*STDIN) == -1) {
printf( "got file\n\n");
}

$ ./MyScript
$...
Showing results 1 to 1 of 1

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