Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory how do you get 2 windows off your computer Post 32543 by WIntellect on Thursday 28th of November 2002 01:46:28 PM
Old 11-28-2002
Which bootmanager are you using? This may effect the end result!
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What can I do,if I want windows me and unix stay in the same computer?

My computer's operating system is windows me,now.I want install unix in it while I don't want to kill the windows me.So could u tell me what to do?I'd like you give me detailed information about it.Thank u. (2 Replies)
Discussion started by: David
2 Replies

2. UNIX for Dummies Questions & Answers

Adding Unix on my Windows based computer

Hi Everyone... I am very interested in the Unix/Linux/Knoppix world and would like to eventually become proficient in the programming aspect of it all. Is it possible to use Knoppix in a partitioned drive on my Windows based computer to learn programming in Unix? Or do I need to partition my... (1 Reply)
Discussion started by: Rev. Enant
1 Replies

3. AIX

AIX on windows based computer.

Hello, We would like to perform tests on a product that my company created lately. We don't have the right hardware for AIX enviornment I've read the thred "Unix environments for MS Windows", but didn't see there a possibility to install AIX OS on a special compatible hardware. We've... (6 Replies)
Discussion started by: AshkA
6 Replies

4. UNIX for Dummies Questions & Answers

Copying from remote SunOS to local Windows 7 computer

Can someone please help me with copying from remote computer to local computer? I have Winscp installed but for some reason i can seem to get into the server using winscp. I am currently logged on to the server, so its not a case of remote host unavailable. I really am not sure if the syntax... (2 Replies)
Discussion started by: dollypee
2 Replies

5. Windows & DOS: Issues & Discussions

How to run a Windows Setup on a Linux computer?

I am looking to run a Windows utility BitRecover PST Viewer. To help me read a pst file. Can anybody guide me how can I run this Windows utility on Linux. (3 Replies)
Discussion started by: marktux
3 Replies
gets(n) 						       Tcl Built-In Commands							   gets(n)

__________________________________________________________________________________________________________________________________________________

NAME
gets - Read a line from a channel SYNOPSIS
gets channelId ?varName? _________________________________________________________________ DESCRIPTION
This command reads the next line from channelId, returns everything in the line up to (but not including) the end-of-line character(s), and discards the end-of-line character(s). ChannelId must be an identifier for an open channel such as the Tcl standard input channel (stdin), the return value from an invocation of open or socket, or the result of a channel creation command provided by a Tcl extension. The channel must have been opened for input. If varName is omitted the line is returned as the result of the command. If varName is specified then the line is placed in the variable by that name and the return value is a count of the number of characters returned. If end of file occurs while scanning for an end of line, the command returns whatever input is available up to the end of file. If chan- nelId is in nonblocking mode and there is not a full line of input available, the command returns an empty string and does not consume any input. If varName is specified and an empty string is returned in varName because of end-of-file or because of insufficient data in non- blocking mode, then the return count is -1. Note that if varName is not specified then the end-of-file and no-full-line-available cases can produce the same results as if there were an input line consisting only of the end-of-line character(s). The eof and fblocked commands can be used to distinguish these three cases. EXAMPLE
This example reads a file one line at a time and prints it out with the current line number attached to the start of each line. set chan [open "some.file.txt"] set lineNumber 0 while {[gets $chan line] >= 0} { puts "[incr lineNumber]: $line" } close $chan SEE ALSO
file(n), eof(n), fblocked(n), Tcl_StandardChannels(3) KEYWORDS
blocking, channel, end of file, end of line, line, nonblocking, read Tcl 7.5 gets(n)
All times are GMT -4. The time now is 03:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy