Advertisement
Tariqul_Islam

Remove the First Capital Letter from Each Element

Aug 16th, 2020
1,367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.05 KB | None | 0 0
  1. #!/bin/bash
  2. arr=($(cat))
  3. echo ${arr[@]/[A-Z]/.}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement