Sponsored Content
Full Discussion: help me
Top Forums Shell Programming and Scripting help me Post 302118812 by ghostdog74 on Thursday 24th of May 2007 10:06:15 AM
Old 05-24-2007
Quote:
Originally Posted by Unbeliever
It is only useless if it has or serves no purpose.
yup, cat's purpose is to join files, and cat "filename" | <someothercmd> serves no purpose except to waste time "opening" another process
Quote:
In the past I've found that with new shell users it is easier to explain commands piped together rather than explain redirection. Therefore the purpose is simplicity.
<, >> , > and | are all taught as basic shell operations. we use >, >> often to redirect to files.etc.. same with < for input.
 
uri_urn(n)					    Tcl Uniform Resource Identifier Management						uri_urn(n)

__________________________________________________________________________________________________________________________________________________

NAME
uri_urn - URI utilities, URN scheme SYNOPSIS
package require Tcl 8.2 package require uri::urn ?1.1.2? uri::urn::quote url uri::urn::unquote url _________________________________________________________________ DESCRIPTION
This package provides two commands to quote and unquote the disallowed characters for url using the urn scheme, registers the scheme with the package uri, and provides internal helpers which will be automatically used by the commands uri::split and uri::join of package uri to handle urls using the urn scheme. COMMANDS
uri::urn::quote url This command quotes the characters disallowed by the urn scheme (per RFC 2141 sec2.2) in the url and returns the modified url as its result. uri::urn::unquote url This commands performs the reverse of ::uri::urn::quote. It takes an urn url, removes the quoting from all disallowed characters, and returns the modified urls as its result. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category uri of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
rfc 2141, uri, url, urn CATEGORY
Networking uri 1.1.2 uri_urn(n)
All times are GMT -4. The time now is 09:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy