PRODUCT






Home









Free Download








Installation Instructions





FAQ





FAQ








Ask A Question





LEARN SCRIPTING





Overview








Lesson 1








2


3


4


5








Exam





SAMPLE SCRIPTS





Computer








Internet








Administrators








Developers








Data








Miscellaneous





HELP / DOCUMENTATION





Commands








Automated Internet








Automated Editors








Sample Scripts








Precompiled Functions








System Features






  Help Page - echo

( Some help pages may not display correctly in html because those help pages may have sample code
in them, part of which may be mis-interpreted as html tags.

All help pages, including this help page, are available in biterScripting with the help command. )




Command echo Purpose Writes to screen or redirected output or error stream. Aliases Syntax echo [ <options> ] [ <argument> [ <argument> ... ] ] Options -e Write to error stream. With this option, the output of echo command is written to the error stream. Without this option, the output is written to output stream. This option is very useful for inserting debugging messages in scripts. The following is an example. echo -e "DEBUG: Processing file " $fileName Arguments <argument> A constant, a variable, an expression, a function call, an inline function, any combination of these using operators. Stream Input Ignored. Stream Output Contents of all arguments are produced on one line, if -e option is NOT present. Stream Error Any errors are listed here. Also, contents of all arguments are produced on one line here, if -e option IS present. Description This command lists the contents of various types of arguments. If multiple arguments are specified, contents of each argument is produced. If inline command is used, that command is executed, and its stream output is produced. No formatting is used when listing output. This allows you to formt the output to the way you desire. Use formatting characters such as "\t" (tab), "\n" (newline), " " (space), etc. Use double quotes when using formatting characters. Use of parentheses and double quotes is highly recommended. Parentheses specify to the command TO EVALUATE the expression within the parentheses. Double quotes specify to the command NOT TO EVALUATE the text within double quotes. There is NO LIMIT on how many parentheses you can use. Further, there is NO LIMIT on how many levels of parentheses you can use. Restrictions Expressions must be enclosed in parentheses. Valid Examples echo $x Will display the value of variable x. var int i ... echo ($i+5) Will display the value of i plus 5. The value of variable i itself, will remain unaffected. Invalid Examples var int i ... echo $i+3 Will produce error. Parentheses must be used around expressions. The following will work. echo ($i+3) See Also set var systemvar

© 2008-2012, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com. Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.