write ashell script to add awo matrix using array.
According to the Linux+ Guide to Linux Certification 2nd ed., most configuration files on Linux systems are delimited using the colon symbol (:) while the awk command uses spaces or tabs as delimiters for each field in a line. SudoKing, please note that the hash symbol (#) allows the commenting of lines, not the delimiting of lines. This is not to be confused with a hashpling (such as #!/bin/bash) which is located on the first line in a shell script, and specifies the pathname to the shell that interprets the contents of the shell script.
echo $SHELL
You cannot. C++ and shell script (which shell, by the way? there are more than one) are entirely different languages.
We can not perform Shell Scripting in DOS, we can do Batch programing in DOS..
You don't need a shell script to do that. Since you don't say what 10 shell variables you want, you can list them all by using the 'set' command to list all known in-use shell variables in the current session.
It can depend on which shell environment you are using, but what I use is: function something { # body of routine } # call the function something
What is the past tense of Array
Your question is unclear; Are you talking about reading a filename that happens to contain PDF, or reading a PDF file itself? The shell script doesn't know or care what kind of files you are using. It all depends on what you intend to do with the file.
Which one of those matrices is more comfortable to sleep on?
That would depend on what shell you're using. Most seem to have a command similar to "echo x" which will print x to the terminal.
A shell script by itself would be a fairly poor way of doing this; using something like awk or perl with a pattern match for a word would be a much better choice. There are many examples on the net for this type of process using perl, for example.
The echo command echoes out any of the command line arguments given to it. It is commonly used in shell scripts to echo what portions of the shell script are doing.