Logo by DBAlex (anonymous IP: 3.141.32.53,2258) | ||||||||||||||
| ||||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (148) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4398 Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
Support the site
|
fxstr v1.1 (c) 2016 Lorence Lombardo. WTF is fxstr ? fxstr attempts to convert a literal unquoted string to a ReadArgs quoted compatible format. If quotes are in the original string they should only be there because they are infact a part of the original string rather than a quotation of the original string. fxstr deals with strings that are considered as bad in the Amiga world because certain characters are normally reserved for control purposes only rather than for file names. Usage:- fxstr <string> eg. fxstr gn " % [] | rr#? -> "gn *" ** **** ** rr*#*?" I am currently using fxstr in "DM_del.rexx", but fxstr could be used by just about any kind of script. If being used for file names it is possible that the result can satisfy more than one file name which may be a problem, but I dont believe there is any other solution for ReadArgs at this stage. Apart from the above mentioned I am currently not aware of any bugs or character failures at this stage, but feel free to let me know if you are aware of any. Also feel free to let me know if you are aware of a more specific template for certain characters. If you use "DM_del.rexx" you do so at your own risk. Bonus:- badname v1.1 (c) 2016 Lorence Lombardo. WTF is badname ? badname will rename an unfriendly ReadArgs file or directory to "killme_badname_X", where "X" is a number beginning from "0". So you can then rename, delete, etc... "killme_badname_X" files in a more ReadArgs friendly way, providing your parent path does not consist of a bad name also. Of coarse badname will rename regular names also. Usage:- badname <file> badname works with literal unquoted strings only like fxstr. If a name begins with a space then the device name should be supplied first. |
Copyright © 2004-2024 by Björn Hagström All Rights Reserved |