Linux: Bash: Get text between brackets 3


awk 'NR>1{print $1}' RS='(' FS=')'

 

This post is also available in: Greek


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 thoughts on “Linux: Bash: Get text between brackets

  • lucky

    ex: module(load=”imjournal” # provides access to the systemd journal
    StateFile=”imjournal.state”) # File to store the position in the journal
    to
    module(load=”imjournal” # provides access to the systemd journal
    StateFile=”imjournal.state” # File to store the position in the journal
    ratelimit.interval=”300″ ratelimit.burst=”30000″)