# Danish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Joe Hansen , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.29.1\n" "POT-Creation-Date: 2026-06-05 06:48+0200\n" "PO-Revision-Date: 2026-03-25 18:36+0100\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "tee" msgstr "tee" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8. februar 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "Linux man-pages 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NAVN" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "tee - duplicating pipe content" msgstr "tee - duplikere datakanalindhold" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTEK" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "C-standardbibliotek (I,\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SYNOPSIS" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Efcntl.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* Se feature_test_macros(7) */\n" "B<#include Efcntl.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, int >IB<, size_t >IB<, unsigned int >IB<);>\n" msgstr "BIB<, int >IB<, size_t >IB<, unsigned int >IB<);>\n" #. Return type was long before glibc 2.7 #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "BESKRIVELSE" # # #. Example programs http://brick.kernel.dk/snaps #. add a "tee(in, out1, out2)" system call that duplicates the pages #. (again, incrementing their reference count, not copying the data) from #. one pipe to two other pipes. #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() duplicates up to I bytes of data from the pipe referred to " "by the file descriptor I to the pipe referred to by the file " "descriptor I. It does not consume the data that is duplicated from " "I; therefore, that data can be copied by a subsequent B(2)." msgstr "" "B() duplikerer op til I databyte fra datakanalen refereret til af " "fildeskriptoren I til datakanalen refereret til af fildeskriptoren " "I. Forbruger ikke dataene der er duplikeret fra I; dataene " "kan derfor efterfølgende kopieres af en B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a bit mask that is composed by ORing together zero or more of " "the following values:" msgstr "" "I er en bit-maske der er sammensat af at ORing'e sammen nul eller " "flere af de følgende værdier:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Currently has no effect for B(); see B(2)." msgstr "Har i øjeblikket ingen effekt for B(); se B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Do not block on I/O; see B(2) for further details." msgstr "Bloker ikke en I/O; se B(2) for yderligere detaljer." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Currently has no effect for B(), but may be implemented in the future; " "see B(2)." msgstr "" "Har i øjeblikket ingen effekt for B(), men kan blive implementeret i " "fremtiden; se B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Unused for B(); see B(2)." msgstr "Ubrugt for B(); se B(2)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "RETURVÆRDI" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Upon successful completion, B() returns the number of bytes that were " "duplicated between the input and output. A return value of 0 means that " "there was no data to transfer, and it would not make sense to block, because " "there are no writers connected to the write end of the pipe referred to by " "I." msgstr "" "Ved succesfuld fuldførelse returnerer B() antallet af byte, der blev " "duplikeret mellem inddata og uddata. En returværdi på 0 betyder at der ingen " "data var at overføre, og det ville give mening at blokere, da der ingen " "skrivere er forbundet til skriveslutningen af datakanalen refereret til af " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On error, B() returns -1 and I is set to indicate the error." msgstr "" "Ved fejl returnerer B() -1 og I angives for at indikere fejlen." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "FEJL" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B was specified in I or one of the file " "descriptors had been marked as nonblocking (B)B<,> and the " "operation would block." msgstr "" "B var angivet i I eller en af fildeskriptorerne er " "blevet markeret som ikkeblokerende (B)B<,> og operationen ville " "blokere." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I or I does not refer to a pipe; or I and I " "refer to the same pipe." msgstr "" "I eller I refererer ikke til en datakanal; eller I og " "I refererer til den samme datakanal." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Out of memory." msgstr "Ikke nok hukommelse." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "STANDARDER" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "Linux." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIK" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 2.6.17, glibc 2.5." msgstr "Linux 2.6.17, glibc 2.5." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "NOTER" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Conceptually, B() copies the data between the two pipes. In reality " "no real data copying takes place though: under the covers, B() assigns " "data to the output by merely grabbing a reference to the input." msgstr "" "Konceptuelt kopierer B() dataene mellem de to datakanaler. I " "virkeligheden sker der dog ingen reel datakopiering: under overfladen " "tildeler B() data til resultatet ved bare at fange en reference til " "dataene." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EKSEMPLER" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The example below implements a basic B(1) program using the B() " "system call. Here is an example of its use:" msgstr "" "Eksemplet nedenfor implementerer et grundlæggende B(1)-program via " "systemkaldet B(). Her er et eksempel på dets brug:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< date | ./a.out out.log | cat>;\n" "Tue Oct 28 10:06:00 CET 2014\n" "$B< cat out.log>;\n" "Tue Oct 28 10:06:00 CET 2014\n" msgstr "" "$B< date | ./a.out out.log | cat>;\n" "Tue Oct 28 10:06:00 CET 2014\n" "$B< cat out.log>;\n" "Tue Oct 28 10:06:00 CET 2014\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "Programkilde" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerrno.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd;\n" " ssize_t size, ssize;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s EfileE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);\n" " if (fd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (;;) {\n" " /*\n" " * tee stdin to stdout.\n" " */\n" " size = tee(STDIN_FILENO, STDOUT_FILENO,\n" " INT_MAX, SPLICE_F_NONBLOCK);\n" " if (size E 0) {\n" " if (errno == EAGAIN)\n" " continue;\n" " perror(\"tee\");\n" " exit(EXIT_FAILURE);\n" " }\n" " if (size == 0)\n" " break;\n" "\\&\n" " /*\n" " * Consume stdin by splicing it to a file.\n" " */\n" " while (size E 0) {\n" " ssize = splice(STDIN_FILENO, NULL, fd, NULL,\n" " size, SPLICE_F_MOVE);\n" " if (ssize E 0) {\n" " perror(\"splice\");\n" " exit(EXIT_FAILURE);\n" " }\n" " size -= ssize;\n" " }\n" " }\n" "\\&\n" " close(fd);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerrno.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd;\n" " ssize_t size, ssize;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Brug: %s EfileE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);\n" " if (fd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (;;) {\n" " /*\n" " * tee-standardind til standardud.\n" " */\n" " size = tee(STDIN_FILENO, STDOUT_FILENO,\n" " INT_MAX, SPLICE_F_NONBLOCK);\n" " if (size E 0) {\n" " if (errno == EAGAIN)\n" " continue;\n" " perror(\"tee\");\n" " exit(EXIT_FAILURE);\n" " }\n" " if (size == 0)\n" " break;\n" "\\&\n" " /*\n" " * Forbrug standardind ved at samle det i en fil.\n" " */\n" " while (size E 0) {\n" " ssize = splice(STDIN_FILENO, NULL, fd, NULL,\n" " size, SPLICE_F_MOVE);\n" " if (ssize E 0) {\n" " perror(\"splice\");\n" " exit(EXIT_FAILURE);\n" " }\n" " size -= ssize;\n" " }\n" " }\n" "\\&\n" " close(fd);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "SE OGSÅ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(2), B(2), B(7)" msgstr "B(2), B(2), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15. juni 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "Linux man-pages 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "C-standardbibliotek (I, I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "BIB<, int >IB<, size_t >IB<, unsigned int >IB<);>\n" msgstr "BIB<, int >IB<, size_t >IB<, unsigned int >IB<);>\n" # # #. Example programs http://brick.kernel.dk/snaps #. add a "tee(in, out1, out2)" system call that duplicates the pages #. (again, incrementing their reference count, not copying the data) from #. one pipe to two other pipes. #. type: Plain text #: debian-trixie msgid "" "B() duplicates up to I bytes of data from the pipe referred to by " "the file descriptor I to the pipe referred to by the file descriptor " "I. It does not consume the data that is duplicated from I; " "therefore, that data can be copied by a subsequent B(2)." msgstr "" "B() duplikerer op til I databyte fra datakanalen refereret til af " "fildeskriptoren I til datakanalen refereret til af fildeskriptoren " "I. Forbruger ikke dataene der er duplikeret fra I; dataene " "kan derfor efterfølgende kopieres af en B(2)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B\n" "Tue Oct 28 10:06:00 CET 2014\n" "$ B\n" "Tue Oct 28 10:06:00 CET 2014\n" msgstr "" "$ B\n" "Tue Oct 28 10:06:00 CET 2014\n" "$ B\n" "Tue Oct 28 10:06:00 CET 2014\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerrno.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd;\n" " ssize_t len, slen;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s EfileE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);\n" " if (fd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (;;) {\n" " /*\n" " * tee stdin to stdout.\n" " */\n" " len = tee(STDIN_FILENO, STDOUT_FILENO,\n" " INT_MAX, SPLICE_F_NONBLOCK);\n" " if (len E 0) {\n" " if (errno == EAGAIN)\n" " continue;\n" " perror(\"tee\");\n" " exit(EXIT_FAILURE);\n" " }\n" " if (len == 0)\n" " break;\n" "\\&\n" " /*\n" " * Consume stdin by splicing it to a file.\n" " */\n" " while (len E 0) {\n" " slen = splice(STDIN_FILENO, NULL, fd, NULL,\n" " len, SPLICE_F_MOVE);\n" " if (slen E 0) {\n" " perror(\"splice\");\n" " exit(EXIT_FAILURE);\n" " }\n" " len -= slen;\n" " }\n" " }\n" "\\&\n" " close(fd);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerrno.hE\n" "#include Efcntl.hE\n" "#include Elimits.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/types.hE\n" "#include Eunistd.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int fd;\n" " ssize_t len, slen;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Brug: %s EfileE\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);\n" " if (fd == -1) {\n" " perror(\"open\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (;;) {\n" " /*\n" " * tee-standardind til standardud.\n" " */\n" " len = tee(STDIN_FILENO, STDOUT_FILENO,\n" " INT_MAX, SPLICE_F_NONBLOCK);\n" " if (len E 0) {\n" " if (errno == EAGAIN)\n" " continue;\n" " perror(\"tee\");\n" " exit(EXIT_FAILURE);\n" " }\n" " if (len == 0)\n" " break;\n" "\\&\n" " /*\n" " * Forbrug standardind ved at samle det i en fil.\n" " */\n" " while (len E 0) {\n" " slen = splice(STDIN_FILENO, NULL, fd, NULL,\n" " len, SPLICE_F_MOVE);\n" " if (slen E 0) {\n" " perror(\"splice\");\n" " exit(EXIT_FAILURE);\n" " }\n" " len -= slen;\n" " }\n" " }\n" "\\&\n" " close(fd);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17. november 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "Linux man-pages 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "Linux man-pages 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages (ej udgivet)"