User Tools

Site Tools


manual:Filters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:Filters [2019/06/24 23:27]
peternlewis
manual:Filters [2021/10/04 03:17]
peternlewis
Line 18: Line 18:
 * Percent Encode or Decode a URL. * Percent Encode or Decode a URL.
 * Quote for AppleScript,​ JavaScript, Shell (bash) Script, or Swift. * Quote for AppleScript,​ JavaScript, Shell (bash) Script, or Swift.
-* Convert a JSON object string to Compact or Pretty format ​(v9.0+).+* Convert a JSON object string to Compact or Pretty format.
 * Get the filename component of a path. * Get the filename component of a path.
 * Get parent of a path. * Get parent of a path.
Line 32: Line 32:
 * Count the characters, words or lines and return the result. * Count the characters, words or lines and return the result.
  
-We will likely expand the list of possible filters, so if you have specific filtering needs that you think might be of general interest, please let us know.  In the mean time, remember that you can apply scripted filters using an AppleScript or shell script, for example the shell script:+We will likely expand the list of possible filters, so if you have specific filtering needs that you think might be of general interest, please let us know.  In the mean time, remember that you can apply scripted filters using an AppleScript or shell script, for example the shell script ​`perl -pe '​tr/​A-Z/​a-z/'​`:
  
-<code bash> +{{ perl-pe-filter.png?​nolink&​292 ​|}}
-pbpaste | perl -pe '​tr/​A-Z/​a-z/' ​pbcopy +
-</​code>​+
  
 is roughly equivalent to the Lowercase filter, except that it only works with ASCII characters. is roughly equivalent to the Lowercase filter, except that it only works with ASCII characters.
  
manual/Filters.txt · Last modified: 2024/01/29 03:38 by peternlewis