Blog Viewer

Scripting How-To: Space your script output

By Erdem posted 08-10-2015 18:00

  

If you want spaced columns then you will want to use the jcs:printf() function.  This returns a correctly spaced string which can then be displayed on the console through the jcs:output() function.  The following page has an example from eol-scanner.slax that uses jcs:printf():

 

Output Formatting Hints


#Slax
#How-To
#ScriptingHow-To
#xml

Permalink