fork(1) download
  1. #!/bin/bash
  2. s="profile string.www.com { app-service none cert string.www.com_2018_2020.crt cert-key-chain { string.www.com _2018_2020_geotrust_rsa_ca_2018 { cert string.www.com _2018_2020.crt chain geotrust_rsa_ca_2018.crt key string.www.com_2018_2020.key } } chain geotrust_rsa_ca_2018.crt defaults-from default-clientssl inherit-certkeychain false key string.www.com_2018_2020.key passphrase none }"
  3. grep -oP '(profile|defaults-from|passphrase)\s+\K\S+' <<< "$s"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
string.www.com
default-clientssl
none