From 424b0dc116e5f84d452c50d40e129cc352694326 Mon Sep 17 00:00:00 2001
From: Peter Gerwinski <peter.gerwinski@hs-bochum.de>
Date: Mon, 20 Mar 2023 16:38:56 +0100
Subject: [PATCH] Notizen 20.3.2023: ls-Quelltext, Sprachanpassung

---
 20230320/bs-20230320.txt | 62 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 20230320/bs-20230320.txt

diff --git a/20230320/bs-20230320.txt b/20230320/bs-20230320.txt
new file mode 100644
index 0000000..9e950dc
--- /dev/null
+++ b/20230320/bs-20230320.txt
@@ -0,0 +1,62 @@
+Quelltext von "ls" herunterladen:
+
+$ apt-get source coreutils
+
+Danach befinden sich im aktuellen Verzeichnis die folgenden
+Unterverzeichnisse bzw. Dateien:
+
+coreutils-8.30
+coreutils_8.30-3.debian.tar.xz
+coreutils_8.30-3.dsc
+coreutils_8.30.orig.tar.xz
+
+Befehl zum Nachinstallieren von Sprachen:
+
+$ dpkg-reconfigure locales
+
+Als Administrator ausführen:
+
+$ sudo dpkg-reconfigure locales
+
+Danach: Sprache temporär wechseln
+
+$ ls --help | head -10
+Aufruf: ls [OPTION]... [DATEI]...
+Auflistung von Informationen über die DATEIen (Standardvorgabe ist das
+momentane Verzeichnis). Alphabetisches Sortieren der Einträge, falls weder
+-cftuvSUX noch --sort angegeben wurden.
+
+Erforderliche Argumente für lange Optionen sind auch für kurze erforderlich.
+  -a, --all                  Einträge, die mit . beginnen, nicht verstecken
+  -A, --almost-all           implizierte . und .. nicht anzeigen
+      --author               mit -l, den Urheber jeder Datei ausgeben
+  -b, --escape               nicht‐druckbare Zeichen oktale ausgeben
+
+LANG=... voranstellen bedeutet: Sprache nur für diesen Befehl wechseln.
+LANG=C steht für: So, wie es im Quelltext steht. Nicht übersetzen.
+
+$ LANG=C ls --help | head -10
+Usage: ls [OPTION]... [FILE]...
+List information about the FILEs (the current directory by default).
+Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.
+
+Mandatory arguments to long options are mandatory for short options too.
+  -a, --all                  do not ignore entries starting with .
+  -A, --almost-all           do not list implied . and ..
+      --author               with -l, print the author of each file
+  -b, --escape               print C-style escapes for nongraphic characters
+      --block-size=SIZE      with -l, scale sizes by SIZE when printing them;
+
+Sprache (für die aktuelle Shell) dauerhaft wechseln
+$ export LANG=fr_FR.UTF-8
+$ ls --help | head -10
+Utilisation : ls [OPTION]... [FICHIER]...
+Afficher des renseignements sur les FICHIERs (du répertoire actuel par défaut).
+Trier les entrées alphabétiquement si aucune des options -cftuvSUX ou --sort
+ne sont utilisées.
+
+Les arguments obligatoires pour les options longues le sont aussi pour les
+options courtes.
+  -a, --all                  ne pas ignorer les entrées débutant par .
+  -A, --almost-all           ne pas inclure . ou .. dans la liste
+      --author               avec -l, afficher l'auteur de chaque fichier
-- 
GitLab