.\" -*- coding: UTF-8 -*- .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH TR 1 "April 2026" "GNU coreutils 9.11" Brukerkommandoer .SH NAVN tr \- translate or delete characters .SH OVERSIKT \fBtr\fP [\fI\,OPTION\/\fP]... \fI\,STRENG1 \/\fP[\fI\,STRENG2\/\fP] .SH BESKRIVELSE .\" Add any additional description here .PP Translate, squeeze, and/or delete characters from standard input, writing to standard output. STRING1 and STRING2 specify arrays of characters ARRAY1 and ARRAY2 that control the action. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tr\-c'\fB\-c, \-C, \-\-complement\fP\X'tty: link' use the complement of ARRAY1 .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tr\-d'\fB\-d, \-\-delete\fP\X'tty: link' delete characters in ARRAY1, do not translate .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tr\-s'\fB\-s, \-\-squeeze\-repeats\fP\X'tty: link' replace each sequence of a repeated character that is listed in the last specified ARRAY, with a single occurrence of that character .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#tr\-t'\fB\-t, \-\-truncate\-set1\fP\X'tty: link' first truncate ARRAY1 to length of ARRAY2 .TP \X'tty: link https://www.gnu.org/software/coreutils/tr#tr\-\-help'\fB\-\-help\fP\X'tty: link' Vis denne hjelpeteksten og avslutt. .TP \X'tty: link https://www.gnu.org/software/coreutils/tr#tr\-\-version'\fB\-\-version\fP\X'tty: link' Vis versjonsinformasjon og avslutt. .PP ARRAYs are specified as strings of characters. Most represent themselves. Interpreted sequences are: .TP \eNNN tegn med oktalverdi NNN (1 til 3 oktale sifre) .TP \e\e speilvendt skråstrek .TP \ea pip .TP \eb rettetast .TP \ef skjemakilde .TP \en ny linje .TP \er rettetast .TP \et horisontal tabulator .TP \ev vertikal tabulator .TP TEGN1\-TEGN2 alle tegn fra TEGN1 til TEGN2, stigende .TP [TEGN*] in ARRAY2, copies of CHAR until length of ARRAY1 .TP [TEGN*ANT] ANT kopier av TEGN, ANT er oktal, hvis det begynner med 0 .TP [:alnum:] alle bokstaver og tall .TP [:alpha:] alle bokstaver .TP [:blank:] alle horisontale blanke tegn .TP [:cntrl:] alle kontrolltegn .TP [:digit:] alle siffer .TP [:graph:] alle skrivbare tegn, unntatt blanke tegn .TP [:lower:] alle små bokstaver .TP [:print:] alle skrivbare tegn, inkludert blanke tegn .TP [:punct:] alle tegnsettingstegn .TP [:space:] alle horisontale og vertikale blanke tegn .TP [:upper:] alle store bokstaver .TP [:xdigit:] alle hexadesimale siffer .TP [=TEGN=] alle tegn som tilsvarer TEGN .PP Translation occurs if \fB\-d\fP is not given and both STRING1 and STRING2 appear. \fB\-t\fP is only significant when translating. ARRAY2 is extended to length of ARRAY1 by repeating its last character as necessary. Excess characters of ARRAY2 are ignored. Character classes expand in unspecified order; while translating, '[:lower:]' and '[:upper:]' may be used in pairs to specify case conversion. Squeezing occurs after translation or deletion. Arguments like '[...]' should be quoted, to avoid potential shell globbing. .SH PROGRAMFEIL .PP Full support is available only for safe single\-byte locales, in which every possible input byte represents a single character. The C locale is safe in GNU systems, so you can avoid this issue in the shell by running \fBLC_ALL=C tr\fP instead of plain \fBtr\fP. .SH FORFATTER Skrevet av Jim Meyering. .SH "RAPPORTERING AV FEIL" Rapporter feil til: bug\-coreutils@gnu.org .br Nettside for GNU coreutils: .br Generell hjelp til bruk av GNU\-programvare: .br Rapporter oversettelsesfeil til .SH OPPHAVSRETT Copyright \(co 2026 Free Software Foundation, Inc. Lisens GPLv3+: GNU GPL versjon 3 eller senere . .br Dette er fri programvare. Du kan endre og dele den videre. Det stilles INGEN GARANTI, i den grad dette tillates av gjeldende lovverk. .SH "SE OGSÅ" Fullstendig dokumentasjon: .br eller lokalt: info \(aq(coreutils) tr invocation\(aq .PP .SH OVERSETTELSE Den norske oversettelsen av denne manualsiden er laget av . .PP Denne oversettelsen er gratis dokumentasjon; se .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License versjon 3 .UE eller senere for opphavsrettsvilkår. Vi påtar oss INGEN ANSVAR. .PP Hvis du finner feil i oversettelsen av denne håndboksiden, vennligst send en e-post til .