Files
thpeetz-notes/Quellen/grep.md
T

12 lines
240 B
Markdown

# Verschiedene Beispiele für die Anwendung von `grep`
> [!code]- Extract a URL with grep
> Quelle: https://www.baeldung.com/linux/shell-get-url-from-string
> ```shell
> grep -o 'http[s]\?://[^ ]\+' file_with_link.txt| head -1
> ```
>