Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo Comm.,

ich arbeite ab und zu mit Linux und komme deswegen nicht um Bash-Skripte nicht drumrum.

An sich habe ich auch keine Probleme mit den Parametern, zumindest nicht mit der einfachen Variante, wo man einfach hinter den Skriptnamen etwas schreibt und das dann mit $1 $2 usw. abfragen kann.

Mich würde jetzt interessieren wie man optionale parameter übergeben kann, so wie es bei normalen (vom system gegebenen) Skripten der Fall ist, d.h. ich möchte z.b.

eintrag.sh -n name -c comment
eingeben aber ich möchte auch
eintrag-sh -c comment -n name
schreiben können und auch
eintrag.sh -n name

ich habe da mal eine lösung dafür gesehen, die war sogar ziemlich kurz und unkompliziert, aber das is schon ne weile her und ich kann mich an nix davon errinern 8(((

wäre toll wenn jmd ne lösung hat.

mfg

Bearbeitet von getCppKenntnisse()

ahja getopts hiess es.

dankeschön für hilfe

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.