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.

Mit Bordmitteln Textdatei bearbeiten

Empfohlene Antworten

Veröffentlicht

Hallo

Ich möchte mit Bordmitteln eine Textdatei bearbeiten, genauergesagt einzelne Zeilen rausschneiden.

Eine Datei "def30.txt" enthät z.B.

d:\app\log

d:\srv1

Eine Datei "komplett.txt" enthält z.B.

d:\app\bin

d:\app\log

d:\srv1

d:\srv2

gewünscht ist eine Datei "erg.txt"

d:\app\bin

d:\srv2

also "negatives Matching" wie es auf Linux "grep -v" macht, aber auf Windows und mit Bordmitteln

Wie geht das?

Ciao

Okay, das ging schnell, nun die Zusatzanforderung (für Zusatzpznkte *g*)

Die Ergebnislist (in erg.txt) soll als Liste von verzeichnissen interpretiert werden, die geleert (incl. Unterverzeichnisse) werden sollen.

Die Verzeichnisse selbst (d:\app\bin und d:\srv2) sollen bleiben.

Outfile macht bei mir (mit o.a. Dateien) zwei Dateien, entweder 498 Bytes gross (ohne " -encoding ascii") oder eben 248 bytes mit " -encoding ascii"). Da sind jede Menge "Füllbytes" drin?

Ciao

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.