hi all. thanks for looking
i am doing some homework.
one question is that when type
wc
and then how to tell the program that we have finished entering data?
also
why do some operating systems report 22 as the number of bytes in the file above, while others only 20?
thanks so much,... (1 Reply)
Hello,
I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is
sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name3>' |... (0 Replies)
Hello,
I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is
sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM"
sh "nlshCMD 'STREAM <job name3>' |... (1 Reply)
Hi ,
I have a piece of code ...wherein I need to assign the following ...
1) A command line argument to a variable
e.g origCount=ARGV
2) A unix command to a variable
e.g result=`wc -l testFile.txt`
in my awk shell script
When I do this :
print "origCount" origCount --> I get the... (0 Replies)
Hi,
Well my title isn't very clear I think. So to understand my goal:
I have a script "test1"
#!/bin/bash
xvkbd -text blabla
with xbindkeys, I bind F5 key in order it runs my test1 script
So when I press F5, test1 runs.
I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
I am going through the Unix Made Easy second edition book by John Muster. So far it's been very informative and I can tell it may be a bit out of date.
In one of the exercises it talks about the "sort" command and using it to sort column's of data etc. The "sort" command has changed a bit and... (1 Reply)
Hi all,
I wish to know whether Unix can access window's file in Unix's terminal?
Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
I'm trying to write a bash script called YN that looks like the following
YN "Specify a question" "doThis" "doThat"
where "doThis" will be executed if the answer is "y", otherwise "doThat".
For example
YN "Do you want to list the file dog?" "ls -al dog" ""
Here's my attempt... (3 Replies)
Hi Folks,
I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml
which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/
now the credentials of unix box are
abc345 -->(dummyid)
ftyiu88--->(dummy passwd)
... (4 Replies)
Discussion started by: punpun66
4 Replies
LEARN ABOUT MOJAVE
vfs-filesystems
vfs-filesystems(n) vfs-filesystems(n)
__________________________________________________________________________________________________________________________________________________NAME
vfs-filesystems - Filesystems provided by tclvfs
SYNOPSIS
package require Tcl 8.4
package require vfs ?1.2.1?
package require vfs::zip ?1.0?
package require vfs::mk4 ?1.6?
package require vfs::tar ?0.9?
package require vfs::ftp ?1.0?
package require vfs::ns ?1.0?
package require vfs::webdav ?0.1?
package require vfs::http ?0.5?
package require vfs::urltype ?1.0?
vfs::zip::Mount path to
vfs::mk4::Mount path to
vfs::tar::Mount path to
vfs::ftp::Mount path to
vfs::ns::Mount path to
vfs::webdav::Mount path to
vfs::http::Mount path to
vfs::urltype::Mount path to
_________________________________________________________________DESCRIPTION
The package vfs provides not only the means to implement a virtual filesystem at the tcl level, but also a number of ready to be used
filesystems as well.
Each of these filesystem exists as its own package, and can be accessed through package require vfs::NAME. The whole set of these virtual
filesystems is known informally as 'vfslib'.
SUPPORTED VFS TYPES
Currently supported are ftp, tar, http, zip, mk4, ns, and webdav. In addition there is the ability to mount any 'urltype' as a new direc-
tory, provided an appropriate vfs is supported. This means that you can treat urls based on the schemes ftp://, http:// and file:// as
files. To do this, simply evaluate the command vfs::urltype::Mount ftp for example. Any access inside the new volume will result in an
attempt to require a package through package require vfs::${type}, which must therefore exist, or errors will be thrown. If a filesystem
is loaded, use the associated command listed below to mount a source for that filesystem as a tcl directory.
vfs::zip::Mount path to
Mount the zip file path as directory to.
vfs::mk4::Mount path to
Mount the metakit database file file path as directory to.
vfs::tar::Mount path to
Mount the tar file path as directory to.
vfs::ftp::Mount path to
Mount the ftp url path as directory to.
vfs::ns::Mount path to
Mount the tcl namespace path as directory to.
vfs::webdav::Mount path to
Mount the webdav url path as directory to.
vfs::http::Mount path to
Mount the http url path as directory to.
vfs::urltype::Mount path to
Mount the url path, of type urltype as directory to.
LIMITATIONS
Most of the vfs types listed above have not been very well debugged as yet. Please test them!
SEE ALSO
vfs, vfs-fsapi
KEYWORDS
file, filesystem, ftp, http, metakit, namespace, tar, vfs, vfslib, webdav, zip
COPYRIGHT
Copyright (c) 2001-2003 Vince Darley <vincentdarley@users.sourceforge.net>
Copyright (c) 2003 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Tcl-level Virtual Filesystems 1.0 vfs-filesystems(n)