| 1 |
# Swedish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Göran Uddeborg <[email protected]>, 2025, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.28.0\n" |
| 8 |
"POT-Creation-Date: 2026-05-01 04:44+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-21 22:35+0200\n" |
| 10 |
"Last-Translator: Göran Uddeborg <[email protected]>\n" |
| 11 |
"Language-Team: Swedish <[email protected]>\n" |
| 12 |
"Language: sv\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 17 |
|
| 18 |
#. type: TH |
| 19 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 20 |
#, no-wrap |
| 21 |
msgid "RPM-LUA" |
| 22 |
msgstr "RPM-LUA" |
| 23 |
|
| 24 |
#. type: TH |
| 25 |
#: archlinux |
| 26 |
#, no-wrap |
| 27 |
msgid "2026-03-06" |
| 28 |
msgstr "6 mars 2026" |
| 29 |
|
| 30 |
#. type: TH |
| 31 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 32 |
#, no-wrap |
| 33 |
msgid "RPM 6.0.1" |
| 34 |
msgstr "RPM 6.0.1" |
| 35 |
|
| 36 |
#. type: SH |
| 37 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 38 |
#, no-wrap |
| 39 |
msgid "NAME" |
| 40 |
msgstr "NAMN" |
| 41 |
|
| 42 |
#. type: Plain text |
| 43 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 44 |
msgid "rpm-lua - RPM embedded Lua interpreter" |
| 45 |
msgstr "rpm-lua — RPM-inbäddad Lua-tolk" |
| 46 |
|
| 47 |
#. type: SH |
| 48 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 49 |
#, no-wrap |
| 50 |
msgid "SYNOPSIS" |
| 51 |
msgstr "SYNOPSIS" |
| 52 |
|
| 53 |
#. type: Plain text |
| 54 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 55 |
msgid "%scriptlet -p E<lt>luaE<gt>" |
| 56 |
msgstr "%scriptlet -p E<lt>luaE<gt>" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 60 |
msgid "%{lua:.\\&.\\&.\\&}" |
| 61 |
msgstr "%{lua:…\\&}" |
| 62 |
|
| 63 |
#. type: SH |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 65 |
#, no-wrap |
| 66 |
msgid "DESCRIPTION" |
| 67 |
msgstr "BESKRIVNING" |
| 68 |
|
| 69 |
#. type: Plain text |
| 70 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 71 |
msgid "" |
| 72 |
"Lua is a general purpose programming language specifically designed for " |
| 73 |
"embedding in other programs, and RPM includes an embedded Lua interpreter " |
| 74 |
"for use in advanced B<rpm-macros>(7) and transaction scriptlets.\\&" |
| 75 |
msgstr "" |
| 76 |
"Lua är ett generellt programmeringsspråk specifikt designat för att bäddas " |
| 77 |
"in i andra program, och RPM inkluderar en inbäddad Lua-tolk som kan användas " |
| 78 |
"i avancerade B<rpm-macros>(7) och transaktionsskript.\\&" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 82 |
msgid "" |
| 83 |
"The embedded Lua interpreter makes possible various things that are hard or " |
| 84 |
"impossible with plain macros or external shell scripts, such as help " |
| 85 |
"eliminate dependency loops from package scriptlets.\\&" |
| 86 |
msgstr "" |
| 87 |
"Den inbäddade Lua-tolken gör diverse saker möjligt som är svåra eller " |
| 88 |
"omöjliga med vanliga makron eller externa skalskript, såsom hjälp att " |
| 89 |
"eliminera beroendeslingor från paketskript.\\&" |
| 90 |
|
| 91 |
#. type: SH |
| 92 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 93 |
#, no-wrap |
| 94 |
msgid "MACROS" |
| 95 |
msgstr "MAKRON" |
| 96 |
|
| 97 |
#. type: SS |
| 98 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 99 |
#, no-wrap |
| 100 |
msgid "Accessing macros" |
| 101 |
msgstr "Komma åt makron" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 105 |
msgid "" |
| 106 |
"The B<rpm> extension has various functions for dealing with macros, but the " |
| 107 |
"most convenient way to access B<rpm-macroproc>(7) from the RPM Lua " |
| 108 |
"environment is via the global B<macros> table.\\&" |
| 109 |
msgstr "" |
| 110 |
"B<Rpm>-utökningen har diverse funktioner för att arbeta med makron, men det " |
| 111 |
"bekvämaste sättet att komma åt B<rpm-macroproc>(7) från RPM-Lua-miljön är " |
| 112 |
"via den globala B<macros>-tabellen.\\&" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 116 |
msgid "" |
| 117 |
"Lua makes no difference between table index and field name syntaxes so " |
| 118 |
"B<macros.\\&foo> and B<macros['\\&foo'\\&]> are equivalent, use what better " |
| 119 |
"suits the purpose.\\&" |
| 120 |
msgstr "" |
| 121 |
"Lua gör ingen skillnad mellan tabellindex och fältnamnssyntax så B<macros." |
| 122 |
"\\&apa> och B<macros['\\&apa'\\&]> är likvärdiga, använd vad som passar bäst " |
| 123 |
"för ändamålet.\\&" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 127 |
msgid "" |
| 128 |
"Like any real Lua table, non-existent items are returned as B<nil>, and " |
| 129 |
"assignment can be used to define or undefine macros.\\&" |
| 130 |
msgstr "" |
| 131 |
"Som i en verklig Lua-tabell returneras poster som inte finns som B<nil>, och " |
| 132 |
"tilldelning kan användas för att definiera eller avdefiniera makron.\\&" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 136 |
msgid "Example:" |
| 137 |
msgstr "Exempel:" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 141 |
#, no-wrap |
| 142 |
msgid "" |
| 143 |
"if not macros\\&.yours then\n" |
| 144 |
" macros\\&.my = \\&'my macro\\&'\n" |
| 145 |
"end\n" |
| 146 |
msgstr "" |
| 147 |
"if not macros\\&.ditt then\n" |
| 148 |
" macros\\&.mitt = \\&'mitt makro\\&'\n" |
| 149 |
"end\n" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 153 |
#, no-wrap |
| 154 |
msgid "" |
| 155 |
"local v = { \\&'_libdir\\&', \\&'_bindir\\&', \\&'_xbindir\\&' }\n" |
| 156 |
"for _, v in ipairs(v) do\n" |
| 157 |
" if not macros[v] then\n" |
| 158 |
" macros[v] = \\&'default\\&'\n" |
| 159 |
" end\n" |
| 160 |
"end\n" |
| 161 |
msgstr "" |
| 162 |
"local v = { \\&'_libdir\\&', \\&'_bindir\\&', \\&'_xbindir\\&' }\n" |
| 163 |
"for _, v in ipairs(v) do\n" |
| 164 |
" if not macros[v] then\n" |
| 165 |
" macros[v] = \\&'default\\&'\n" |
| 166 |
" end\n" |
| 167 |
"end\n" |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 171 |
msgid "All macros share the same global Lua execution environment.\\&" |
| 172 |
msgstr "Alla makron delar samma globala Lua-körmiljö.\\&" |
| 173 |
|
| 174 |
#. type: SS |
| 175 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 176 |
#, no-wrap |
| 177 |
msgid "Calling parametric macros" |
| 178 |
msgstr "Anrop av parametriserade makron" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 182 |
msgid "" |
| 183 |
"Parametric macros (including all built-in macros) can be called in a Lua " |
| 184 |
"native manner via the B<macros> table, with either B<macros.\\&>I<name>B<()> " |
| 185 |
"or B<macros[>I<name>B<]()> syntax.\\&" |
| 186 |
msgstr "" |
| 187 |
"Parametriserade makron (inklusive alla inbyggda makron) kan anropas på ett " |
| 188 |
"normalt Lua-sätt via tabellen B<macros>, med antingen syntaxen B<macros." |
| 189 |
"\\&>I<namn>B<()> eller B<macros[>I<namn>B<]()>.\\&" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 193 |
msgid "Arguments are passed through a single argument, which is either" |
| 194 |
msgstr "Argument skickas via ett enda argument, som är antingen" |
| 195 |
|
| 196 |
#. type: IP |
| 197 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 198 |
#, no-wrap |
| 199 |
msgid "\\(bu" |
| 200 |
msgstr "\\(bu" |
| 201 |
|
| 202 |
#. type: Plain text |
| 203 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 204 |
msgid "" |
| 205 |
"a single string, in which case it'\\&s expanded and split with the macro-" |
| 206 |
"native rules" |
| 207 |
msgstr "" |
| 208 |
"en enda sträng, i vilket fall den expanderas och delas med vanliga " |
| 209 |
"makroregler" |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 213 |
msgid "" |
| 214 |
"a table, in which case the table contents are used as literal arguments that " |
| 215 |
"are not expanded in any way" |
| 216 |
msgstr "" |
| 217 |
"en tabell, i vilket fall tabellinnehållet används som bokstavliga argument " |
| 218 |
"som inte expanderas på något sätt" |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 222 |
msgid "Example 1:" |
| 223 |
msgstr "Exempel 1:" |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 227 |
#, no-wrap |
| 228 |
msgid "macros\\&.with(\\&'foo\\&')\n" |
| 229 |
msgstr "macros\\&.med(\\&apa\\&')\n" |
| 230 |
|
| 231 |
#. type: Plain text |
| 232 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 233 |
msgid "Example 2:" |
| 234 |
msgstr "Exempel 2:" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 238 |
#, no-wrap |
| 239 |
msgid "macros\\&.dostuff({\\&'one\\&', \\&'two\\&', \\&'three\\&'})\n" |
| 240 |
msgstr "macros\\&.jobba({\\&'ett\\&', \\&'två\\&', \\&'tre\\&'})\n" |
| 241 |
|
| 242 |
#. type: SS |
| 243 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 244 |
#, no-wrap |
| 245 |
msgid "Returning data" |
| 246 |
msgstr "Returnera data" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 250 |
msgid "" |
| 251 |
"By definition, anything B<print()>'\\&ed in Lua will end up in the macro " |
| 252 |
"expansion.\\& Lua macros can also B<return> their output, which makes " |
| 253 |
"programming helper macros look more natural.\\&" |
| 254 |
msgstr "" |
| 255 |
"Per definition kommer allt som B<print()>:as i Lua hamna i makroexpansionen." |
| 256 |
"\\& Lua-makron kan även göra B<return> på sin utdata, vilket gör att " |
| 257 |
"programmering av hjälpmakron ser mer naturliga ut.\\&" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 261 |
#, no-wrap |
| 262 |
msgid "" |
| 263 |
"%sum() %{lua:\n" |
| 264 |
" local v = 0\n" |
| 265 |
" for _, a in ipairs(arg) do\n" |
| 266 |
" v = v + tonumber(a)\n" |
| 267 |
" end\n" |
| 268 |
" return v\n" |
| 269 |
"}\n" |
| 270 |
msgstr "" |
| 271 |
"%sum() %{lua:\n" |
| 272 |
" local v = 0\n" |
| 273 |
" for _, a in ipairs(arg) do\n" |
| 274 |
" v = v + tonumber(a)\n" |
| 275 |
" end\n" |
| 276 |
" return v\n" |
| 277 |
"}\n" |
| 278 |
|
| 279 |
#. type: SS |
| 280 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 281 |
#, no-wrap |
| 282 |
msgid "Options and arguments" |
| 283 |
msgstr "Flaggor och argument" |
| 284 |
|
| 285 |
#. type: Plain text |
| 286 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 287 |
msgid "" |
| 288 |
"Parametric Lua macros receive their options and arguments as two local " |
| 289 |
"tables B<opt> and B<arg>, where B<opt> holds processed option values keyed " |
| 290 |
"by the option character, and B<arg> contains arguments numerically indexed." |
| 291 |
"\\&" |
| 292 |
msgstr "" |
| 293 |
"Parametriserade Lua-makron får sina flaggor och argument som två lokala " |
| 294 |
"tabeller B<opt> och B<arg>, där B<opt> innehåller bearbetade flaggvärden med " |
| 295 |
"flaggbokstaven som nyckel, och B<arg> innehåller argument med numeriska " |
| 296 |
"index.\\&" |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 300 |
msgid "" |
| 301 |
"These tables are always present regardless of whether options or arguments " |
| 302 |
"were actually passed to simplify use.\\&" |
| 303 |
msgstr "" |
| 304 |
"Dessa tabeller finns alltid oavsett huruvida flaggor eller argument faktiskt " |
| 305 |
"skickades för att förenkla användningen.\\&" |
| 306 |
|
| 307 |
#. type: Plain text |
| 308 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 309 |
#, no-wrap |
| 310 |
msgid "" |
| 311 |
"%foo(a:b) %{lua:\n" |
| 312 |
"if opt\\&.b then\n" |
| 313 |
" print(\\&'do b\\&')\n" |
| 314 |
"else\n" |
| 315 |
" print(\\&'or not\\&')\n" |
| 316 |
"end\n" |
| 317 |
"if opt\\&.a == \\&'s\\&' then\n" |
| 318 |
" print(\\&'do s\\&')\n" |
| 319 |
"end\n" |
| 320 |
"if #arg == 0 then\n" |
| 321 |
" print(\\&'no arguments :(\\&')\n" |
| 322 |
"else\n" |
| 323 |
" for i = 1, #arg do\n" |
| 324 |
" print(arg[i])\n" |
| 325 |
" end\n" |
| 326 |
"end\n" |
| 327 |
"}\n" |
| 328 |
msgstr "" |
| 329 |
"%apa(a:b) %{lua:\n" |
| 330 |
"if opt\\&.b then\n" |
| 331 |
" print(\\&'gör b\\&')\n" |
| 332 |
"else\n" |
| 333 |
" print(\\&'eller inte\\&')\n" |
| 334 |
"end\n" |
| 335 |
"if opt\\&.a == \\&'s\\&' then\n" |
| 336 |
" print(\\&'gör s\\&')\n" |
| 337 |
"end\n" |
| 338 |
"if #arg == 0 then\n" |
| 339 |
" print(\\&'inga arument :(\\&')\n" |
| 340 |
"else\n" |
| 341 |
" for i = 1, #arg do\n" |
| 342 |
" print(arg[i])\n" |
| 343 |
" end\n" |
| 344 |
"end\n" |
| 345 |
"}\n" |
| 346 |
|
| 347 |
#. type: SH |
| 348 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 349 |
#, no-wrap |
| 350 |
msgid "SCRIPTLETS" |
| 351 |
msgstr "SKRIPT" |
| 352 |
|
| 353 |
#. type: Plain text |
| 354 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 355 |
msgid "" |
| 356 |
"The internal Lua can be used as the interpreter of RPM any transaction " |
| 357 |
"scriptlets, including triggers and file triggers:" |
| 358 |
msgstr "" |
| 359 |
"Den interna Lua:n kan användas som tolk av RPM i transaktionsskript, " |
| 360 |
"inklusive utlösare och filutlösare:" |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 364 |
#, no-wrap |
| 365 |
msgid "" |
| 366 |
"%pre -p E<lt>luaE<gt>\n" |
| 367 |
"print(\\&'Hello from Lua\\&')\n" |
| 368 |
msgstr "" |
| 369 |
"%pre -p E<lt>luaE<gt>\n" |
| 370 |
"print(\\&'Hej från Lua\\&')\n" |
| 371 |
|
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 374 |
msgid "" |
| 375 |
"While the venerable I</bin/sh> is usually more convenient for packaging " |
| 376 |
"related scripting activities, the embedded Lua interpreter has some unique " |
| 377 |
"advantages for transaction scriptlets: they add no extra dependencies to the " |
| 378 |
"packages and so can help eliminate dependency loops.\\& This can be a " |
| 379 |
"crucial difference in the early \"bootstrap\" package set in an initial " |
| 380 |
"install.\\&" |
| 381 |
msgstr "" |
| 382 |
"Medan den ärevördiga I</bin/sh> vanligen är mer bekväm för paketrelaterade " |
| 383 |
"skriptaktiviteter har den inbäddadde Lua-tolken några unika fördelar för " |
| 384 |
"transaktionsskript: de lägger inte till några extra beroenden till paketet " |
| 385 |
"och kan på så sätt hjälpa till att eliminera beroendeslingor.\\& Detta kan " |
| 386 |
"vara en avgörande skillnad i den tidiga uppsättningen ”uppstartspaket” i den " |
| 387 |
"initiala installationen.\\&" |
| 388 |
|
| 389 |
#. type: Plain text |
| 390 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 391 |
msgid "" |
| 392 |
"In particular, an embedded Lua script is the only generally usable option in " |
| 393 |
"B<%pretrans> scriplets during the initial installation of a system.\\&" |
| 394 |
msgstr "" |
| 395 |
"Speciellt är ett inbäddat Lua-skript den enda allmänt användbara möjligheten " |
| 396 |
"i B<%pretrans>-skript under den initiala installationen av ett system.\\&" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 400 |
msgid "" |
| 401 |
"Embedded Lua is also much faster than executing a potentially heavyweight " |
| 402 |
"interpreter just to run a couple of lines of shell script.\\&" |
| 403 |
msgstr "" |
| 404 |
"Inbäddad Lua är också mycket snabbare än att köra en potentiellt tungviktig " |
| 405 |
"tolk bara för att köra ett par rader i ett skalskript.\\&" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 409 |
msgid "" |
| 410 |
"Note: scriptlets using the internal Lua should not make assumptions about " |
| 411 |
"sharing the execution environment with other scriptlets.\\&" |
| 412 |
msgstr "" |
| 413 |
"Observera: skript som använder den interna Lua:n skall inte göra antaganden " |
| 414 |
"om att dela körmiljö med andra skript.\\&" |
| 415 |
|
| 416 |
#. type: SS |
| 417 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 418 |
#, no-wrap |
| 419 |
msgid "Arguments" |
| 420 |
msgstr "Argument" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 424 |
msgid "Scriptlet arguments are accessible from a global B<arg> table.\\&" |
| 425 |
msgstr "Skriptargument är tillgängliga från en global tabell B<arg>.\\&" |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 429 |
msgid "" |
| 430 |
"Note: in Lua, indexes customarily start at 1 (one) instead of 0 (zero), and " |
| 431 |
"for the better or worse, the RPM implementation follows this practise.\\& " |
| 432 |
"Thus the scriptlet arg indexes are off by one from general expectation based " |
| 433 |
"on traditional scriptlet arguments.\\& The argument containing number of " |
| 434 |
"installed package instances is B<arg[2]> and the similar argument for " |
| 435 |
"trigger targets is B<arg[3]>, vs the traditional B<$1> and B<$2> in shell " |
| 436 |
"scripts.\\&" |
| 437 |
msgstr "" |
| 438 |
"Observera: i Lua startar index normalt på 1 (ett) istället för 0 (noll), och " |
| 439 |
"på gott och ont följer RPM-implementationen denna praktik.\\& Skriptens " |
| 440 |
"argumentindex skiljer alltså ett steg från de vanliga förväntningarna " |
| 441 |
"baserade på traditionella skriptargument.\\& Argumentet som innehåller " |
| 442 |
"antalet installerade paketinstanser är B<arg[2]> och det liknande argumentet " |
| 443 |
"till utlösarmål är B<arg[3]>, till skillnad mot det vanliga B<$1> och B<$2> " |
| 444 |
"i skalskript.\\&" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 448 |
#, no-wrap |
| 449 |
msgid "" |
| 450 |
"%postun -p E<lt>luaE<gt>\n" |
| 451 |
"if arg[2] == 0 then\n" |
| 452 |
" print(\"erasing\")\n" |
| 453 |
"end\n" |
| 454 |
msgstr "" |
| 455 |
"%postun -p E<lt>luaE<gt>\n" |
| 456 |
"if arg[2] == 0 then\n" |
| 457 |
" print(\"raderar\")\n" |
| 458 |
"end\n" |
| 459 |
|
| 460 |
#. type: SS |
| 461 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 462 |
#, no-wrap |
| 463 |
msgid "Relocatable packages" |
| 464 |
msgstr "Omlokaliserbara paket" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 468 |
msgid "" |
| 469 |
"Scriptlets of relocatable packages additionally carry a global " |
| 470 |
"B<RPM_INSTALL_PREFIX> table containing all the possible prefixes of the " |
| 471 |
"package.\\&" |
| 472 |
msgstr "" |
| 473 |
"Skript i omlokaliserbara paket får dessutom en global tabell " |
| 474 |
"B<RPM_INSTALL_PREFIX> som innehåller alla möjliga prefix i paketet.\\&" |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 478 |
msgid "Added: 4.\\&18.\\&0" |
| 479 |
msgstr "Tillagt i: 4.\\&18.\\&0" |
| 480 |
|
| 481 |
#. type: SS |
| 482 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 483 |
#, no-wrap |
| 484 |
msgid "Exit status" |
| 485 |
msgstr "Slutstatus" |
| 486 |
|
| 487 |
#. type: Plain text |
| 488 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 489 |
msgid "" |
| 490 |
"While scriptlets shouldn'\\&t be allowed to fail normally, you can signal " |
| 491 |
"scriptlet failure status by using Lua'\\&s B<error(>I<msg>, [I<level>]B<)> " |
| 492 |
"function if you need to.\\&" |
| 493 |
msgstr "" |
| 494 |
"Även om skript normalt inte skall tillåtas att misslyckas kan man signalera " |
| 495 |
"felstatus från skript genom att använda Lua:s funktion B<error(>I<medd>, " |
| 496 |
"[I<nivå>]B<)> om man behöver det." |
| 497 |
|
| 498 |
#. type: SH |
| 499 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 500 |
#, no-wrap |
| 501 |
msgid "SPEC FILES" |
| 502 |
msgstr "SPEC-FILER" |
| 503 |
|
| 504 |
#. type: Plain text |
| 505 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 506 |
msgid "" |
| 507 |
"In the context of a B<rpm-spec>(5) file parse with B<rpmbuild>(1) or " |
| 508 |
"B<rpmspec>(1), the RPM Lua environment contains the following spec specific " |
| 509 |
"global tables:" |
| 510 |
msgstr "" |
| 511 |
"I sammanhanget av en B<rpm-spec>(5)-filtolkning med B<rpmbuild>(1) eller " |
| 512 |
"B<rpmspec>(1) innehåller RPM-Lua-miljön följande spec-specifika globala " |
| 513 |
"tabeller:" |
| 514 |
|
| 515 |
#. type: Plain text |
| 516 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 517 |
msgid "B<patches>" |
| 518 |
msgstr "B<patches>" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 522 |
msgid "" |
| 523 |
"The filenames of the patches in the spec, in the order they appeared in the " |
| 524 |
"spec.\\&" |
| 525 |
msgstr "" |
| 526 |
"Filnamnen på patcharna i spec:en, i den ordning de förekom i spec:en.\\&" |
| 527 |
|
| 528 |
#. type: Plain text |
| 529 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 530 |
msgid "B<patch_nums>" |
| 531 |
msgstr "B<patch_nums>" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 535 |
msgid "" |
| 536 |
"The numbers of the patches in the spec, in the order they appeared in the " |
| 537 |
"spec.\\&" |
| 538 |
msgstr "Numren på patcharna i spec:en, i den ordning de förekom i spec:en.\\&" |
| 539 |
|
| 540 |
#. type: Plain text |
| 541 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 542 |
msgid "B<sources>" |
| 543 |
msgstr "B<sources>" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 547 |
msgid "" |
| 548 |
"The filenames of the sources in the spec, in the order they appeared in the " |
| 549 |
"spec.\\&" |
| 550 |
msgstr "" |
| 551 |
"Filnamnen på källkoden i spec:en, i den ordning de förekom i spec:en.\\&" |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 555 |
msgid "B<source_nums>" |
| 556 |
msgstr "B<source_nums>" |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 560 |
msgid "" |
| 561 |
"The numbers of the sources in the spec, in the order they appeared in the " |
| 562 |
"spec.\\&" |
| 563 |
msgstr "" |
| 564 |
"Filnamnen på källkoden i spec:en, i den ordning de förekom i spec:en.\\&" |
| 565 |
|
| 566 |
#. type: Plain text |
| 567 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 568 |
#, no-wrap |
| 569 |
msgid "" |
| 570 |
"for i, p in ipairs(patches) do\n" |
| 571 |
" print(string\\&.format(\"echo %d: %sn\", patch_nums[i], patches[i]))\n" |
| 572 |
"end\n" |
| 573 |
msgstr "" |
| 574 |
"for i, p in ipairs(patches) do\n" |
| 575 |
" print(string\\&.format(\"echo %d: %sn\", patch_nums[i], patches[i]))\n" |
| 576 |
"end\n" |
| 577 |
|
| 578 |
#. type: SH |
| 579 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 580 |
#, no-wrap |
| 581 |
msgid "EXTENSIONS" |
| 582 |
msgstr "UTÖKNINGAR" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 586 |
msgid "" |
| 587 |
"In addition to Lua standard libraries (subject to the Lua version RPM is " |
| 588 |
"linked to), the following extensions are available in the RPM internal Lua " |
| 589 |
"interpreter.\\& These can be used in all contexts where the internal Lua can " |
| 590 |
"be used.\\&" |
| 591 |
msgstr "" |
| 592 |
"Utöver Lua:s standardbibliotek (med förbehåll för Lua-versionen RPM är " |
| 593 |
"länkad med) är följande utökningar tillgängliga i alla sammanhang där den " |
| 594 |
"interna Lua:n kan användas.\\&" |
| 595 |
|
| 596 |
#. type: SS |
| 597 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 598 |
#, no-wrap |
| 599 |
msgid "rpm extension" |
| 600 |
msgstr "rpm-utökningar" |
| 601 |
|
| 602 |
#. type: Plain text |
| 603 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 604 |
msgid "The following RPM specific functions are available:" |
| 605 |
msgstr "Följande RPM-specifika funktioner är tillgängliga:" |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 609 |
msgid "B<b64decode(>I<arg>B<)>" |
| 610 |
msgstr "B<b64decode(>I<arg>B<)>" |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 614 |
msgid "Perform base64 decoding on argument.\\& See also b64encode().\\&" |
| 615 |
msgstr "Utför base64-avkodning av argumentet.\\& Se även b64encode().\\&" |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 619 |
#, no-wrap |
| 620 |
msgid "" |
| 621 |
"blob = \\&'binary data\\&'\n" |
| 622 |
"print(blob)\n" |
| 623 |
"e = rpm\\&.b64encode(blob)\n" |
| 624 |
"print(e)\n" |
| 625 |
"d = rpm\\&.b64decode(e)\n" |
| 626 |
"print(d)\n" |
| 627 |
msgstr "" |
| 628 |
"blob = \\&'binärdata\\&'\n" |
| 629 |
"print(blob)\n" |
| 630 |
"e = rpm\\&.b64encode(blob)\n" |
| 631 |
"print(e)\n" |
| 632 |
"d = rpm\\&.b64decode(e)\n" |
| 633 |
"print(d)\n" |
| 634 |
|
| 635 |
#. type: Plain text |
| 636 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 637 |
msgid "B<b64encode(>I<arg> [, I<linelen>]B<)>" |
| 638 |
msgstr "B<b64encode(>I<arg> [, I<radlängd>]B<)>" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 642 |
msgid "" |
| 643 |
"Perform base64 encoding on argument.\\& Line length may be optionally " |
| 644 |
"specified via second argument.\\& See also b64decode().\\&" |
| 645 |
msgstr "" |
| 646 |
"Utför base64-kodning av argumentet.\\& Radlängden får specificeras via ett " |
| 647 |
"andra argument.\\& Se även b64decode().\\&" |
| 648 |
|
| 649 |
#. type: Plain text |
| 650 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 651 |
msgid "B<define(\">I<name> I<body>B<\")>" |
| 652 |
msgstr "B<define(\">I<namn> I<kropp>B<\")>" |
| 653 |
|
| 654 |
#. type: Plain text |
| 655 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 656 |
msgid "Define a global macro I<name> with I<body>.\\& See also B<MACROS>.\\&" |
| 657 |
msgstr "" |
| 658 |
"Definiera ett globalt makro I<namn> till I<kropp>.\\& Se även B<MAKRON>.\\&" |
| 659 |
|
| 660 |
#. type: Plain text |
| 661 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 662 |
#, no-wrap |
| 663 |
msgid "rpm\\&.define(\\&'foo 1\\&')\n" |
| 664 |
msgstr "rpm\\&.define(\\&'apa 1\\&')\n" |
| 665 |
|
| 666 |
#. type: Plain text |
| 667 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 668 |
msgid "B<execute(>I<path> [, I<arg1> [,.\\&.\\&.\\&]B<)>" |
| 669 |
msgstr "B<execute(>I<sökväg> [, I<arg1> [,…\\&]B<)>" |
| 670 |
|
| 671 |
#. type: Plain text |
| 672 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 673 |
msgid "" |
| 674 |
"Execute an external command.\\& This is handy for executing external helper " |
| 675 |
"commands without depending on the shell.\\& I<path> is the command to " |
| 676 |
"execute, followed by optional number of arguments to pass to the command.\\&" |
| 677 |
msgstr "" |
| 678 |
"Kör ett externt kommando.\\& Detta är praktiskt för att köra externa " |
| 679 |
"hjälpkommandon utan att vara beroende av skalet.\\& I<sökväg> är kommandot " |
| 680 |
"att köra, följt av ett valfritt antal argument att skicka till kommandot.\\&" |
| 681 |
|
| 682 |
#. type: Plain text |
| 683 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 684 |
msgid "" |
| 685 |
"For a better control over the process execution and output, see rpm." |
| 686 |
"\\&spawn().\\&" |
| 687 |
msgstr "" |
| 688 |
"För bättre styrning av processkörningen och utdata, se rpm.\\&spawn().±&" |
| 689 |
|
| 690 |
#. type: Plain text |
| 691 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 692 |
msgid "Added: 4.\\&15.\\&0" |
| 693 |
msgstr "Tillagt i: 4.\\&15.\\&0" |
| 694 |
|
| 695 |
#. type: Plain text |
| 696 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 697 |
#, no-wrap |
| 698 |
msgid "rpm\\&.execute(\\&'ls\\&', \\&'-l\\&', \\&'/\\&')\n" |
| 699 |
msgstr "rpm\\&.execute(\\&'ls\\&', \\&'-l\\&', \\&'/\\&')\n" |
| 700 |
|
| 701 |
#. type: Plain text |
| 702 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 703 |
msgid "B<expand(>I<arg>B<)>" |
| 704 |
msgstr "B<expand(>I<arg>B<)>" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 708 |
msgid "Perform RPM macro expansion on I<arg> string.\\& See also B<MACROS>.\\&" |
| 709 |
msgstr "Utför RPM-makroexpansion av strängen I<arg>.\\& Se även B<MAKRON>.\\&" |
| 710 |
|
| 711 |
#. type: Plain text |
| 712 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 713 |
#, no-wrap |
| 714 |
msgid "rpm\\&.expand(\\&'%{_libdir}/mydir\\&')\n" |
| 715 |
msgstr "rpm\\&.expand(\\&'%{_libdir}/minkat\\&')\n" |
| 716 |
|
| 717 |
#. type: Plain text |
| 718 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 719 |
msgid "B<glob(>I<pattern>, [I<flags>]B<)>" |
| 720 |
msgstr "B<glob(>I<mönster>, [I<flaggor>]B<)>" |
| 721 |
|
| 722 |
#. type: Plain text |
| 723 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 724 |
msgid "" |
| 725 |
"Return a table of pathnames matching I<pattern>.\\& If I<flags> contains " |
| 726 |
"B<c>, return I<pattern> in case of no matches.\\&" |
| 727 |
msgstr "" |
| 728 |
"Returnera en tabell med sökvägar som matchar I<mönster>.\\& Om I<flaggor> " |
| 729 |
"innehåller B<c>, returnera I<mönster> ifall inget matchar.\\&" |
| 730 |
|
| 731 |
#. type: Plain text |
| 732 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 733 |
#, no-wrap |
| 734 |
msgid "" |
| 735 |
"for i, p in ipairs(rpm\\&.glob(\\&'*\\&')) do\n" |
| 736 |
" print(p)\n" |
| 737 |
"end\n" |
| 738 |
msgstr "" |
| 739 |
"for i, p in ipairs(rpm\\&.glob(\\&'*\\&')) do\n" |
| 740 |
" print(p)\n" |
| 741 |
"end\n" |
| 742 |
|
| 743 |
#. type: Plain text |
| 744 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 745 |
msgid "B<interactive()>" |
| 746 |
msgstr "B<interactive()>" |
| 747 |
|
| 748 |
#. type: Plain text |
| 749 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 750 |
msgid "" |
| 751 |
"Launch interactive session for testing and debugging.\\& Use B<rpmlua>(1) " |
| 752 |
"instead.\\&" |
| 753 |
msgstr "" |
| 754 |
"Starta en interaktiv session för testning och felsökning.\\& Använd " |
| 755 |
"B<rpmlua>(1) istället.\\&" |
| 756 |
|
| 757 |
#. type: Plain text |
| 758 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 759 |
#, no-wrap |
| 760 |
msgid "rpm --eval \"%{lua: rpm\\&.interactive()}\"\n" |
| 761 |
msgstr "rpm --eval \"%{lua: rpm\\&.interactive()}\"\n" |
| 762 |
|
| 763 |
#. type: Plain text |
| 764 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 765 |
msgid "B<isdefined(>I<name>B<)>" |
| 766 |
msgstr "B<isdefined(>I<namn>B<)>" |
| 767 |
|
| 768 |
#. type: Plain text |
| 769 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 770 |
msgid "" |
| 771 |
"Test whether a macro I<name> is defined and whether it'\\&s parametric, " |
| 772 |
"returned in two booleans.\\& See also B<MACROS>.\\& (Added: 4.\\&17.\\&0)" |
| 773 |
msgstr "" |
| 774 |
"Testa huruvida makrot I<namn> är definierat och huruvida det är " |
| 775 |
"parametriskt, returnerar två booleaner.\\& Se även B<MAKRON>.\\& (Tillagt i " |
| 776 |
"4.\\&17.\\&0)" |
| 777 |
|
| 778 |
#. type: Plain text |
| 779 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 780 |
#, no-wrap |
| 781 |
msgid "" |
| 782 |
"if rpm\\&.isdefined(\\&'_libdir\\&') then\n" |
| 783 |
" \\&.\\&.\\&.\n" |
| 784 |
"end\n" |
| 785 |
msgstr "" |
| 786 |
"if rpm\\&.isdefined(\\&'_libdir\\&') then\n" |
| 787 |
" …\\&\n" |
| 788 |
"end\n" |
| 789 |
|
| 790 |
#. type: Plain text |
| 791 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 792 |
msgid "B<load(>I<path>B<)>" |
| 793 |
msgstr "B<load(>I<sökväg>B<)>" |
| 794 |
|
| 795 |
#. type: Plain text |
| 796 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 797 |
msgid "" |
| 798 |
"Load a macro file from given path.\\& Same as the built-in B<%{load:.\\&.\\&." |
| 799 |
"\\&}> macro.\\&" |
| 800 |
msgstr "" |
| 801 |
"Ladda en makrofil från den givna sökvägen.\\& Samma som det inbyggda makrot " |
| 802 |
"B<%{load:…\\&}>.\\&" |
| 803 |
|
| 804 |
#. type: Plain text |
| 805 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 806 |
#, no-wrap |
| 807 |
msgid "rpm\\&.load(\\&'my\\&.macros\\&')\n" |
| 808 |
msgstr "rpm\\&.load(\\&'mina\\&.makron\\&')\n" |
| 809 |
|
| 810 |
#. type: Plain text |
| 811 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 812 |
msgid "B<open(>I<path>, [I<mode>[.\\&I<flags>]]B<)>" |
| 813 |
msgstr "B<open(>I<sökväg>, [I<läge>[.\\&I<flaggor>]]B<)>" |
| 814 |
|
| 815 |
#. type: Plain text |
| 816 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 817 |
msgid "" |
| 818 |
"Open a file stream using RPM IO facilities, with support for transparent " |
| 819 |
"compression and decompression.\\&" |
| 820 |
msgstr "" |
| 821 |
"Öppna en filström med RPM:s IO-funktioner, med stöd för transparent " |
| 822 |
"komprimering och dekomprimering.\\&" |
| 823 |
|
| 824 |
#. type: Plain text |
| 825 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 826 |
msgid "" |
| 827 |
"I<path> is filename string, optionally followed with I<mode> string to " |
| 828 |
"specify open behavior:" |
| 829 |
msgstr "" |
| 830 |
"I<sökväg> är filnamnssträngen, eventuellt följd av en sträng I<läge> som " |
| 831 |
"anger specifikt öppningsbeteende:" |
| 832 |
|
| 833 |
#. type: Plain text |
| 834 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 835 |
msgid "B<a>: open for append" |
| 836 |
msgstr "B<a>: öppna för tillägg på slutet" |
| 837 |
|
| 838 |
#. type: Plain text |
| 839 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 840 |
msgid "B<w>: open for writing, truncate" |
| 841 |
msgstr "B<w>: öppna för skrivning, hugg av" |
| 842 |
|
| 843 |
#. type: Plain text |
| 844 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 845 |
msgid "B<r>: open for reading (default)" |
| 846 |
msgstr "B<r>: öppna för läsning (standard)" |
| 847 |
|
| 848 |
#. type: Plain text |
| 849 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 850 |
msgid "B<+>: open for reading and writing" |
| 851 |
msgstr "B<+>: öppna för läsning och skrivning" |
| 852 |
|
| 853 |
#. type: Plain text |
| 854 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 855 |
msgid "B<x>: fail if file exists" |
| 856 |
msgstr "B<x>: misslyckas om filen redan finns" |
| 857 |
|
| 858 |
#. type: Plain text |
| 859 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 860 |
msgid "" |
| 861 |
"and optionally followed by B<rpm-payloadflags>(7) for compression and " |
| 862 |
"decompression.\\&" |
| 863 |
msgstr "" |
| 864 |
"och eventuellt följd av B<rpm-payloadflags>(7) för komprimering och " |
| 865 |
"dekomprimering.\\&" |
| 866 |
|
| 867 |
#. type: Plain text |
| 868 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 869 |
msgid "Added: 4.\\&17.\\&0" |
| 870 |
msgstr "Tillagt i: 4.\\&17.\\&0" |
| 871 |
|
| 872 |
#. type: Plain text |
| 873 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 874 |
#, no-wrap |
| 875 |
msgid "" |
| 876 |
"f = rpm\\&.open(\\&'some\\&.txt\\&.gz\\&', \\&'r\\&.gzdio\\&')\n" |
| 877 |
"print(f:read())\n" |
| 878 |
msgstr "" |
| 879 |
"f = rpm\\&.open(\\&'någon\\&.txt\\&.gz\\&', \\&'r\\&.gzdio\\&')\n" |
| 880 |
"print(f:read())\n" |
| 881 |
|
| 882 |
#. type: Plain text |
| 883 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 884 |
msgid "The returned rpm.\\&fd object has the following methods:" |
| 885 |
msgstr "Det returnerade rpm.\\&fd-objektet har följande metoder:" |
| 886 |
|
| 887 |
#. type: Plain text |
| 888 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 889 |
msgid "B<fd:close()>" |
| 890 |
msgstr "B<fd:close()>" |
| 891 |
|
| 892 |
#. type: Plain text |
| 893 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 894 |
msgid "Close the file stream.\\&" |
| 895 |
msgstr "Stäng filströmmen.\\&" |
| 896 |
|
| 897 |
#. type: Plain text |
| 898 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 899 |
#, no-wrap |
| 900 |
msgid "" |
| 901 |
"f = rpm\\&.open(\\&'file\\&')\n" |
| 902 |
"f:close()\n" |
| 903 |
msgstr "" |
| 904 |
"f = rpm\\&.open(\\&'fil\\&')\n" |
| 905 |
"f:close()\n" |
| 906 |
|
| 907 |
#. type: Plain text |
| 908 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 909 |
msgid "B<fd:flush()>" |
| 910 |
msgstr "B<fd:flush()>" |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 914 |
msgid "Flush the file stream.\\&" |
| 915 |
msgstr "Töm filströmmen.\\&" |
| 916 |
|
| 917 |
#. type: Plain text |
| 918 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 919 |
#, no-wrap |
| 920 |
msgid "" |
| 921 |
"f = rpm\\&.open(\\&'file\\&', \\&'w\\&')\n" |
| 922 |
"f:write(\\&'foo\\&')\n" |
| 923 |
"f:flush()\n" |
| 924 |
"f:close()\n" |
| 925 |
msgstr "" |
| 926 |
"f = rpm\\&.open(\\&'fil\\&', \\&'w\\&')\n" |
| 927 |
"f:write(\\&'apa\\&')\n" |
| 928 |
"f:flush()\n" |
| 929 |
"f:close()\n" |
| 930 |
|
| 931 |
#. type: Plain text |
| 932 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 933 |
msgid "B<fd:read(>[I<len>]B<)>" |
| 934 |
msgstr "B<fd:read(>[I<längd>]B<)>" |
| 935 |
|
| 936 |
#. type: Plain text |
| 937 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 938 |
msgid "" |
| 939 |
"Read data from the file stream up to I<len> bytes or if not specified, the " |
| 940 |
"entire file.\\&" |
| 941 |
msgstr "" |
| 942 |
"Läs data från filströmmen upp till I<längd> byte eller om det inte angetts, " |
| 943 |
"hela filen.\\&" |
| 944 |
|
| 945 |
#. type: Plain text |
| 946 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 947 |
#, no-wrap |
| 948 |
msgid "" |
| 949 |
"f = rpm\\&.open(\\&'/some/file\\&')\n" |
| 950 |
"print(f:read())\n" |
| 951 |
msgstr "" |
| 952 |
"f = rpm\\&.open(\\&'/någon/fil\\&')\n" |
| 953 |
"print(f:read())\n" |
| 954 |
|
| 955 |
#. type: Plain text |
| 956 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 957 |
msgid "B<fd:seek(>I<mode>, I<offset>B<)>" |
| 958 |
msgstr "B<fd:seek(>I<läge>, I<avstånd>B<)>" |
| 959 |
|
| 960 |
#. type: Plain text |
| 961 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 962 |
msgid "" |
| 963 |
"Reposition the file offset of the stream.\\& I<mode> is one of B<set>, " |
| 964 |
"B<cur> and B<end>, and offset is relative to the mode: absolute, relative to " |
| 965 |
"current or relative to end.\\& Not all streams support seeking.\\&" |
| 966 |
msgstr "" |
| 967 |
"Positionera om filavståndet i strömmen.\\& I<läge> är en av B<set>, B<cur> " |
| 968 |
"och B<end>, och avståndet är relativt läget: absolut, relativt aktuellt " |
| 969 |
"eller relativt slutet.\\& Inte alla strömmar stödjer att söka.\\&" |
| 970 |
|
| 971 |
#. type: Plain text |
| 972 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 973 |
msgid "Returns file offset after the operation.\\&" |
| 974 |
msgstr "Returnerar filavståndet efter åtgärden.\\&" |
| 975 |
|
| 976 |
#. type: Plain text |
| 977 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 978 |
msgid "See also B<lseek>(3).\\&" |
| 979 |
msgstr "Se även B<lseek>(3).\\&" |
| 980 |
|
| 981 |
#. type: Plain text |
| 982 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 983 |
#, no-wrap |
| 984 |
msgid "" |
| 985 |
"f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n" |
| 986 |
"f:seek(\\&'set\\&', 555)\n" |
| 987 |
"f:close()\n" |
| 988 |
msgstr "" |
| 989 |
"f = rpm\\&.open(\\&'nyfil\\&', \\&'w\\&')\n" |
| 990 |
"f:seek(\\&'set\\&', 555)\n" |
| 991 |
"f:close()\n" |
| 992 |
|
| 993 |
#. type: Plain text |
| 994 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 995 |
msgid "B<fd:write(>I<buf> [, I<len>]B<)>" |
| 996 |
msgstr "B<fd:write(>I<buf> [, I<längd>]B<)>" |
| 997 |
|
| 998 |
#. type: Plain text |
| 999 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1000 |
msgid "" |
| 1001 |
"Write data in I<buf> to the file stream, either in its entirety or up to " |
| 1002 |
"I<len> bytes if specified.\\&" |
| 1003 |
msgstr "" |
| 1004 |
"Skriv data i I<buf> till filströmmen, antingen i sin helhet eller upp till " |
| 1005 |
"I<längd> byte om angett.\\&" |
| 1006 |
|
| 1007 |
#. type: Plain text |
| 1008 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1009 |
#, no-wrap |
| 1010 |
msgid "" |
| 1011 |
"f = rpm\\&.open(\\&'newfile\\&', \\&'w\\&')\n" |
| 1012 |
"f:write(\\&'data data\\&')\n" |
| 1013 |
"f:close()\n" |
| 1014 |
msgstr "" |
| 1015 |
"f = rpm\\&.open(\\&'nyfil\\&', \\&'w\\&')\n" |
| 1016 |
"f:write(\\&'data data\\&')\n" |
| 1017 |
"f:close()\n" |
| 1018 |
|
| 1019 |
#. type: Plain text |
| 1020 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1021 |
msgid "B<fd:reopen(>I<mode>B<)>" |
| 1022 |
msgstr "B<fd:reopen(>I<läge>B<)>" |
| 1023 |
|
| 1024 |
#. type: Plain text |
| 1025 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1026 |
msgid "Reopen a stream with a new mode (see B<rpm.\\&open()>).\\&" |
| 1027 |
msgstr "Öppna om en ström i ett nytt läge (se B<rpm.\\&open()>).\\&" |
| 1028 |
|
| 1029 |
#. type: Plain text |
| 1030 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1031 |
#, no-wrap |
| 1032 |
msgid "" |
| 1033 |
"rpm\\&.open(\\&'some\\&.txt\\&.gz\\&')\n" |
| 1034 |
"f = f:reopen(\\&'r\\&.gzdio\\&')\n" |
| 1035 |
"print(f:read())}\n" |
| 1036 |
msgstr "" |
| 1037 |
"rpm\\&.open(\\&någon\\&.txt\\&.gz\\&')\n" |
| 1038 |
"f = f:reopen(\\&'r\\&.gzdio\\&')\n" |
| 1039 |
"print(f:read())}\n" |
| 1040 |
|
| 1041 |
#. type: Plain text |
| 1042 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1043 |
msgid "B<redirect2null(>I<fdno>B<)> (OBSOLETE)" |
| 1044 |
msgstr "B<redirect2null(>I<fdnr>B<)> (FÖRÅLDRAT)" |
| 1045 |
|
| 1046 |
#. type: Plain text |
| 1047 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1048 |
msgid "" |
| 1049 |
"Redirect file descriptor fdno to /dev/null (prior to 4.\\&16 this was known " |
| 1050 |
"as posix.\\&redirect2null())" |
| 1051 |
msgstr "" |
| 1052 |
"Omdirigera filbeskrivare fdnr till /dev/null (före 4.\\&16 var detta känt " |
| 1053 |
"som posix.\\&redirect2null())" |
| 1054 |
|
| 1055 |
#. type: Plain text |
| 1056 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1057 |
msgid "" |
| 1058 |
"This function is obsolete and only available for RPM v4 packages for " |
| 1059 |
"backwards compatibility.\\& Use `rpm.\\&spawn()` or `rpm.\\&execute()` " |
| 1060 |
"instead.\\&" |
| 1061 |
msgstr "" |
| 1062 |
"Denna funktion är föråldrad och bara tillgänglig för RPM v4-paket för " |
| 1063 |
"bakåtkompatibilitet.\\& använd ”rpm.\\&spawn()” eller ”rpm.\\&execute()” " |
| 1064 |
"istället.\\&" |
| 1065 |
|
| 1066 |
#. type: Plain text |
| 1067 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1068 |
#, no-wrap |
| 1069 |
msgid "" |
| 1070 |
"pid = posix\\&.fork()\n" |
| 1071 |
"if pid == 0 then\n" |
| 1072 |
" posix\\&.redirect2null(2)\n" |
| 1073 |
" assert(posix\\&.exec(\\&'/bin/awk\\&'))\n" |
| 1074 |
"elseif pid E<gt> 0 then\n" |
| 1075 |
" posix\\&.wait(pid)\n" |
| 1076 |
"end\n" |
| 1077 |
msgstr "" |
| 1078 |
"pid = posix\\&.fork()\n" |
| 1079 |
"if pid == 0 then\n" |
| 1080 |
" posix\\&.redirect2null(2)\n" |
| 1081 |
" assert(posix\\&.exec(\\&'/bin/awk\\&'))\n" |
| 1082 |
"elseif pid E<gt> 0 then\n" |
| 1083 |
" posix\\&.wait(pid)\n" |
| 1084 |
"end\n" |
| 1085 |
|
| 1086 |
#. type: Plain text |
| 1087 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1088 |
msgid "B<spawn(>{I<command>} [, {I<actions>}]B<)>" |
| 1089 |
msgstr "B<spawn(>{I<kommando>} [, {I<åtgärder>}]B<)>" |
| 1090 |
|
| 1091 |
#. type: Plain text |
| 1092 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1093 |
msgid "Spawn, aka execute, an external program.\\&" |
| 1094 |
msgstr "Yngla av, även känt som kör, ett externt program.\\&" |
| 1095 |
|
| 1096 |
#. type: Plain text |
| 1097 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1098 |
msgid "" |
| 1099 |
"{I<command>} is a table consisting of the command and its arguments.\\& An " |
| 1100 |
"optional second table can be used to pass various actions related to the " |
| 1101 |
"command execution, currently supported are:" |
| 1102 |
msgstr "" |
| 1103 |
"{I<kommando>} är en tabell som består av kommandot och dess argument.\\& En " |
| 1104 |
"frivillig andra tabell kan användas för att skicka diverse åtgärder " |
| 1105 |
"relaterade till kommandokörningen, för närvarande stödjs:" |
| 1106 |
|
| 1107 |
#. type: Plain text |
| 1108 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1109 |
#, no-wrap |
| 1110 |
msgid "" |
| 1111 |
"| Action | Argument(s) | Description\n" |
| 1112 |
"|---------|----------------------\n" |
| 1113 |
"| *stdin* | path | Redirect standard input to path\n" |
| 1114 |
"| *stdout*| path | Redirect standard output to path\n" |
| 1115 |
"| *stderr*| path | Redirect standard error to path\n" |
| 1116 |
msgstr "" |
| 1117 |
"| Åtgärd | Argument | Beskrivning\n" |
| 1118 |
"|---------|-------------------\n" |
| 1119 |
"| *stdin* | sökväg | Omdirigera standard in till sökväg\n" |
| 1120 |
"| *stdout*| sökväg | Omdirigera standard ut till sökväg\n" |
| 1121 |
"| *stderr*| sökväg | Omdirigera standard fel till sökväg\n" |
| 1122 |
|
| 1123 |
#. type: Plain text |
| 1124 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1125 |
msgid "" |
| 1126 |
"Returns the command exit status: zero on success, or a tuplet of (B<nil>, " |
| 1127 |
"message, code) on failure.\\&" |
| 1128 |
msgstr "" |
| 1129 |
"Returnerar kommandots slutstatus: noll om det gick bra, eller en tupel av " |
| 1130 |
"(B<nil>, meddelande, kod) om det misslyckades.\\&" |
| 1131 |
|
| 1132 |
#. type: Plain text |
| 1133 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1134 |
msgid "Added: 4.\\&20" |
| 1135 |
msgstr "Tillagt i: 4.\\&20" |
| 1136 |
|
| 1137 |
#. type: Plain text |
| 1138 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1139 |
#, no-wrap |
| 1140 |
msgid "rpm\\&.spawn({\\&'systemctl\\&', \\&'restart\\&', \\&'httpd\\&'}, {stderr=\\&'/dev/null\\&'})\n" |
| 1141 |
msgstr "rpm\\&.spawn({\\&'systemctl\\&', \\&'restart\\&', \\&'httpd\\&'}, {stderr=\\&'/dev/null\\&'})\n" |
| 1142 |
|
| 1143 |
#. type: Plain text |
| 1144 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1145 |
msgid "B<undefine(>I<name>B<)>" |
| 1146 |
msgstr "B<undefine(>I<namn>B<)>" |
| 1147 |
|
| 1148 |
#. type: Plain text |
| 1149 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1150 |
msgid "Undefine a macro.\\& See also B<MACROS>.\\&" |
| 1151 |
msgstr "Avdefiniera ett makro.\\& Se även B<MACRON>.\\&" |
| 1152 |
|
| 1153 |
#. type: Plain text |
| 1154 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1155 |
msgid "" |
| 1156 |
"Note that this is only pops the most recent macro definition by the given " |
| 1157 |
"name from stack, ie there may be still macro definitions by the same name " |
| 1158 |
"after an undefine operation.\\&" |
| 1159 |
msgstr "" |
| 1160 |
"Observera att detta endast plockar bort den senaste makrodefinitionen av det " |
| 1161 |
"givna namnet från stacken, d.\\&v.\\&s.\\& det kan fortfarande finnas " |
| 1162 |
"makrodefinitioner med samma namn efter åtgärden undefine.\\&" |
| 1163 |
|
| 1164 |
#. type: Plain text |
| 1165 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1166 |
#, no-wrap |
| 1167 |
msgid "rpm\\&.undefine(\\&'zzz\\&')\n" |
| 1168 |
msgstr "rpm\\&.undefine(\\&'zzz\\&')\n" |
| 1169 |
|
| 1170 |
#. type: Plain text |
| 1171 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1172 |
msgid "B<vercmp(>I<v1>, I<v2>B<)>" |
| 1173 |
msgstr "B<vercmp(>I<v1>, I<v2>B<)>" |
| 1174 |
|
| 1175 |
#. type: Plain text |
| 1176 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1177 |
msgid "" |
| 1178 |
"Perform RPM version comparison on argument strings.\\& Returns -1, 0 or 1 if " |
| 1179 |
"I<v1> is smaller, equal or larger than I<v2>.\\& See B<rpm-version>(7).\\&" |
| 1180 |
msgstr "" |
| 1181 |
"Utför jämförelse av RPM-versioner på argumentsträngar.\\& Returnerar -1, 0 " |
| 1182 |
"eller 1 om I<v1> är mindre än, lika med eller större än I<v2>.\\& Se B<rpm-" |
| 1183 |
"version>(7).\\&" |
| 1184 |
|
| 1185 |
#. type: Plain text |
| 1186 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1187 |
msgid "" |
| 1188 |
"Note: in RPM E<lt> 4.\\&16 this operated on version segments only, which " |
| 1189 |
"does not produce correct results on full I<EVR> strings.\\&" |
| 1190 |
msgstr "" |
| 1191 |
"Observera: i RPM E<lt> 4.\\&16 arbetade detta endast på versionssegment, " |
| 1192 |
"vilket inte producerar korrekta resultat på fullständiga I<EVR>-strängar.\\&" |
| 1193 |
|
| 1194 |
#. type: Plain text |
| 1195 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1196 |
#, no-wrap |
| 1197 |
msgid "rpm\\&.vercmp(\\&'1\\&.2-1\\&', \\&'2\\&.0-1\\&')\n" |
| 1198 |
msgstr "rpm\\&.vercmp(\\&'1\\&.2-1\\&', \\&'2\\&.0-1\\&')\n" |
| 1199 |
|
| 1200 |
#. type: Plain text |
| 1201 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1202 |
msgid "B<ver(>I<evr>B<)>, B<ver(>I<e>, I<v>, I<r>B<)>" |
| 1203 |
msgstr "B<ver(>I<evr>B<)>, B<ver(>I<e>, I<v>, I<r>B<)>" |
| 1204 |
|
| 1205 |
#. type: Plain text |
| 1206 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1207 |
msgid "" |
| 1208 |
"Create RPM version object.\\& This takes either an I<evr> string which is " |
| 1209 |
"parsed to it'\\&s components, or epoch, version and release in separate " |
| 1210 |
"arguments (which can be either strings or numbers).\\& The object has three " |
| 1211 |
"attributes: B<e> for epoch, B<v> for version and B<r> for release, can be " |
| 1212 |
"printed in it'\\&s EVR form and supports native comparison in Lua.\\&" |
| 1213 |
msgstr "" |
| 1214 |
"Skapa RPM-versionsojbekt.\\& Detta tar antingen en I<evr>-sträng som tolkas " |
| 1215 |
"till dess komponenter, eller epok, version och utgåva i separata argument " |
| 1216 |
"(vilka kan vara antingen strängar eller tal).\\& Objektet har tre attribut: " |
| 1217 |
"B<e> för epok, B<v> för version och B<r> for utgåva, kan skrivas i sin EVR-" |
| 1218 |
"form och stödjer inbyggd jämförelse i Lua.\\&" |
| 1219 |
|
| 1220 |
#. type: Plain text |
| 1221 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1222 |
#, no-wrap |
| 1223 |
msgid "" |
| 1224 |
"v1 = rpm\\&.ver(\\&'5:1\\&.0-2)\n" |
| 1225 |
"v2 = rpm\\&.ver(3, \\&'5a\\&', 1)\n" |
| 1226 |
"if v1 E<lt> v2 then\n" |
| 1227 |
" \\&.\\&.\\&.\n" |
| 1228 |
"end\n" |
| 1229 |
msgstr "" |
| 1230 |
"v1 = rpm\\&.ver(\\&'5:1\\&.0-2)\n" |
| 1231 |
"v2 = rpm\\&.ver(3, \\&'5a\\&', 1)\n" |
| 1232 |
"if v1 E<lt> v2 then\n" |
| 1233 |
" …\\&\n" |
| 1234 |
"end\n" |
| 1235 |
|
| 1236 |
#. type: Plain text |
| 1237 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1238 |
#, no-wrap |
| 1239 |
msgid "" |
| 1240 |
"if v1\\&.e then\n" |
| 1241 |
" \\&.\\&.\\&.\n" |
| 1242 |
"end\n" |
| 1243 |
msgstr "" |
| 1244 |
"if v1\\&.e then\n" |
| 1245 |
" \\&…\n" |
| 1246 |
"end\n" |
| 1247 |
|
| 1248 |
#. type: SS |
| 1249 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1250 |
#, no-wrap |
| 1251 |
msgid "posix extension" |
| 1252 |
msgstr "posix-utvidgningar" |
| 1253 |
|
| 1254 |
#. type: Plain text |
| 1255 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1256 |
msgid "" |
| 1257 |
"Lua standard library offers fairly limited set of io operations.\\& The " |
| 1258 |
"B<posix> extension greatly enhances what can be done from Lua.\\&" |
| 1259 |
msgstr "" |
| 1260 |
"Lua:s standardibliotek erbjuder en ganska begränsad uppsättning io-åtgärder." |
| 1261 |
"\\& Utvidgningen B<posix> utökar kraftigt vad som kan göras från Lua.\\&" |
| 1262 |
|
| 1263 |
#. type: Plain text |
| 1264 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1265 |
msgid "" |
| 1266 |
"The following functions are available in the B<posix> namespace, ie to call " |
| 1267 |
"them use B<posix.\\&function()>.\\& This documentation concentrates on the " |
| 1268 |
"Lua API conventions, for further information on the corresponding system " |
| 1269 |
"calls refer to the system manual, eg B<access>(3) for B<posix.\\&access()>." |
| 1270 |
"\\&" |
| 1271 |
msgstr "" |
| 1272 |
"Följande funktioner är tillgängliga i namnrymden B<posix>, d.\\&v.\\%s\\& " |
| 1273 |
"för att anropa dem använd B<posix.\\&funktion()>.\\& Denna dokumentation " |
| 1274 |
"koncentrerar sig på Lua:s API-konventioner, för ytterligare information om " |
| 1275 |
"motsvarande systemanrop referera systemmanualen, t.\\&ex.\\& B<access>(3) " |
| 1276 |
"för B<posix.\\&access()>.\\&" |
| 1277 |
|
| 1278 |
#. type: Plain text |
| 1279 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1280 |
msgid "B<access(>I<path> [, I<mode>]B<)>" |
| 1281 |
msgstr "B<access(>I<sökväg> [, I<läge>]B<)>" |
| 1282 |
|
| 1283 |
#. type: Plain text |
| 1284 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1285 |
msgid "" |
| 1286 |
"Test accessibility of file/directory I<path>.\\& See B<access>(3).\\& If " |
| 1287 |
"I<mode> is omitted then existence is tested, otherwise it is a combination " |
| 1288 |
"of the following tests:" |
| 1289 |
msgstr "" |
| 1290 |
"Testa åtkomligheten för filen/katalogen I<sökväg>.\\& Se B<access>(3).\\& Om " |
| 1291 |
"I<läge> utelämnas testas existensen, annars är det en kombination av " |
| 1292 |
"följande tester:" |
| 1293 |
|
| 1294 |
#. type: Plain text |
| 1295 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1296 |
msgid "B<r>: readable" |
| 1297 |
msgstr "B<r>: läsbar" |
| 1298 |
|
| 1299 |
#. type: Plain text |
| 1300 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1301 |
msgid "B<w>: writable" |
| 1302 |
msgstr "B<w>: skrivbar" |
| 1303 |
|
| 1304 |
#. type: Plain text |
| 1305 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1306 |
msgid "B<x>: executable" |
| 1307 |
msgstr "B<x>: körbar" |
| 1308 |
|
| 1309 |
#. type: Plain text |
| 1310 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1311 |
msgid "B<f>: exists" |
| 1312 |
msgstr "B<f>: finns" |
| 1313 |
|
| 1314 |
#. type: Plain text |
| 1315 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1316 |
#, no-wrap |
| 1317 |
msgid "" |
| 1318 |
"if posix\\&.access(\\&'/bin/rpm\\&', \\&'x\\&') then\n" |
| 1319 |
" \\&.\\&.\\&.\n" |
| 1320 |
"end\n" |
| 1321 |
msgstr "" |
| 1322 |
"if posix\\&.access(\\&'/bin/rpm\\&', \\&'x\\&') then\n" |
| 1323 |
" …\\&\n" |
| 1324 |
"end\n" |
| 1325 |
|
| 1326 |
#. type: Plain text |
| 1327 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1328 |
msgid "B<chdir(>I<path>B<)>" |
| 1329 |
msgstr "B<chdir(>I<sökväg>B<)>" |
| 1330 |
|
| 1331 |
#. type: Plain text |
| 1332 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1333 |
msgid "Change current working directory to I<path>.\\& See B<chdir>(1).\\&" |
| 1334 |
msgstr "Ändra aktuell arbetskatalog till I<sökväg>.\\& Se B<chdir>(1).\\&" |
| 1335 |
|
| 1336 |
#. type: Plain text |
| 1337 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1338 |
#, no-wrap |
| 1339 |
msgid "posix\\&.chdir(\\&'/tmp\\&')\n" |
| 1340 |
msgstr "posix\\&.chdir(\\&'/tmp\\&')\n" |
| 1341 |
|
| 1342 |
#. type: Plain text |
| 1343 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1344 |
msgid "B<chmod(>I<path>, I<mode>B<)>" |
| 1345 |
msgstr "B<chmod(>I<sökväg>, I<läge>B<)>" |
| 1346 |
|
| 1347 |
#. type: Plain text |
| 1348 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1349 |
msgid "" |
| 1350 |
"Change file/directory mode.\\& Mode can be either an octal number as for " |
| 1351 |
"B<chmod>(2) system call, or a string presentation similar to B<chmod>(1).\\&" |
| 1352 |
msgstr "" |
| 1353 |
"Ändra filens/katalogens rättigheter.\\& Läge kan antingen vara ett oktalt " |
| 1354 |
"tal som till systemanropet B<chmod>(2), eller en strängpresentation liknande " |
| 1355 |
"B<chmod>(1).\\&" |
| 1356 |
|
| 1357 |
#. type: Plain text |
| 1358 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1359 |
#, no-wrap |
| 1360 |
msgid "" |
| 1361 |
"posix\\&.chmod(\\&'aa\\&', 600)\n" |
| 1362 |
"posix\\&.chmod(\\&'bb\\&', \\&'rw-\\&')\n" |
| 1363 |
"posix\\&.chmod(\\&'cc\\&', \\&'u+x\\&')\n" |
| 1364 |
msgstr "" |
| 1365 |
"posix\\&.chmod(\\&'aa\\&', 600)\n" |
| 1366 |
"posix\\&.chmod(\\&'bb\\&', \\&'rw-\\&')\n" |
| 1367 |
"posix\\&.chmod(\\&'cc\\&', \\&'u+x\\&')\n" |
| 1368 |
|
| 1369 |
#. type: Plain text |
| 1370 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1371 |
msgid "B<chown(>I<path>, I<user>, I<group>B<)>" |
| 1372 |
msgstr "B<chown(>I<sökväg>, I<användare>, I<grupp>B<)>" |
| 1373 |
|
| 1374 |
#. type: Plain text |
| 1375 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1376 |
msgid "" |
| 1377 |
"Change file/directory owner/group of I<path>.\\& The I<user> and I<group> " |
| 1378 |
"arguments may be either numeric id values or user/groupnames.\\& See " |
| 1379 |
"B<chown>(2) and B<chown>(1).\\&" |
| 1380 |
msgstr "" |
| 1381 |
"Ändra filen/katalogen I<sökväg>s ägare/grupp.\\& Argumenten I<användare> och " |
| 1382 |
"I<grupp> kan antingen vara numeriska id-värden eller användar-/gruppnamn.\\& " |
| 1383 |
"Se B<chown>(2) och B<chown>(1).\\&" |
| 1384 |
|
| 1385 |
#. type: Plain text |
| 1386 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1387 |
msgid "Note: This is a privileged operation.\\&" |
| 1388 |
msgstr "Observera: detta är en privilegierad åtgärd.\\&" |
| 1389 |
|
| 1390 |
#. type: Plain text |
| 1391 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1392 |
#, no-wrap |
| 1393 |
msgid "" |
| 1394 |
"posix\\&.chown(\\&'aa\\&', 0, 0)\n" |
| 1395 |
"posix\\&.chown(\\&'bb\\&', \\&'nobody\\&', \\&'nobody\\&')\n" |
| 1396 |
msgstr "" |
| 1397 |
"posix\\&.chown(\\&'aa\\&', 0, 0)\n" |
| 1398 |
"posix\\&.chown(\\&'bb\\&', \\&'nobody\\&', \\&'nobody\\&')\n" |
| 1399 |
|
| 1400 |
#. type: Plain text |
| 1401 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1402 |
msgid "B<ctermid()>" |
| 1403 |
msgstr "B<ctermid()>" |
| 1404 |
|
| 1405 |
#. type: Plain text |
| 1406 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1407 |
msgid "Get controlling terminal name.\\& See B<ctermid>(3).\\&" |
| 1408 |
msgstr "Hämta den styrande terminalens namn.\\& Se B<ctermid>(3).\\&" |
| 1409 |
|
| 1410 |
#. type: Plain text |
| 1411 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1412 |
#, no-wrap |
| 1413 |
msgid "print(posix\\&.ctermid())\n" |
| 1414 |
msgstr "print(posix\\&.ctermid())\n" |
| 1415 |
|
| 1416 |
#. type: Plain text |
| 1417 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1418 |
msgid "B<dir(>[I<path>]B<)>" |
| 1419 |
msgstr "B<dir(>[I<sökväg>]B<)>" |
| 1420 |
|
| 1421 |
#. type: Plain text |
| 1422 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1423 |
msgid "" |
| 1424 |
"Get directory contents - like B<readdir>(3).\\& If I<path> is omitted, " |
| 1425 |
"current directory is used.\\&" |
| 1426 |
msgstr "" |
| 1427 |
"Hämta katalogens innehåll — som B<readdir>(3).\\& Om I<sökväg> utelämnas " |
| 1428 |
"används den aktuella katalogen.\\&" |
| 1429 |
|
| 1430 |
#. type: Plain text |
| 1431 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1432 |
#, no-wrap |
| 1433 |
msgid "" |
| 1434 |
"for i,p in pairs(posix\\&.dir(\\&'/\\&')) do\n" |
| 1435 |
" print(p\\&.\\&.\\&'n\\&')\n" |
| 1436 |
"end\n" |
| 1437 |
msgstr "" |
| 1438 |
"for i,p in pairs(posix\\&.dir(\\&'/\\&')) do\n" |
| 1439 |
" print(p\\&.\\&.\\&'n\\&')\n" |
| 1440 |
"end\n" |
| 1441 |
|
| 1442 |
#. type: Plain text |
| 1443 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1444 |
msgid "B<errno()>" |
| 1445 |
msgstr "B<errno()>" |
| 1446 |
|
| 1447 |
#. type: Plain text |
| 1448 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1449 |
msgid "" |
| 1450 |
"Get B<strerror>(3) message and the corresponding number for current " |
| 1451 |
"B<errno>(3).\\&" |
| 1452 |
msgstr "" |
| 1453 |
"Hämta B<strerror>(3)-meddelandet och motsvarande nummer för det aktuella " |
| 1454 |
"B<errno>(3).\\&" |
| 1455 |
|
| 1456 |
#. type: Plain text |
| 1457 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1458 |
#, no-wrap |
| 1459 |
msgid "" |
| 1460 |
"f = \\&'/zzz\\&'\n" |
| 1461 |
"if not posix\\&.chmod(f, 100) then\n" |
| 1462 |
" s, n = posix\\&.errno()\n" |
| 1463 |
" print(f, s)\n" |
| 1464 |
"end\n" |
| 1465 |
msgstr "" |
| 1466 |
"f = \\&'/zzz\\&'\n" |
| 1467 |
"if not posix\\&.chmod(f, 100) then\n" |
| 1468 |
" s, n = posix\\&.errno()\n" |
| 1469 |
" print(f, s)\n" |
| 1470 |
"end\n" |
| 1471 |
|
| 1472 |
#. type: Plain text |
| 1473 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1474 |
msgid "B<exec(>I<path> [, I<args>.\\&.\\&.\\&]B<)> (OBSOLETE)" |
| 1475 |
msgstr "B<exec(>I<sökväg> [, I<arg>…\\&]B<)> (FÖRÅLDRAT)" |
| 1476 |
|
| 1477 |
#. type: Plain text |
| 1478 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1479 |
msgid "" |
| 1480 |
"Execute a program.\\& This may only be performed after posix.\\&fork().\\&" |
| 1481 |
msgstr "Kör ett program.\\& Detta får bara utföras efter posix.\\&fork().\\&" |
| 1482 |
|
| 1483 |
#. type: Plain text |
| 1484 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1485 |
msgid "" |
| 1486 |
"This function is obsolete and only available for RPM v4 packages for " |
| 1487 |
"backwards compatibility.\\& Use B<rpm.\\&spawn()> or B<rpm.\\&execute()> " |
| 1488 |
"instead.\\&" |
| 1489 |
msgstr "" |
| 1490 |
"Denna funktion är föråldrad och endast tillgänglig för bakåtkompatibilitet " |
| 1491 |
"med RPM v4-paket.\\& Använd B<rpm.\\&spawn()> eller B<rpm.\\&execute()> " |
| 1492 |
"istället.\\&" |
| 1493 |
|
| 1494 |
#. type: Plain text |
| 1495 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1496 |
msgid "B<files(>[I<path>]B<)>" |
| 1497 |
msgstr "B<files(>[I<sökväg>]B<)>" |
| 1498 |
|
| 1499 |
#. type: Plain text |
| 1500 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1501 |
msgid "" |
| 1502 |
"Iterate over directory contents.\\& If path is omitted, current directory is " |
| 1503 |
"used.\\&" |
| 1504 |
msgstr "" |
| 1505 |
"Iterera över kataloginnehåll.\\& Om sökväg utelämnas används den aktuella " |
| 1506 |
"katalogen.\\&" |
| 1507 |
|
| 1508 |
#. type: Plain text |
| 1509 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1510 |
#, no-wrap |
| 1511 |
msgid "" |
| 1512 |
"for f in posix\\&.files(\\&'/\\&') do\n" |
| 1513 |
" print(f\\&.\\&.\\&'n\\&')\n" |
| 1514 |
"end\n" |
| 1515 |
msgstr "" |
| 1516 |
"for f in posix\\&.files(\\&'/\\&') do\n" |
| 1517 |
" print(f\\&.\\&.\\&'n\\&')\n" |
| 1518 |
"end\n" |
| 1519 |
|
| 1520 |
#. type: Plain text |
| 1521 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1522 |
msgid "B<fork()> (OBSOLETE)" |
| 1523 |
msgstr "B<fork()> (FÖRÅLDRAT)" |
| 1524 |
|
| 1525 |
#. type: Plain text |
| 1526 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1527 |
msgid "Fork a new process.\\& See B<fork>(2).\\&" |
| 1528 |
msgstr "Grena av en ny process.\\& Se B<fork>(2).\\&" |
| 1529 |
|
| 1530 |
#. type: Plain text |
| 1531 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1532 |
#, no-wrap |
| 1533 |
msgid "" |
| 1534 |
"pid = posix\\&.fork()\n" |
| 1535 |
"if pid == 0 then\n" |
| 1536 |
" posix\\&.exec(\\&'/foo/bar\\&')\n" |
| 1537 |
"elseif pid E<gt> 0 then\n" |
| 1538 |
" posix\\&.wait(pid)\n" |
| 1539 |
"end\n" |
| 1540 |
msgstr "" |
| 1541 |
"pid = posix\\&.fork()\n" |
| 1542 |
"if pid == 0 then\n" |
| 1543 |
" posix\\&.exec(\\&'/apa/bepa\\&')\n" |
| 1544 |
"elseif pid E<gt> 0 then\n" |
| 1545 |
" posix\\&.wait(pid)\n" |
| 1546 |
"end\n" |
| 1547 |
|
| 1548 |
#. type: Plain text |
| 1549 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1550 |
msgid "B<getcwd()>" |
| 1551 |
msgstr "B<getcwd()>" |
| 1552 |
|
| 1553 |
#. type: Plain text |
| 1554 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1555 |
msgid "Get current directory.\\& See B<getcwd>(3).\\&" |
| 1556 |
msgstr "Hämta den aktuella katalogen.\\& Se B<getcwd>(3).\\&" |
| 1557 |
|
| 1558 |
#. type: Plain text |
| 1559 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1560 |
#, no-wrap |
| 1561 |
msgid "" |
| 1562 |
"if posix\\&.getcwd() ~= \\&'/\\&' then\n" |
| 1563 |
" \\&.\\&.\\&.\n" |
| 1564 |
"endif\n" |
| 1565 |
msgstr "" |
| 1566 |
"if posix\\&.getcwd() ~= \\&'/\\&' then\n" |
| 1567 |
" …\\&\n" |
| 1568 |
"endif\n" |
| 1569 |
|
| 1570 |
#. type: Plain text |
| 1571 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1572 |
msgid "B<getenv(>I<name>B<)>" |
| 1573 |
msgstr "B<getenv(>I<namn>B<)>" |
| 1574 |
|
| 1575 |
#. type: Plain text |
| 1576 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1577 |
msgid "Get an environment variable.\\& See B<getenv>(3).\\&" |
| 1578 |
msgstr "Hämta en miljövariabel.\\& Se B<getenv>(3).\\&" |
| 1579 |
|
| 1580 |
#. type: Plain text |
| 1581 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1582 |
#, no-wrap |
| 1583 |
msgid "" |
| 1584 |
"if posix\\&.getenv(\\&'HOME\\&') ~= posix\\&.getcwd() then\n" |
| 1585 |
" print(\\&'not at home\\&')\n" |
| 1586 |
"end\n" |
| 1587 |
msgstr "" |
| 1588 |
"if posix\\&.getenv(\\&'HOME\\&') ~= posix\\&.getcwd() then\n" |
| 1589 |
" print(\\&'inte hemma\\&')\n" |
| 1590 |
"end\n" |
| 1591 |
|
| 1592 |
#. type: Plain text |
| 1593 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1594 |
msgid "B<getgroup(>I<group>B<)>" |
| 1595 |
msgstr "B<getgroup(>I<grupp>B<)>" |
| 1596 |
|
| 1597 |
#. type: Plain text |
| 1598 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1599 |
msgid "" |
| 1600 |
"Get B<group>(5) information for a group.\\& I<group> may be either a numeric " |
| 1601 |
"id or group name.\\& If omitted, current group is used.\\& Returns a table " |
| 1602 |
"with fields B<name> and B<gid> set to group name and id respectively, and " |
| 1603 |
"indexes from 1 onwards specifying group members.\\&" |
| 1604 |
msgstr "" |
| 1605 |
"Hämta B<group>(5)-information om en grupp.\\& I<grupp> kan antingen vara ett " |
| 1606 |
"numeriskt id eller ett gruppnamn.\\& Om utelämnat används den aktuella " |
| 1607 |
"gruppen.\\& Returnerar en tabell med fälten B<name> och B<gid> satta till " |
| 1608 |
"gruppnamnet respektive dess id, och index från 1 och framåt specificerar " |
| 1609 |
"gruppmedlemmar.\\&" |
| 1610 |
|
| 1611 |
#. type: Plain text |
| 1612 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1613 |
#, no-wrap |
| 1614 |
msgid "print(posix\\&.getgroup(\\&'wheel\\&')\\&.gid)\n" |
| 1615 |
msgstr "print(posix\\&.getgroup(\\&'wheel\\&')\\&.gid)\n" |
| 1616 |
|
| 1617 |
#. type: Plain text |
| 1618 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1619 |
msgid "B<getlogin()>" |
| 1620 |
msgstr "B<getlogin()>" |
| 1621 |
|
| 1622 |
#. type: Plain text |
| 1623 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1624 |
msgid "Get login name.\\& See B<getlogin>(3).\\&" |
| 1625 |
msgstr "Hämta inloggningsnamnet.\\& Se B<getlogin>(3).\\&" |
| 1626 |
|
| 1627 |
#. type: Plain text |
| 1628 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1629 |
#, no-wrap |
| 1630 |
msgid "n = posix\\&.getlogin()\n" |
| 1631 |
msgstr "n = posix\\&.getlogin()\n" |
| 1632 |
|
| 1633 |
#. type: Plain text |
| 1634 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1635 |
msgid "B<getpasswd>([I<user> [, I<selector>]]B<)>" |
| 1636 |
msgstr "B<getpasswd>([I<användare> [, I<väljare>]]B<)>" |
| 1637 |
|
| 1638 |
#. type: Plain text |
| 1639 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1640 |
msgid "" |
| 1641 |
"Get B<passwd>(5) information for a user account.\\& I<user> may be either a " |
| 1642 |
"numeric id or username.\\& If omitted, current user is used.\\& The optional " |
| 1643 |
"I<selector> argument may be one of:" |
| 1644 |
msgstr "" |
| 1645 |
"Hämta B<passwd>(5)-information för ett användarkonto.\\& I<användare> kan " |
| 1646 |
"antingen vara ett numeriskt id eller användarnamn.\\& Om utelämnat används " |
| 1647 |
"den aktuella användaren.\\& Det frivilliga argumentet I<väljare> kan vara " |
| 1648 |
"ett av:" |
| 1649 |
|
| 1650 |
#. type: Plain text |
| 1651 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1652 |
msgid "B<name>" |
| 1653 |
msgstr "B<name>" |
| 1654 |
|
| 1655 |
#. type: Plain text |
| 1656 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1657 |
msgid "B<uid>" |
| 1658 |
msgstr "B<uid>" |
| 1659 |
|
| 1660 |
#. type: Plain text |
| 1661 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1662 |
msgid "B<gid>" |
| 1663 |
msgstr "B<gid>" |
| 1664 |
|
| 1665 |
#. type: Plain text |
| 1666 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1667 |
msgid "B<dir>" |
| 1668 |
msgstr "B<dir>" |
| 1669 |
|
| 1670 |
#. type: Plain text |
| 1671 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1672 |
msgid "B<shell>" |
| 1673 |
msgstr "B<shell>" |
| 1674 |
|
| 1675 |
#. type: Plain text |
| 1676 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1677 |
msgid "B<gecos>" |
| 1678 |
msgstr "B<gecos>" |
| 1679 |
|
| 1680 |
#. type: Plain text |
| 1681 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1682 |
msgid "B<passwd>" |
| 1683 |
msgstr "B<passwd>" |
| 1684 |
|
| 1685 |
#. type: Plain text |
| 1686 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1687 |
msgid "If omitted, a table with all these fields is returned.\\&" |
| 1688 |
msgstr "Om det utelämnas returneras en tabell med alla dessa fält.\\&" |
| 1689 |
|
| 1690 |
#. type: Plain text |
| 1691 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1692 |
#, no-wrap |
| 1693 |
msgid "pw = posix\\&.getpasswd(posix\\&.getlogin(), \\&'shell\\&')|\n" |
| 1694 |
msgstr "pw = posix\\&.getpasswd(posix\\&.getlogin(), \\&'shell\\&')|\n" |
| 1695 |
|
| 1696 |
#. type: Plain text |
| 1697 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1698 |
msgid "B<getprocessid(>[I<selector>]B<)>" |
| 1699 |
msgstr "B<getprocessid(>[I<väljare>]B<)>" |
| 1700 |
|
| 1701 |
#. type: Plain text |
| 1702 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1703 |
msgid "" |
| 1704 |
"Get information about current process.\\& The optional I<selector> argument " |
| 1705 |
"may be one of" |
| 1706 |
msgstr "" |
| 1707 |
"Hämta information om den aktuella processen.\\& Det frivilliga argumentet " |
| 1708 |
"I<väljare> kan vara ett av" |
| 1709 |
|
| 1710 |
#. type: Plain text |
| 1711 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1712 |
msgid "B<egid>: effective group id" |
| 1713 |
msgstr "B<egid>: effektivt grupp-id" |
| 1714 |
|
| 1715 |
#. type: Plain text |
| 1716 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1717 |
msgid "B<euid>: effective user id" |
| 1718 |
msgstr "B<euid>: effektivt användar-id" |
| 1719 |
|
| 1720 |
#. type: Plain text |
| 1721 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1722 |
msgid "B<gid>: group id" |
| 1723 |
msgstr "B<gid>: grupp-id" |
| 1724 |
|
| 1725 |
#. type: Plain text |
| 1726 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1727 |
msgid "B<uid>: user id" |
| 1728 |
msgstr "B<uid>: användar-id" |
| 1729 |
|
| 1730 |
#. type: Plain text |
| 1731 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1732 |
msgid "B<pgrp>: parent group id" |
| 1733 |
msgstr "B<pgrp>: förälderns grupp-id" |
| 1734 |
|
| 1735 |
#. type: Plain text |
| 1736 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1737 |
msgid "B<pid>: process id" |
| 1738 |
msgstr "B<pid>: process-id" |
| 1739 |
|
| 1740 |
#. type: Plain text |
| 1741 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1742 |
msgid "B<ppid>: parent pid" |
| 1743 |
msgstr "B<ppid>: förälderns pid" |
| 1744 |
|
| 1745 |
#. type: Plain text |
| 1746 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1747 |
#, no-wrap |
| 1748 |
msgid "" |
| 1749 |
"if posix\\&.getprocessid(\\&'pid\\&') == 1 then\n" |
| 1750 |
" \\&.\\&.\\&.\n" |
| 1751 |
"end\n" |
| 1752 |
msgstr "" |
| 1753 |
"if posix\\&.getprocessid(\\&'pid\\&') == 1 then\n" |
| 1754 |
" …\\&\n" |
| 1755 |
"end\n" |
| 1756 |
|
| 1757 |
#. type: Plain text |
| 1758 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1759 |
msgid "B<kill(>I<pid> [, I<signal>]B<)>" |
| 1760 |
msgstr "B<kill(>I<pid> [, I<signal>]B<)>" |
| 1761 |
|
| 1762 |
#. type: Plain text |
| 1763 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1764 |
msgid "" |
| 1765 |
"Send a B<signal>(7) to a process.\\& I<signal> must be a numeric value, eg." |
| 1766 |
"\\& B<9> for B<SIGKILL>.\\& If omitted, B<SIGTERM> is used.\\& See also " |
| 1767 |
"B<kill>(2).\\&" |
| 1768 |
msgstr "" |
| 1769 |
"Skicka en B<signal>(7) till en process.\\& I<signal> måste vara ett " |
| 1770 |
"numeriskt värde, t.\\&ex.\\& B<9> för B<SIGKILL>.\\& Om det utelämnas " |
| 1771 |
"används B<SIGTERM>.\\& Se även B<kill>(2).\\&" |
| 1772 |
|
| 1773 |
#. type: Plain text |
| 1774 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1775 |
#, no-wrap |
| 1776 |
msgid "posix\\&.kill(posix\\&.getprocessid(\\&'pid\\&'))\n" |
| 1777 |
msgstr "posix\\&.kill(posix\\&.getprocessid(\\&'pid\\&'))\n" |
| 1778 |
|
| 1779 |
#. type: Plain text |
| 1780 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1781 |
msgid "B<link(>I<oldpath>, I<newpath>B<)>" |
| 1782 |
msgstr "B<link(>I<gammalsökväg>, I<nysökväg>B<)>" |
| 1783 |
|
| 1784 |
#. type: Plain text |
| 1785 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1786 |
msgid "" |
| 1787 |
"Create a new name at I<newpath> for a file at I<oldpath>, aka hard link.\\& " |
| 1788 |
"See also B<link>(2).\\&" |
| 1789 |
msgstr "" |
| 1790 |
"Skapa ett nytt namn på I<newpath> för en fil på I<oldpath>, även känt som " |
| 1791 |
"hårdlänk.\\& Se även B<link>(2).\\&" |
| 1792 |
|
| 1793 |
#. type: Plain text |
| 1794 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1795 |
#, no-wrap |
| 1796 |
msgid "" |
| 1797 |
"f = rpm\\&.open(\\&'aaa\\&', \\&'w\\&')\n" |
| 1798 |
"posix\\&.link(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 1799 |
msgstr "" |
| 1800 |
"f = rpm\\&.open(\\&'aaa\\&', \\&'w\\&')\n" |
| 1801 |
"posix\\&.link(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 1802 |
|
| 1803 |
#. type: Plain text |
| 1804 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1805 |
msgid "B<mkdir(>I<path>B<)>" |
| 1806 |
msgstr "B<mkdir(>I<sökväg>B<)>" |
| 1807 |
|
| 1808 |
#. type: Plain text |
| 1809 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1810 |
msgid "Create a new directory at I<path>.\\& See also B<mkdir>(2).\\&" |
| 1811 |
msgstr "Skapa en ny katalog på I<path>.\\& Se även B<mkdir>(2).\\&" |
| 1812 |
|
| 1813 |
#. type: Plain text |
| 1814 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1815 |
#, no-wrap |
| 1816 |
msgid "posix\\&.mkdir(\\&'/tmp\\&')\n" |
| 1817 |
msgstr "posix\\&.mkdir(\\&'/tmp\\&')\n" |
| 1818 |
|
| 1819 |
#. type: Plain text |
| 1820 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1821 |
msgid "B<mkfifo(>I<path>B<)>" |
| 1822 |
msgstr "B<mkfifo(>I<sökväg>B<)>" |
| 1823 |
|
| 1824 |
#. type: Plain text |
| 1825 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1826 |
msgid "Create a FIFO aka named pipe at I<path>.\\& See also B<mkfifo>(2).\\&" |
| 1827 |
msgstr "" |
| 1828 |
"Skapa en FIFO även känt som namngivet rör på I<sökväg>.\\& Se även " |
| 1829 |
"B<mkfifo>(2).\\&" |
| 1830 |
|
| 1831 |
#. type: Plain text |
| 1832 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1833 |
#, no-wrap |
| 1834 |
msgid "posix\\&.mkfifo(\\&'/tmp/badplace\\&')\n" |
| 1835 |
msgstr "posix\\&.mkfifo(\\&'/tmp/dumplats\\&')\n" |
| 1836 |
|
| 1837 |
#. type: Plain text |
| 1838 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1839 |
msgid "B<pathconf(>I<path> [, I<selector>]B<)>" |
| 1840 |
msgstr "B<pathconf(>I<sökväg> [, I<väljare>]B<)>" |
| 1841 |
|
| 1842 |
#. type: Plain text |
| 1843 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1844 |
msgid "" |
| 1845 |
"Get B<pathconf>(3) information for I<path>.\\& The optional I<selector> may " |
| 1846 |
"be one of" |
| 1847 |
msgstr "" |
| 1848 |
"Hämta B<pathconf>(3)-information för I<sökväg>.\\& Den frivilliga " |
| 1849 |
"I<väljaren> kan vara en av" |
| 1850 |
|
| 1851 |
#. type: Plain text |
| 1852 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1853 |
msgid "B<link_max>" |
| 1854 |
msgstr "B<link_max>" |
| 1855 |
|
| 1856 |
#. type: Plain text |
| 1857 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1858 |
msgid "B<max_canon>" |
| 1859 |
msgstr "B<max_canon>" |
| 1860 |
|
| 1861 |
#. type: Plain text |
| 1862 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1863 |
msgid "B<max_input>" |
| 1864 |
msgstr "B<max_input>" |
| 1865 |
|
| 1866 |
#. type: Plain text |
| 1867 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1868 |
msgid "B<name_max>" |
| 1869 |
msgstr "B<name_max>" |
| 1870 |
|
| 1871 |
#. type: Plain text |
| 1872 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1873 |
msgid "B<path_max>" |
| 1874 |
msgstr "B<path_max>" |
| 1875 |
|
| 1876 |
#. type: Plain text |
| 1877 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1878 |
msgid "B<pipe_buf>" |
| 1879 |
msgstr "B<pipe_buf>" |
| 1880 |
|
| 1881 |
#. type: Plain text |
| 1882 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1883 |
msgid "B<chown_restricted>" |
| 1884 |
msgstr "B<chown_restricted>" |
| 1885 |
|
| 1886 |
#. type: Plain text |
| 1887 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1888 |
msgid "B<no_trunc>" |
| 1889 |
msgstr "B<no_trunc>" |
| 1890 |
|
| 1891 |
#. type: Plain text |
| 1892 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1893 |
msgid "B<vdisable>.\\&" |
| 1894 |
msgstr "B<vdisable>.\\&" |
| 1895 |
|
| 1896 |
#. type: Plain text |
| 1897 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1898 |
#, no-wrap |
| 1899 |
msgid "posix\\&.pathconf(\\&'/\\&', \\&'path_max\\&')\n" |
| 1900 |
msgstr "posix\\&.pathconf(\\&'/\\&', \\&'path_max\\&')\n" |
| 1901 |
|
| 1902 |
#. type: Plain text |
| 1903 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1904 |
msgid "B<putenv(>I<string>B<)>" |
| 1905 |
msgstr "B<putenv(>I<sträng>B<)>" |
| 1906 |
|
| 1907 |
#. type: Plain text |
| 1908 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1909 |
msgid "Change or add an environment variable.\\& See also B<putenv>(3).\\&" |
| 1910 |
msgstr "Ändra eller lägg till en miljövariabel.\\& Se även B<putenv>(3).\\&" |
| 1911 |
|
| 1912 |
#. type: Plain text |
| 1913 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1914 |
#, no-wrap |
| 1915 |
msgid "posix\\&.putenv(\\&'HOME=/me\\&')\n" |
| 1916 |
msgstr "posix\\&.putenv(\\&'HOME=/mig\\&')\n" |
| 1917 |
|
| 1918 |
#. type: Plain text |
| 1919 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1920 |
msgid "B<readlink(>I<path>B<)>" |
| 1921 |
msgstr "B<readlink(>I<sökväg>B<)>" |
| 1922 |
|
| 1923 |
#. type: Plain text |
| 1924 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1925 |
msgid "" |
| 1926 |
"Read value of the symbolic link at I<path>.\\& See also B<readlink>(2).\\&" |
| 1927 |
msgstr "" |
| 1928 |
"Läs värdet av den symboliska länken på I<sökväg>.\\& Se även B<readlink>(2)." |
| 1929 |
"\\&" |
| 1930 |
|
| 1931 |
#. type: Plain text |
| 1932 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1933 |
#, no-wrap |
| 1934 |
msgid "" |
| 1935 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 1936 |
"posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 1937 |
"print(posix\\&.readlink(\\&'bbb\\&'))\n" |
| 1938 |
msgstr "" |
| 1939 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 1940 |
"posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 1941 |
"print(posix\\&.readlink(\\&'bbb\\&'))\n" |
| 1942 |
|
| 1943 |
#. type: Plain text |
| 1944 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1945 |
msgid "B<rmdir(>I<path>B<)>" |
| 1946 |
msgstr "B<rmdir(>I<sökväg>B<)>" |
| 1947 |
|
| 1948 |
#. type: Plain text |
| 1949 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1950 |
msgid "Remove a directory I<path>.\\& See also B<rmdir>(2).\\&" |
| 1951 |
msgstr "Ta bort katalogen I<sökväg>.\\& Se även B<rmdir>(2).\\&" |
| 1952 |
|
| 1953 |
#. type: Plain text |
| 1954 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1955 |
#, no-wrap |
| 1956 |
msgid "posix\\&.rmdir(\\&'/tmp\\&')\n" |
| 1957 |
msgstr "posix\\&.rmdir(\\&'/tmp\\&')\n" |
| 1958 |
|
| 1959 |
#. type: Plain text |
| 1960 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1961 |
msgid "B<setgid(>I<group>B<)>" |
| 1962 |
msgstr "B<setgid(>I<grupp>B<)>" |
| 1963 |
|
| 1964 |
#. type: Plain text |
| 1965 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1966 |
msgid "" |
| 1967 |
"Set group identity.\\& I<group> may be specified either as a numeric id or " |
| 1968 |
"group name.\\& See also B<setgid>(2).\\&" |
| 1969 |
msgstr "" |
| 1970 |
"Sätt gruppidentitet.\\& I<grupp> kan anges antingen som ett numeriskt id " |
| 1971 |
"eller gruppnamn.\\& Se även B<setgid>(2).\\&" |
| 1972 |
|
| 1973 |
#. type: Plain text |
| 1974 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1975 |
msgid "B<setuid(>I<user>B<)>" |
| 1976 |
msgstr "B<setuid(>I<användare>B<)>" |
| 1977 |
|
| 1978 |
#. type: Plain text |
| 1979 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1980 |
msgid "" |
| 1981 |
"Set user identity.\\& I<user> may be specified either as a numeric id or " |
| 1982 |
"username.\\& See also B<setuid>(2).\\&" |
| 1983 |
msgstr "" |
| 1984 |
"Sätt användaridentitet.\\& I<användare> kan anges antingen som ett numeriskt " |
| 1985 |
"id eller användarnamn.\\& Se även B<setuid>(2).\\&" |
| 1986 |
|
| 1987 |
#. type: Plain text |
| 1988 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1989 |
#, no-wrap |
| 1990 |
msgid "posix\\&.setuid(\\&'nobody\\&')\n" |
| 1991 |
msgstr "posix\\&.setuid(\\&'nobody\\&')\n" |
| 1992 |
|
| 1993 |
#. type: Plain text |
| 1994 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 1995 |
msgid "B<sleep(>I<seconds>B<)>" |
| 1996 |
msgstr "B<sleep(>I<sekunder>B<)>" |
| 1997 |
|
| 1998 |
#. type: Plain text |
| 1999 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2000 |
msgid "Sleep for the duration of I<seconds>.\\& See also B<sleep>(3).\\&" |
| 2001 |
msgstr "Sov under I<sekunder>.\\& Se även B<sleep>(3).\\&" |
| 2002 |
|
| 2003 |
#. type: Plain text |
| 2004 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2005 |
#, no-wrap |
| 2006 |
msgid "posix\\&.sleep(5)\n" |
| 2007 |
msgstr "posix\\&.sleep(5)\n" |
| 2008 |
|
| 2009 |
#. type: Plain text |
| 2010 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2011 |
msgid "B<stat(>I<path> [, I<selector>]B<)>" |
| 2012 |
msgstr "B<stat(>I<sökväg> [, I<väljare>]B<)>" |
| 2013 |
|
| 2014 |
#. type: Plain text |
| 2015 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2016 |
msgid "" |
| 2017 |
"Get file B<stat>(3) information about a file at I<path>.\\& The optional " |
| 2018 |
"I<selector> may be one of" |
| 2019 |
msgstr "" |
| 2020 |
"Hämta fil-B<stat>(3)-information om en fil på I<sökväg>.\\& Den frivilliga " |
| 2021 |
"I<väljare> kan vara en av" |
| 2022 |
|
| 2023 |
#. type: Plain text |
| 2024 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2025 |
msgid "B<mode>" |
| 2026 |
msgstr "B<mode>" |
| 2027 |
|
| 2028 |
#. type: Plain text |
| 2029 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2030 |
msgid "B<ino>" |
| 2031 |
msgstr "B<ino>" |
| 2032 |
|
| 2033 |
#. type: Plain text |
| 2034 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2035 |
msgid "B<dev>" |
| 2036 |
msgstr "B<dev>" |
| 2037 |
|
| 2038 |
#. type: Plain text |
| 2039 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2040 |
msgid "B<nlink>" |
| 2041 |
msgstr "B<nlink>" |
| 2042 |
|
| 2043 |
#. type: Plain text |
| 2044 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2045 |
msgid "B<size>" |
| 2046 |
msgstr "B<size>" |
| 2047 |
|
| 2048 |
#. type: Plain text |
| 2049 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2050 |
msgid "B<atime>" |
| 2051 |
msgstr "B<atime>" |
| 2052 |
|
| 2053 |
#. type: Plain text |
| 2054 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2055 |
msgid "B<mtime>" |
| 2056 |
msgstr "B<mtime>" |
| 2057 |
|
| 2058 |
#. type: Plain text |
| 2059 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2060 |
msgid "B<ctime>" |
| 2061 |
msgstr "B<ctime>" |
| 2062 |
|
| 2063 |
#. type: Plain text |
| 2064 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2065 |
msgid "B<type>.\\&" |
| 2066 |
msgstr "B<type>.\\&" |
| 2067 |
|
| 2068 |
#. type: Plain text |
| 2069 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2070 |
#, no-wrap |
| 2071 |
msgid "print(posix\\&.stat(\\&'/tmp\\&', \\&'mode\\&'))|\n" |
| 2072 |
msgstr "print(posix\\&.stat(\\&'/tmp\\&', \\&'mode\\&'))|\n" |
| 2073 |
|
| 2074 |
#. type: Plain text |
| 2075 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2076 |
#, no-wrap |
| 2077 |
msgid "" |
| 2078 |
"s1 = posix\\&.stat(\\&'f1\\&')\n" |
| 2079 |
"s2 = posix\\&.stat(\\&'f2\\&')\n" |
| 2080 |
"if s1\\&.ino == s2\\&.ino and s1\\&.dev == s2\\&.dev then\n" |
| 2081 |
" \\&.\\&.\\&.\n" |
| 2082 |
"end\n" |
| 2083 |
msgstr "" |
| 2084 |
"s1 = posix\\&.stat(\\&'f1\\&')\n" |
| 2085 |
"s2 = posix\\&.stat(\\&'f2\\&')\n" |
| 2086 |
"if s1\\&.ino == s2\\&.ino and s1\\&.dev == s2\\&.dev then\n" |
| 2087 |
" …\\&\n" |
| 2088 |
"end\n" |
| 2089 |
|
| 2090 |
#. type: Plain text |
| 2091 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2092 |
msgid "B<symlink(>I<oldpath>, I<newpath>B<)>" |
| 2093 |
msgstr "B<symlink(>I<gammalsökväg>, I<nysökväg>B<)>" |
| 2094 |
|
| 2095 |
#. type: Plain text |
| 2096 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2097 |
msgid "" |
| 2098 |
"Create a symbolic link at I<newpath> to I<oldpath>.\\& See also " |
| 2099 |
"B<symlink>(2).\\&" |
| 2100 |
msgstr "" |
| 2101 |
"Skapa en symbolisk länk på I<nysökväg> till I<gammalsökväg>.\\& Se även " |
| 2102 |
"B<symlink>(2).\\&" |
| 2103 |
|
| 2104 |
#. type: Plain text |
| 2105 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2106 |
#, no-wrap |
| 2107 |
msgid "" |
| 2108 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 2109 |
"posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 2110 |
msgstr "" |
| 2111 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 2112 |
"posix\\&.symlink(\\&'aaa\\&', \\&'bbb\\&')\n" |
| 2113 |
|
| 2114 |
#. type: Plain text |
| 2115 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2116 |
msgid "B<sysconf(>[I<selector>]B<)>" |
| 2117 |
msgstr "B<sysconf(>[I<väljare>]B<)>" |
| 2118 |
|
| 2119 |
#. type: Plain text |
| 2120 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2121 |
msgid "" |
| 2122 |
"Get B<sysconf>(3) information.\\& The optional I<selector> argument may be " |
| 2123 |
"one of:" |
| 2124 |
msgstr "" |
| 2125 |
"Hämta B<sysconf>(3)-information.\\& Det frivilliga argumentet I<väljare> kan " |
| 2126 |
"vara en av:" |
| 2127 |
|
| 2128 |
#. type: Plain text |
| 2129 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2130 |
msgid "B<arg_max>" |
| 2131 |
msgstr "B<arg_max>" |
| 2132 |
|
| 2133 |
#. type: Plain text |
| 2134 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2135 |
msgid "B<child_max>" |
| 2136 |
msgstr "B<child_max>" |
| 2137 |
|
| 2138 |
#. type: Plain text |
| 2139 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2140 |
msgid "B<clk_tck>" |
| 2141 |
msgstr "B<clk_tck>" |
| 2142 |
|
| 2143 |
#. type: Plain text |
| 2144 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2145 |
msgid "B<ngroups_max>" |
| 2146 |
msgstr "B<ngroups_max>" |
| 2147 |
|
| 2148 |
#. type: Plain text |
| 2149 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2150 |
msgid "B<stream_max>" |
| 2151 |
msgstr "B<stream_max>" |
| 2152 |
|
| 2153 |
#. type: Plain text |
| 2154 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2155 |
msgid "B<tzname_max>" |
| 2156 |
msgstr "B<tzname_max>" |
| 2157 |
|
| 2158 |
#. type: Plain text |
| 2159 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2160 |
msgid "B<open_max>" |
| 2161 |
msgstr "B<open_max>" |
| 2162 |
|
| 2163 |
#. type: Plain text |
| 2164 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2165 |
msgid "B<job_control>" |
| 2166 |
msgstr "B<job_control>" |
| 2167 |
|
| 2168 |
#. type: Plain text |
| 2169 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2170 |
msgid "B<saved_ids>" |
| 2171 |
msgstr "B<saved_ids>" |
| 2172 |
|
| 2173 |
#. type: Plain text |
| 2174 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2175 |
msgid "B<version>.\\&" |
| 2176 |
msgstr "B<version>.\\&" |
| 2177 |
|
| 2178 |
#. type: Plain text |
| 2179 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2180 |
#, no-wrap |
| 2181 |
msgid "posix\\&.sysconf(\\&'open_max\\&')|\n" |
| 2182 |
msgstr "posix\\&.sysconf(\\&'open_max\\&')|\n" |
| 2183 |
|
| 2184 |
#. type: Plain text |
| 2185 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2186 |
msgid "B<times(>[I<selector>]B<)>" |
| 2187 |
msgstr "B<times(>[I<väljare>]B<)>" |
| 2188 |
|
| 2189 |
#. type: Plain text |
| 2190 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2191 |
msgid "" |
| 2192 |
"Get process and waited-for child process B<times>(2).\\& The optional " |
| 2193 |
"I<selector> argument may be one of" |
| 2194 |
msgstr "" |
| 2195 |
"Hämta processens och inväntade barnprocessers B<times>(2).\\& Det frivilliga " |
| 2196 |
"argumentet I<väljare> kan vara ett av" |
| 2197 |
|
| 2198 |
#. type: Plain text |
| 2199 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2200 |
msgid "B<utime>" |
| 2201 |
msgstr "B<utime>" |
| 2202 |
|
| 2203 |
#. type: Plain text |
| 2204 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2205 |
msgid "B<stime>" |
| 2206 |
msgstr "B<stime>" |
| 2207 |
|
| 2208 |
#. type: Plain text |
| 2209 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2210 |
msgid "B<cutime>" |
| 2211 |
msgstr "B<cutime>" |
| 2212 |
|
| 2213 |
#. type: Plain text |
| 2214 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2215 |
msgid "B<cstime>" |
| 2216 |
msgstr "B<cstime>" |
| 2217 |
|
| 2218 |
#. type: Plain text |
| 2219 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2220 |
msgid "B<elapsed>" |
| 2221 |
msgstr "B<elapsed>" |
| 2222 |
|
| 2223 |
#. type: Plain text |
| 2224 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2225 |
#, no-wrap |
| 2226 |
msgid "" |
| 2227 |
"t = posix\\&.times()\n" |
| 2228 |
"print(t\\&.utime, t\\&.stime)\n" |
| 2229 |
msgstr "" |
| 2230 |
"t = posix\\&.times()\n" |
| 2231 |
"print(t\\&.utime, t\\&.stime)\n" |
| 2232 |
|
| 2233 |
#. type: Plain text |
| 2234 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2235 |
msgid "B<ttyname(>[I<fd>]B<)>" |
| 2236 |
msgstr "B<ttyname(>[I<fb>]B<)>" |
| 2237 |
|
| 2238 |
#. type: Plain text |
| 2239 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2240 |
msgid "" |
| 2241 |
"Get name of a terminal associated with file descriptor I<fd>.\\& If I<fd> is " |
| 2242 |
"omitted, B<0> (aka standard input) is used.\\& See B<ttyname>(3).\\&" |
| 2243 |
msgstr "" |
| 2244 |
"Hämta namnet på en terminal som är associerad med filbeskrivaren I<fb>.\\& " |
| 2245 |
"Om I<fb> utelämnas används B<0> (även känt som standard in).\\& Se " |
| 2246 |
"B<ttyname>(3).\\&" |
| 2247 |
|
| 2248 |
#. type: Plain text |
| 2249 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2250 |
#, no-wrap |
| 2251 |
msgid "" |
| 2252 |
"if not posix\\&.ttyname() then\n" |
| 2253 |
" \\&.\\&.\\&.\n" |
| 2254 |
"endif\n" |
| 2255 |
msgstr "" |
| 2256 |
"if not posix\\&.ttyname() then\n" |
| 2257 |
" …\\&\n" |
| 2258 |
"endif\n" |
| 2259 |
|
| 2260 |
#. type: Plain text |
| 2261 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2262 |
msgid "B<umask(>[I<mode>]B<)>" |
| 2263 |
msgstr "B<umask(>[I<läge>]B<)>" |
| 2264 |
|
| 2265 |
#. type: Plain text |
| 2266 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2267 |
msgid "" |
| 2268 |
"Get or set process B<umask>(2).\\& I<mode> may be specified as an octal " |
| 2269 |
"number or mode string similarly to B<posix.\\&chmod()>.\\&" |
| 2270 |
msgstr "" |
| 2271 |
"Hämta eller sätt processens B<umask>(2).\\& I<läge> kan anges som ett oktalt " |
| 2272 |
"tal eller en rättighetssträng liknande B<posix.\\&chmod()>.\\&" |
| 2273 |
|
| 2274 |
#. type: Plain text |
| 2275 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2276 |
#, no-wrap |
| 2277 |
msgid "" |
| 2278 |
"print(posix\\&.umask())\n" |
| 2279 |
"posix\\&.umask(222)\n" |
| 2280 |
"posix\\&.umask(\\&'ug-w\\&')\n" |
| 2281 |
"posix\\&.umask(\\&'rw-rw-r--\\&')\n" |
| 2282 |
msgstr "" |
| 2283 |
"print(posix\\&.umask())\n" |
| 2284 |
"posix\\&.umask(222)\n" |
| 2285 |
"posix\\&.umask(\\&'ug-w\\&')\n" |
| 2286 |
"posix\\&.umask(\\&'rw-rw-r--\\&')\n" |
| 2287 |
|
| 2288 |
#. type: Plain text |
| 2289 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2290 |
msgid "B<uname(>I<format>B<)>" |
| 2291 |
msgstr "B<uname(>I<format>B<)>" |
| 2292 |
|
| 2293 |
#. type: Plain text |
| 2294 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2295 |
msgid "" |
| 2296 |
"Get B<uname>(2) information about the current system.\\& The following " |
| 2297 |
"format directives are supported:" |
| 2298 |
msgstr "" |
| 2299 |
"Hämta B<uname>(2)-information om det aktuella systemet.\\& Följande " |
| 2300 |
"formatdirektiv stödjs:" |
| 2301 |
|
| 2302 |
#. type: Plain text |
| 2303 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2304 |
msgid "B<%m>: Name of the hardware type" |
| 2305 |
msgstr "B<%m>: Namnet på hårdvarutypen" |
| 2306 |
|
| 2307 |
#. type: Plain text |
| 2308 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2309 |
msgid "B<%n>: Name of this node" |
| 2310 |
msgstr "B<%n>: Namnet på denna nod" |
| 2311 |
|
| 2312 |
#. type: Plain text |
| 2313 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2314 |
msgid "B<%r>: Current release level of this implementation" |
| 2315 |
msgstr "B<%r>: Aktuell utgåvenivå för denna implementation" |
| 2316 |
|
| 2317 |
#. type: Plain text |
| 2318 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2319 |
msgid "B<%s>: Name of this operation system" |
| 2320 |
msgstr "B<%s>: Namnet på detta operativsystem" |
| 2321 |
|
| 2322 |
#. type: Plain text |
| 2323 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2324 |
msgid "B<%v>: Current version level of this implementation" |
| 2325 |
msgstr "B<%v>: Aktuell versionsnivå på denna implementation" |
| 2326 |
|
| 2327 |
#. type: Plain text |
| 2328 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2329 |
#, no-wrap |
| 2330 |
msgid "print(posix\\&.uname(\\&'%s %r\\&'))\n" |
| 2331 |
msgstr "print(posix\\&.uname(\\&'%s %r\\&'))\n" |
| 2332 |
|
| 2333 |
#. type: Plain text |
| 2334 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2335 |
msgid "B<utime(>I<path> [, I<mtime> [, I<ctime>]]B<)>" |
| 2336 |
msgstr "B<utime(>I<sökväg> [, I<mtid> [, I<ctid>]]B<)>" |
| 2337 |
|
| 2338 |
#. type: Plain text |
| 2339 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2340 |
msgid "" |
| 2341 |
"Change last access and modification times.\\& mtime and ctime are expressed " |
| 2342 |
"seconds since epoch.\\& See B<utime>(2).\\&" |
| 2343 |
msgstr "" |
| 2344 |
"Ändra senaste åtkomst- och ändringstider.\\& mtid och ctid uttrycks i " |
| 2345 |
"sekunder sedan epoken.\\& Se B<utime>(2).\\&" |
| 2346 |
|
| 2347 |
#. type: Plain text |
| 2348 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2349 |
msgid "" |
| 2350 |
"If I<mtime> or I<ctime> are omitted, current time is used, similar to " |
| 2351 |
"B<touch>(1).\\&" |
| 2352 |
msgstr "" |
| 2353 |
"Om I<mtid> eller I<ctid> utelämnas används aktuell tid, i likhet med " |
| 2354 |
"B<touch>(1).\\&" |
| 2355 |
|
| 2356 |
#. type: Plain text |
| 2357 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2358 |
#, no-wrap |
| 2359 |
msgid "" |
| 2360 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 2361 |
"posix\\&.utime(\\&'aaa\\&', 0, 0)\n" |
| 2362 |
msgstr "" |
| 2363 |
"posix\\&.mkdir(\\&'aaa\\&')\n" |
| 2364 |
"posix\\&.utime(\\&'aaa\\&', 0, 0)\n" |
| 2365 |
|
| 2366 |
#. type: Plain text |
| 2367 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2368 |
msgid "B<wait(>[I<pid>]B<)> (DEPRECATED)" |
| 2369 |
msgstr "B<wait(>[I<pid>]B<)> (FÖRÅLDRAT)" |
| 2370 |
|
| 2371 |
#. type: Plain text |
| 2372 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2373 |
msgid "" |
| 2374 |
"Wait for a child process.\\& If I<pid> is specified wait for that particular " |
| 2375 |
"child.\\& See also B<wait>(2).\\&" |
| 2376 |
msgstr "" |
| 2377 |
"Vänta på en barnprocess.\\& Om I<pid> anges, vänta på just det barnet.\\& Se " |
| 2378 |
"även B<wait>(2).\\&" |
| 2379 |
|
| 2380 |
#. type: Plain text |
| 2381 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2382 |
#, no-wrap |
| 2383 |
msgid "" |
| 2384 |
"pid = posix\\&.fork()\n" |
| 2385 |
"if pid == 0 then\n" |
| 2386 |
" posix\\&.exec(\\&'/bin/ls\\&'))\n" |
| 2387 |
"elseif pid E<gt> 0 then\n" |
| 2388 |
" posix\\&.wait(pid)\n" |
| 2389 |
"end\n" |
| 2390 |
msgstr "" |
| 2391 |
"pid = posix\\&.fork()\n" |
| 2392 |
"if pid == 0 then\n" |
| 2393 |
" posix\\&.exec(\\&'/bin/ls\\&'))\n" |
| 2394 |
"elseif pid E<gt> 0 then\n" |
| 2395 |
" posix\\&.wait(pid)\n" |
| 2396 |
"end\n" |
| 2397 |
|
| 2398 |
#. type: Plain text |
| 2399 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2400 |
msgid "B<setenv(>I<name>, I<value> [, I<overwrite>]B<)>" |
| 2401 |
msgstr "B<setenv(>I<namn>, I<värde> [, I<ersätt>]B<)>" |
| 2402 |
|
| 2403 |
#. type: Plain text |
| 2404 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2405 |
msgid "" |
| 2406 |
"Change or add environment variable I<name>.\\& The optional I<overwrite> is " |
| 2407 |
"a boolean which defines behavior when a variable by the same name already " |
| 2408 |
"exists.\\& See also B<setenv>(3).\\&" |
| 2409 |
msgstr "" |
| 2410 |
"Ändra eller lägg till miljövariabeln I<namn>.\\& Det frivilliga I<ersätt> är " |
| 2411 |
"en boolean vilken avgör beteendet när en variabel med samma namn redan finns." |
| 2412 |
"\\& Se även B<setenv>(3).\\&" |
| 2413 |
|
| 2414 |
#. type: Plain text |
| 2415 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2416 |
#, no-wrap |
| 2417 |
msgid "posix\\&.setenv(\\&'HOME\\&', \\&'/me\\&', true)\n" |
| 2418 |
msgstr "posix\\&.setenv(\\&'HOME\\&', \\&'/mig\\&', true)\n" |
| 2419 |
|
| 2420 |
#. type: Plain text |
| 2421 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2422 |
msgid "B<unsetenv(>I<name>B<)>" |
| 2423 |
msgstr "B<unsetenv(>I<namn>B<)>" |
| 2424 |
|
| 2425 |
#. type: Plain text |
| 2426 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2427 |
msgid "" |
| 2428 |
"Remove a variable I<name> from environment.\\& See also B<unsetenv>(3).\\&" |
| 2429 |
msgstr "Ta bort variabeln I<namn> från miljön.\\& Se även B<unsetenv>(3).\\&" |
| 2430 |
|
| 2431 |
#. type: Plain text |
| 2432 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2433 |
#, no-wrap |
| 2434 |
msgid "posix\\&.unsetenv(\\&'HOME\\&')\n" |
| 2435 |
msgstr "posix\\&.unsetenv(\\&'HOME\\&')\n" |
| 2436 |
|
| 2437 |
#. type: SH |
| 2438 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2439 |
#, no-wrap |
| 2440 |
msgid "EXTENDING AND CUSTOMIZING" |
| 2441 |
msgstr "UTVIDGNING OCH ANPASSNING" |
| 2442 |
|
| 2443 |
#. type: Plain text |
| 2444 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2445 |
msgid "" |
| 2446 |
"On initialization, RPM executes a global I<init.\\&lua> Lua initialization " |
| 2447 |
"script from the directory B<%getconfdir> expands to, typically I</usr/lib/" |
| 2448 |
"rpm/init.\\&lua>.\\& This can be used to customize the rpm Lua environment " |
| 2449 |
"without recompiling RPM.\\&" |
| 2450 |
msgstr "" |
| 2451 |
"Vid initieringen kör RPM ett global Lua-initiieringsskript I<init.\\&lua> " |
| 2452 |
"från katalogen som B<%getconfdir> expanderar till, normalt I</usr/lib/rpm/" |
| 2453 |
"init.\\&lua>.\\& Detta kan användas för att anpassa rpm-Lua-miljön utan att " |
| 2454 |
"kompilera om RPM.\\&" |
| 2455 |
|
| 2456 |
#. type: Plain text |
| 2457 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2458 |
msgid "" |
| 2459 |
"For the embedded Lua interpreter, module'\\&s loaded with B<require> are " |
| 2460 |
"primarily searched from B<%{getconfdir}/lua/>.\\& B<%_rpmluadir> is a " |
| 2461 |
"shorthand for this path.\\&" |
| 2462 |
msgstr "" |
| 2463 |
"För den inbäddade Lua-tolken söks moduler laddade med B<require> primärt " |
| 2464 |
"från B<%{getconfdir}/lua/>.\\& B<%_rpmluadir> är en kortform för denna " |
| 2465 |
"sökväg.\\&" |
| 2466 |
|
| 2467 |
#. type: SH |
| 2468 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2469 |
#, no-wrap |
| 2470 |
msgid "SEE ALSO" |
| 2471 |
msgstr "SE ÄVEN" |
| 2472 |
|
| 2473 |
#. type: Plain text |
| 2474 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2475 |
msgid "B<rpm-macros>(7) B<rpm-payloadflags>(7) B<rpmlua>(1) B<rpm-version>(7)" |
| 2476 |
msgstr "B<rpm-macros>(7) B<rpm-payloadflags>(7) B<rpmlua>(1) B<rpm-version>(7)" |
| 2477 |
|
| 2478 |
#. type: Plain text |
| 2479 |
#: archlinux debian-unstable fedora-44 fedora-rawhide |
| 2480 |
msgid "B<https://www.\\&lua.\\&org/>" |
| 2481 |
msgstr "B<https://www.\\&lua.\\&org/>" |
| 2482 |
|
| 2483 |
#. type: TH |
| 2484 |
#: debian-unstable |
| 2485 |
#, no-wrap |
| 2486 |
msgid "2026-04-10" |
| 2487 |
msgstr "10 april 2026" |
| 2488 |
|
| 2489 |
#. type: TH |
| 2490 |
#: fedora-44 |
| 2491 |
#, no-wrap |
| 2492 |
msgid "2026-01-17" |
| 2493 |
msgstr "17 januari 2026" |
| 2494 |
|
| 2495 |
#. type: TH |
| 2496 |
#: fedora-rawhide |
| 2497 |
#, no-wrap |
| 2498 |
msgid "2026-02-16" |
| 2499 |
msgstr "16 februari 2026" |