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
Previous revision
Next revision Both sides next revision
manual:Filters [2021/10/04 03:18]
peternlewis
manual:Filters [2021/10/15 01:45]
peternlewis
Line 5: Line 5:
 The filters are: The filters are:
  
-* Remove Styles (ie, make the clipboard plain text – not applicable to variables). +* Remove Styles (clipboards only, make the clipboard plain text). 
-* Set line endings to Mac, Unix or Windows/​DOS.+* Set line endings to Mac (CR), Unix (LF) or Windows/​DOS ​(CRLF).
 * Trim Whitespace. * Trim Whitespace.
 * Hard wrap or unwrap paragraphs. * Hard wrap or unwrap paragraphs.
Line 14: Line 14:
 * Change quotes to Smart, Dumb or French quotation marks. * Change quotes to Smart, Dumb or French quotation marks.
 * Encode HTML or non-ASCII HTML entities. * Encode HTML or non-ASCII HTML entities.
 +* Encode HTML with numeric entities.
 * Decode HTML entities. * Decode HTML entities.
 * Generate an HTML list. * Generate an HTML list.
-* Percent Encode or Decode a URL. +[Percent Encode](https://​developer.mozilla.org/​en-US/​docs/​Glossary/​percent-encoding) ​or Decode a URL.  Percent Encode will encode **all** non-alphanumeric characters. 
-* Quote for AppleScript,​ JavaScript, Shell (bash) Script, ​or Swift.+* Encode for Regular Expression. 
 +* Encode or decode Base64. 
 +* Calculate MD5
 +* Quote for AppleScript,​ JavaScript, Shell (bash) Script, Swift or JSON.
 * Convert a JSON object string to Compact or Pretty format. * Convert a JSON object string to Compact or Pretty format.
-* Get the filename component of a path. 
 * Get parent of a path. * Get parent of a path.
-* Get the basename of the path (ie the name without directory or extension).+* Get the filename component of a path. 
 +* Get the basename of the path (ie the filename ​without directory or extension).
 * Get or delete the path extension. * Get or delete the path extension.
 * Get the display name of a path. * Get the display name of a path.
 * Expand tilde (~) paths, or abbreviate with a tilde. * Expand tilde (~) paths, or abbreviate with a tilde.
 * Resolve symlinks, or standardize the path. * Resolve symlinks, or standardize the path.
 +* Get the URL scheme, host, port, user, password, path, fragment or query.
 +* Sort, reverse sort, or shuffle lines.
 * Delete or bullet (•) control characters. * Delete or bullet (•) control characters.
 * Calculate an expression and return the result, see the [[manual:​Calculations]] section. * Calculate an expression and return the result, see the [[manual:​Calculations]] section.
 * Process Text Tokens and return the result, see the [[manual:​Tokens]] section. * Process Text Tokens and return the result, see the [[manual:​Tokens]] section.
-* Get the value of a named variable ​or named clipboard.+* Get the value of a named Variable ​or Named Clipboard.
 * 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.  ​You can also process text using an AppleScript or shell script, for example the shell script:
  
 {{ perl-pe-filter.png?​nolink&​583 |}} {{ perl-pe-filter.png?​nolink&​583 |}}
manual/Filters.txt · Last modified: 2024/01/29 03:38 by peternlewis