Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • config
Find file BlameHistoryPermalink
  • Clement Chauplannaz's avatar
    scripts/config: use sed's POSIX interface · 83e8b90e
    Clement Chauplannaz authored Jul 13, 2013
    
    
    Script `config' relies on extensions of `GNU sed', and is thus not
    working on all Unixes:
      - in-place edition of files (-i), which can be replaced with
        a temporary file;
      - extended-regexps (-r), which can be split into basic regexps;
      - single-line calls to `a' command, while some implementations
        require a leading newline before the parameter.
    
    Rewrite calls to `sed' to comply with POSIX interface, and move them
    to helper functions.
    
    Signed-off-by: default avatarClement Chauplannaz <chauplac@gmail.com>
    Tested-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
    Reviewed-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
    Signed-off-by: default avatarYann E. MORIN <yann.morin.1998@free.fr>
    83e8b90e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7