Ask a Question related to UNIX Programming, Design and Development.
-
Dan Mercer #1
Re: stdin is tty or file?
In article <beuivi$8be$1@nic.grnet.gr>,
"<- Chameleon ->" <cham_gss@hotmail.NOSPAM.com> writes:Lose the underscores.> I am not a Unix programmer (until now!) but I want to create a
> cross-platfrom program.
>
> In windows there is a function which says if stdin is keyboard or file:
> _isatty(_fileno(stdin));
>
> In Linux how can I do this?
>
>
__
Dan Mercer
[email]dmercer@mn.rr.com[/email]
Dan Mercer Guest
-
What is the source of my input, file or STDIN?
As I understand it, <> operator will open all items in @ARGV allowing one to do a shell command line of perl.script file1 file2 file3 and... -
fflush stdin
hello all, Quick question How do I flush stdin. I am writing an interactive console based script And I want that all inputs received before my... -
<STDIN>
In my script iam using the following line.. ..... where the user has to keyin either of the options 1)"Change_Request", 2)"call_req" 3)"Both" ... -
STDIN
use Time::Local; use FileHandle; my @month_list = qw/ January February March April May June July August September October November December /;... -
<STDIN> blues
I have this bit of code on a win2k Server: ----------------------------------------- #!E:\Perl\bin\perl.exe print "\n\n Productline (QA, PROD,...



Reply With Quote

