06-14-2008
If you found a solution, please post it for the benefit of all who visit here seeking answers.
Thanks.
6 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
Admin:
I have 2 postings for FTP issues can you delete both of them. I resolve the problems by myself. Thanks (1 Reply)
Discussion started by: newbie05
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Hi,
I have created a new thread. I dont need that thread now. How should I delete it? Nobody has replied yet.
Regd,
M (5 Replies)
Discussion started by: mahatma
5 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi Moderator..
Please delete all my post.. some my post has confidential details of my company... i unknowning posted that ... is it possible to remove those..
i couldn't able to edit those bz those r closed .. (1 Reply)
Discussion started by: girija
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi Moderator,
Please delete the below post which i posted by mistake.Thanks in advance.
https://www.unix.com/shell-programming-and-scripting/260605-closed-script-not-working-new-post.html
Kindly help me on this.
Thanks,
vijay (1 Reply)
Discussion started by: bhas85
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi Administrator,
Please delete the following post as soon as possible.
https://www.unix.com/shell-programming-and-scripting/199817-solved-running-script-remotely-sudo-id.html (8 Replies)
Discussion started by: arjunprathap
8 Replies
6. Post Here to Contact Site Administrators and Moderators
Dear administrator
Please delete all my posting, topics and user account.
I will create a new user account myself.
Thanks for the effort render. (2 Replies)
Discussion started by: houmingc
2 Replies
tell(3tcl) Tcl Built-In Commands tell(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
tell - Return current access position for an open channel
SYNOPSIS
tell channelId
_________________________________________________________________
DESCRIPTION
Returns an integer string giving the current access position in channelId. This value returned is a byte offset that can be passed to seek
in order to set the channel to a particular position. Note that this value is in terms of bytes, not characters like read. The value
returned is -1 for channels that do not support seeking.
ChannelId must be an identifier for an open channel such as a Tcl standard channel (stdin, stdout, or stderr), the return value from an
invocation of open or socket, or the result of a channel creation command provided by a Tcl extension.
EXAMPLE
Read a line from a file channel only if it starts with foobar:
# Save the offset in case we need to undo the read...
set offset [tell $chan]
if {[read $chan 6] eq "foobar"} {
gets $chan line
} else {
set line {}
# Undo the read...
seek $chan $offset
}
SEE ALSO
file(3tcl), open(3tcl), close(3tcl), gets(3tcl), seek(3tcl), Tcl_StandardChannels(3tcl)
KEYWORDS
access position, channel, seeking
Tcl 8.1 tell(3tcl)