Template:egFindGermanChars

From RaySoft

Syntax

{{egFindGermanChars}}

Usage

Code

{{egFindGermanChars}}

Result

Work with German special characters (like äöü) in the macOS' file system HFS+
pattern="$(iconv --to-code='UTF-8-MAC' <<<'ausrüstung.md')"

find "${HOME}" -type 'f' -name "*/${pattern}"
NOTE:
UTF-8-MAC is a special encoding which is only available on macOS.