diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-16 13:01:27 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-02-16 13:01:27 +0300 |
| commit | d5e696c6acfa0bd084ff23814543f069c1d09e5b (patch) | |
| tree | 27a716df34806573917b420246a157f62259c874 /operators/url_parser.zsh | |
| parent | 65c79fafdc71ae070e3bc949f968096867ac4cab (diff) | |
operators/url_parser: Remove extra g operator
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'operators/url_parser.zsh')
| -rw-r--r-- | operators/url_parser.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/operators/url_parser.zsh b/operators/url_parser.zsh index e9da612..187af40 100644 --- a/operators/url_parser.zsh +++ b/operators/url_parser.zsh @@ -24,7 +24,7 @@ while [[ ${#url_table} -ge 4 ]] do if url_line="$(grep -o "https://\?${url_table[4]}.*" <<< "${command} ${@}")" then - url_line="$(sed -e 's/https:\/\///g' -e 's/ .*//g' <<< "${url_line}")" + url_line="$(sed -e 's/https:\/\///' -e 's/ .*//' <<< "${url_line}")" ib_board="${url_table[1]}" ib_post_id="$(cut -d ${url_table[2]} -f ${url_table[3]} <<< "${url_line}" | cut -d '?' -f 1)" |
