Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 2.05 KB

TODO.md

File metadata and controls

76 lines (46 loc) · 2.05 KB

strglob TODO list

  • flatpak.org - packages for every Linux distribution

  • Make sure it installs successfully on MacOS

  • if dot-slash syntax given directory instead of file, choose random file in dir

  • use readahead() ?

  • accept guile, Lua, elisp, and/or some other expression syntax?

  • generate random string from expression

    • or create other syntax for pre-defined and custom variable expansions
  • [0_9] => 3 or {0__9} => 3

    • i.e. underscore signifies generate random character from range
  • [0_9#3] => 382 or {0__9#3} => 382

    • octothorpe after underscore says generate that many random characters in given range
  • refer to jot and rs tools on MacOS for features

  • combining/negating character classes

    • [[:print:][^[:alnum:]]]
  • inside of parens is IP address expansion for:

    • 192.168.0.0/16
    • 192.168..
    • 192.168.0-255.0-255
    • 192.168.0.0/255.255.0.0
  • command execution with {(pwd)}

  • security options:

    1. restrict file input according to one or more of:
    • only allow CWD
    • allow allow HOME
    • pathname must match realpath
    • pathname cannot be relative
    • pathname cannot contain "CDUP" ..
    1. use secure_getenv() instead of getenv()
  • implement cmake and/or autotools

  • Create UNIX manual page with nroff

  • Write PDF guide with LaTeX

  • Make Ruby and Go extensions

  • give the command line tester --usage and --version flags via getopt_long()

  • doxygen

  • Make new syntaxes:

{aa-zz} => aa ab ac .. ba bb bc .. zx zy zz

{a-zzz} => a b .. aa ab ac .. ba bb bc .. ca cb cc .. aaa aab aac .. baa bab bac .. bbb bca bcb .. caa cab cac .. zzz

{:wdays:} => mon, tue, wed, thu, fri, sat, sun # character class vs string class

{:Wdays:} => Mon, Tue, Wed, Thu, Fri, Sat, Sun

{:WDAYS:} => MON, TUE, WED, THU, FRI, SAT, SUN

{:weekdays:} => monday, tuesday, wednesday, thursday, friday, saturday, sunday 

[01abc] => 0 1 a b c
  • weekdays, months, states, countries (abbrevs/capital/upper/etc. of all these)