OS4 DepotLogo by DaveyD 
(anonymous IP: 3.91.106.223,1391) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (330)
   o Datatype (47)
   o Demo (186)
   o Development (541)
   o Document (21)
   o Driver (87)
   o Emulation (142)
   o Game (874)
   o Graphics (469)
   o Library (102)
   o Network (207)
   o Office (56)
   o Utility (827)
   o Video (62)

Total files: 3951

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: 66  (Current version)
95  (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-2019 by Björn Hagström All Rights Reserved