Skip to content
Snippets Groups Projects

asterisk: use correct ranges with tr

Merged Erik Karlsson - Genexis requested to merge (removed):tr-ranges into devel
1 unresolved thread

The tr command does not take regular expressions and should not be used with ranges such as [a-z] which furthermore can cause issues if unquoted as they are interpreted by the shell.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1822 1822
1823 1823 configure_indications() {
1824 1824 config_get country tel_options country
1825 country_code=$(echo $country | tr [A-Z] [a-z])
  • Yalu Zhang added 4 commits

    added 4 commits

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading