NAME
urpm::util - Misc. utilities subs for urpmi
Mostly a subset of MDK::Common
See perldoc MDK::Common
for more documentation
SYNOPSIS
DESCRIPTION
FUNCTIONS
- quotespace($str)
- unquotespace($str)
-
Quoting/unquoting a string that may be containing space chars.
- reduce_pathname($url)
-
Reduce pathname by removing <something>/.. each time it appears (or . too).
- offset_pathname($url, $offset)
-
Offset pathname by returning the right things to add to a relative directory to make no change. url is needed to resolve going before to top base.
- file_size($file)
-
It is useful to write file_size(...) > 32 without having warnings if file doesn't exist
- uefi_type()
-
Return the UEFI machine type short name
COPYRIGHT
Copyright (C) 2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA
Copyright (C) 2011-2020 Mageia