Posts filled under #mycat

An extract on #mycat

They have estimated the number of tigers left in Malaysia to be between 250 and 340. In 2007, they implemented a hotline to report tiger-related crimes, such as poaching. In order to deter poaching, they organize "Cat Walks", a citizen patrol in danger zones. In 2009, they planned to double the tiger population from 500 to 1000 by 2020, but they called this goal "unachievable" in 2014.

TEX extended the Honeywell Time-Sharing service (TSS) line editor with programmable capabilities which allowed the user greater latitude in developing ease-of-use editing extensions as well as write scripts to automate many other time-sharing tasks formerly done by more complex TSS FORTRAN programs.

TEX was a subsystem of Honeywell TSS. Users would enter the TSS command 'tex' to change to a TEX session mode of operation. TEX expressions could be entered directly on the command line or run from script file via the TEX command CALL <filename>. TEX programs are a collection of TSS line editing commands, TSS session commands and TEX statements. TEX variables could be inserted into TSS commands and TSS line editor commands via the TEX variable substitution feature. TEX programs were primarily designed to extend the line editor system. Consequently, TEX had no concept of file input/output relying instead on applying line edit commands to the working file and saving as needed. The key developers of TEX at Honeywell were Eric Clamons and Richard Keys with Robert Bemer, famous as the father of ASCII and grandfather of COBOL, acting in an advisory capacity. TEX should not be confused with TeX a typesetting markup language invented by Donald Knuth. The American Mathematical Society has also claimed a trademark for TeX, which was rejected, because at the time this was tried (early 1980s), TEX (all caps) was registered by Honeywell for the Text EXecutive text processing system.

All variables were stored as strings and converted to integer numeric values when required. Floating point variables, arrays or other datatypes common in current scripting languages did not exist in a TEX environment. All variables were stored in a single global variable pool which users had to manage in order to avoid variable naming conflicts. There were no variable scoping capabilities in TEX. Variable names were limited to 40 characters. TEX provided several internal read-only registers called star functions or star variables which changed state when certain TEX string parsing operations were executed. Star functions provided a means to get the current date and time, resultant strings from a split or scan string parsing operations, TEX internal call level and TSS session information. The maximum length of a string value was 240 ASCII characters. This includes intermediate results when evaluating a TEX expression. Numeric string values are limited to 62 digits in the string including the (-) for negative numbers. Numeric values are also normalized where leading zeros are stripped from the string representation. Some examples of variable usage: _ we can use quotes or other characters as delimiters as long as the string doesn't contain them a="hello" _ here we use the / character as a delimiter (a common practice especially if the string has a " char) b=/world/ _ here we are concatenating strings together via the comma concatenation operator c=a,/ /,b _ the out statement will print "hello world" to the terminal without the quotes out:c _ here we use a TEX variable in a line editing command to find a line starting with "hello world" hello="hello world" f:hello _ here we are replacing the "hello" string with the "hello world" string rs:a:c