Jezyki_formalne_cw/5/3.sh
2023-07-04 19:57:29 +02:00

2 lines
183 B
Bash
Executable File

#!/bin/bash
grep -Po '(?:prof\. |Profesor |dr\. hab\. |Doktor Habilitowany |dr\. |Doktor |mgr\. |Magister |inż\. |Inżynier |lic\. |Licencjat )\K[A-Ź][a-ź]+(\s|\-)[A-Ź][a-ź]+' $2