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
manual:Filters [2022/09/06 01:55]
peternlewis
manual:Filters [2024/01/29 03:38] (current)
peternlewis
Line 7: Line 7:
 * Remove Styles (clipboards only, make the clipboard plain text). * Remove Styles (clipboards only, make the clipboard plain text).
 * Set line endings to Mac (CR), Unix (LF) or Windows/DOS (CRLF). * Set line endings to Mac (CR), Unix (LF) or Windows/DOS (CRLF).
-* Trim Whitespace.+* Trim Whitespace. ​ ​(Remove leading and trailing whitespace from a string.)
 * Hard wrap or unwrap paragraphs. * Hard wrap or unwrap paragraphs.
 * Lowercase (all characters),​ Lowercase First (just the first character). * Lowercase (all characters),​ Lowercase First (just the first character).
 * Uppercase (all characters),​ Uppercase First (just the first character). * Uppercase (all characters),​ Uppercase First (just the first character).
 * Capitalize (all words) or Title Case (intelligently uppercase certain first letters). * Capitalize (all words) or Title Case (intelligently uppercase certain first letters).
 +* Sentence Case (first character of each sentence) (v11.0+).
 * 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.
Line 21: Line 22:
 * Encode or decode Base64. * Encode or decode Base64.
 * Calculate MD5. * Calculate MD5.
 +* Styled Text to/from RTF plain text (v11.0+).
 * Quote for AppleScript,​ JavaScript, Shell (bash) Script, Swift, JSON or Process Tokens. * Quote for AppleScript,​ JavaScript, Shell (bash) Script, Swift, JSON or Process Tokens.
 * Convert a JSON object string to Compact or Pretty format. * Convert a JSON object string to Compact or Pretty format.
 * Get parent of a path. * Get parent of a path.
 * Get the filename component of a path. * Get the filename component of a path.
-* Get the basename ​of the path (ie the filename without directory or extension).+* Get the base name 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.
Line 31: Line 33:
 * Resolve symlinks, or standardize the path. * Resolve symlinks, or standardize the path.
 * Get the URL scheme, host, port, user, password, path, fragment or query. * Get the URL scheme, host, port, user, password, path, fragment or query.
-* Sort, reverse ​sort, or shuffle lines.+* Sort, reverse ​(first<​=>​last), or shuffle ​(perpetuate) ​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.
Line 38: Line 40:
 * 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.  You can also process text 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.1662443720.txt.gz · Last modified: 2022/09/06 01:55 by peternlewis