OS4 DepotLogo by Kicko 
(anonymous IP: 18.219.231.197,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Utility » Script » fxstr.lha

fxstr

Description: Converts strings to ReadArgs format
Download: fxstr.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 10kb
Version: 1.1
Date: 16 Oct 2016
Author: Lorence Lombardo
Submitter: Lorence Lombardo
Email: lorylombus/gmail com
Homepage: http://geocities.ws/lorylomb/
Category: utility/script
Replaces: utility/script/fxstr.lha
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 10038
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 103  (Current version)
132  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
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