fork download
  1. #!/bin/bash
  2. s='Something1 something2
  3. word1 Word2
  4. this is lower
  5. папа Петя'
  6. grep '\<[[:upper:]]' <<< "$s"
Success #stdin #stdout 0.01s 5452KB
stdin
Standard input is empty
stdout
Something1 something2  
word1 Word2  
папа Петя