Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Problem if there is a "(" in an url when trying open a tab in cli (-new-tab)

  • 2 odpowiedzi
  • 1 osoba ma ten problem
  • 4 wyświetlenia
  • Ostatnia odpowiedź od lz

more options

If there is a "(" in an url when trying open a tab in cli (-new-tab) I get the answer: bash: syntax error near unexpected token `('

Example: try 'firefox -new-tab https://en.wikipedia.org/wiki/Bernicia_(disambiguation)'

Any idea?

If there is a "(" in an url when trying open a tab in cli (-new-tab) I get the answer: bash: syntax error near unexpected token `(' Example: try 'firefox -new-tab https://en.wikipedia.org/wiki/Bernicia_(disambiguation)' Any idea?

Wybrane rozwiązanie

What if you quote the URL?

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_(disambiguation)"

Otherwise, you might need to encode it in some manner? For example:

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_%28disambiguation%29"

Przeczytaj tę odpowiedź w całym kontekście 👍 0

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

What if you quote the URL?

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_(disambiguation)"

Otherwise, you might need to encode it in some manner? For example:

firefox.exe -new-tab "https://en.wikipedia.org/wiki/Bernicia_%28disambiguation%29"

more options

Sorry, I should have thought of it myself. It works with quotation. Thanks!