Camilo,

Basically, it's a UNIX function that squeezes files together. It is short
for "concatenate." Simple example:

        cat file1 file2 > file3

Use your manpage for further info:

        man cat

You can also use it to view the contents of a file, similar to 'more' or
'less.' Example:

        cat file1

will print the contents of a file. Word to the wise: This will display the
guts of a huge binary file too, so unless you *want* to see a bunch of
cryptic garbage scrolling through your x-term, stick to using it on
ascii-based files like text/html/xml.

On an unrelated note, unless my e-mail software is changing the alignment of
your message, your "Perl signature" would not work. When you create a HERE
doc, the closing label has to start at the very beginning of the line, and
there has to be a return or newline after it.

#### <snip> ####

#!/usr/local/bin/perl
print <<'         EOF'
         Camilo Gonzalez
         Web Developer
         Taylor Johnson Associates
          [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
          www.taylorjohnson.com <http://www.taylorjohnson.com/>
         EOF

#### </snip> ####


Should really be:

#!/usr/local/bin/perl
print <<EOF;
  Camilo Gonzalez
  Web Developer
  Taylor Johnson Associates
  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
  www.taylorjohnson.com <http://www.taylorjohnson.com/>
EOF
# end


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.365 / Virus Database: 202 - Release Date: 5/24/2002


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to