sffswap Change a single string in an incoming file or stream. This uses a file in tables/sff. Syntax is : cat yuko | sffswap > yukP uses tables/sff/SWAP cat yuko | sffswap newswap.460 > yukP uses tables/sff/NEWSWAP.460 sffswap swap yuko > yukP uses tables/sff/SWAP sffswap newswap2 yuko > yukP uses tables/sff/NEWSWAP2 sffswap - yuko yukP uses tables/sff/SWAP or sffswap -v print version number and exit For those switches with parameters, the parameter MUST be separated by a space. The SWAP file has the syntax : ; comment line wild: (chr denoting a wild chr ) wild:? Default: '?' string:(input string) (spcs/tabs) (output string) string:<MD?> [MO?] No default. case: no/yes Case INsensitive YES or NO If NO - either case will suffice. Default: YES Wild chr example : string:<MD?> [MO?] ie <MD0> -> [MO0] <MD1> -> [MO1] <MD2> -> [MO2] Note that the default wild chr is '?'. To force to NO WILD : wild:\000 If the file has a FipStyle header between '~ NL', any '~' and NL chrs are preserved but any other are translated. Other env varis can be used to define where the system is : SFF_HOME where the home or top queue is. default: /fip eg setenv SFF_HOME /ripexpress/underware SFF_LOG where the log files queue is default: (SFF_HOME)/log SFF_SPOOL where the data queues are default: (SFF_HOME)/spool SFF_TMP where the tmp data queues is default: (SFF_HOME)/x THIS MUST BE ON THE SAME UNIX VOLUME as SFF_SPOOL queues. ie if spools are on /data99 which is hard disk /dev/sd0, you MUST also have the TMP queue on the same disk/partition NOTE that for all BUT SFF_HOME, if the parameter starts with a '/' then it is a hard, absolute path; if not then the spool area is under SFF_HOME. eg setenv SFF_SPOOL /data7 will look under /data7 for queues while setenv SFF_SPOOL data7 will look under /fip/data7 (copyright) 2024 and previous years FingerPost Ltd.