New answers tagged

3

You missed a paragraph further up in the POSIX document: The third synopsis form (cp -R [-H|-L|-P] [-fip] source_file... target) is denoted by two or more operands where the -R option is specified. The cp utility shall copy each file in the file hierarchy rooted in each source_file to a destination path named as follows: If target exists and ...


2

There are several points to clear up: cp is a separate utility from bash. Some people may be confused by built-in commands such as cd and pwd which either are or may be part of a POSIX shell. POSIX refers to the series of documents jointly maintained by The Open Group and the IEEE, referred to as IEEE Std 1003.1™. bash is one of several shells which ...


1

Those files and directories do not belong to you, they belong to the root user, and have too restrictive access permissions for find and grep to work. Therefore, find complains about not being able to enter the directory /home/masi/.dbus (to do its job), and grep complains about not being able to read the files (to do its job). The files and directories do ...


0

tput is left vague and minimal in POSIX because there is a more detailed specification in X/Open Curses: tput - change terminal characteristics (POSIX) X/Open Curses, Issue 7 There appears to be no direct link to an HTML version of the latter (in particular the command-line tput), but it is more detailed (about twice as long). Quoting from the ...


4

The POSIX standard introduces a POSIX locale, which has the same order as the ASCII character set for characters in ASCII (POSIX Base Definitions §7.3.2). Besides that, on systems where the symbolic constant POSIX2_LOCALEDEF is defined (which shall be defined for XSI-conformant systems, and can be tested via getconf POSIX2_LOCALEDEF), the system supports ...


17

There is no specific character encoding mandated by POSIX. The only character in a fixed position is null, which must be 00. What POSIX does require is that all characters from its Portable Character Set exist. The Portable Character Set contains the printable ASCII characters, space, BEL, backspace, tab, carriage return, newline, vertical tab, form feed, ...



Top 50 recent answers are included