Lines Matching refs:code
163 @title GNU @code{Coreutils}
382 * String expressions:: @code{+ : match substr index length}
383 * Numeric expressions:: @code{+ - * / %}
384 * Relations for expr:: @code{| & < <= = == != >= >}
693 @command{env} (i.e., @code{env \cmd\ @dots{}}) to avoid interference
915 @table @code
932 @code{ls -l} output.
950 of bytes per block, or it can be @code{human-readable} or @code{si} to
960 such as @samp{M} for megabytes. @code{BLOCK_SIZE=human-readable} uses
962 @code{BLOCK_SIZE=si} is similar, but uses powers of 1000 and appends
987 The following suffixes are defined. Large sizes like @code{1Q}
1187 Simply invoking @code{chown 42 F}, will set @file{F}s owner ID to
1307 @code{mv * ../d/} might exhaust the argument space, and @code{ls | xargs ...}
1316 from the current directory to a sibling directory, @code{d} like this:
1542 input use the standard C functions @code{strtod} and @code{strtold} to
1544 numbers therefore can use scientific notation like @code{1.0e-34} and
1545 @code{-10e100}. Commands that parse floating point also understand
1546 case-insensitive @code{inf}, @code{infinity}, and @code{NaN}, although
1549 numbers such as @code{-0x.ep-3}, which stands for @minus{}14/16 times
1674 The @code{\r\n} combination is shown as @samp{^M$}.
1918 Select the line numbering format (default is @code{rn}):
1985 octal, and each group of file data is a C @code{short int}'s worth of input
2053 @code{bytes} are interpreted as for the @option{-j} option.
2101 The type @code{a} outputs things like @samp{sp} for space, @samp{nl} for
2104 Type @code{c} outputs
2105 @samp{ }, @samp{\n}, and @code{\0}, respectively.
2127 For floating point (@code{f}):
2151 Dump @code{n} input bytes per output line. This must be a multiple of
2513 prevents sample lines of code, and other such ``formatted'' text from
2545 leaving the code unchanged.
3095 use @code{tail -c +2}, while to skip all but the last byte use @code{tail -c 1}.
3169 @code{open}/@code{fstat} the file to determine if that file name is
3184 use @code{tail -n +2}, while to skip all but the last line use @code{tail -n 1}.
3197 Without this option, you would have had to kill the @code{tail -f}
3640 @code{printf(3)}-style conversion specification, possibly including
3647 @code{sprintf(3)} to form the file name suffixes for each of the
4011 which can be emulated using @code{cksum -a md5 --untagged "$@@"} etc.
4243 checksums, exit successfully. Otherwise exit with a status code
4471 you get undefined behavior if @env{LC_CTYPE} is @code{ja_JP.PCK} but
4472 @env{LC_COLLATE} is @code{en_US.UTF-8}.}
4830 commands like @code{sort -o F F} and @code{cat F | sort -o F}@.
4835 the output file before reading all input, so a command like @code{cat
4941 The commands @code{sort -u} and @code{sort | uniq} are equivalent, but
4943 For example, @code{sort -n -u} inspects only the value of the initial
4944 numeric string when checking for uniqueness, whereas @code{sort -n |
5221 commands like @code{shuf -o F <F} and @code{cat F | shuf -o F}.
5338 duplicate lines, perhaps you want to use @code{sort -u}.
5544 Upon normal completion @command{comm} produces an exit code of zero.
5879 Emacs @code{next-error} processing. In this default output format, each
6011 so it will be possible to write a @code{\xx} definition to take care of
6014 selected, the last parameter of each @code{\xx} call is inhibited.
6022 backslash itself produces the sequence @code{\backslash@{@}}.
6023 Circumflex and tilde diacritical marks produce the sequence @code{^\@{ @}} and
6024 @code{~\@{ @}} respectively. Other diacriticized characters of the
6155 declared static except one. Currently that one (say @code{main}) is the
6221 @code{parse_options} may be placed anywhere in the list as long as it
6222 precedes @code{main}.
6243 specially. For example, @code{scanf} probably calls @code{read}. That means
6244 that in a single pass through an archive, it was important for @code{scanf.o}
6246 @code{scanf} but not @code{read} might end up with an unexpected unresolved
6247 reference to @code{read}.
6688 the start of the join field, as in @code{sort -b}. If the
6690 the case of characters in the join field, as in @code{sort -f}:
6762 use:@footnote{the @code{$'\t'} is supported in most modern shells.
6867 see note below regarding @code{-o auto}.
6995 @item @code{sort -u file1 file2}
6998 @item @code{sort file1 file2 | uniq -d}
7001 @item @code{sort file1 file1 file2 | uniq -u}
7004 @item @code{sort file1 file2 | uniq -u}
7007 @item @code{join -t '' -a1 -a2 file1 file2}
7010 @item @code{join -t '' file1 file2}
7013 @item @code{join -t '' -v2 file1 file2}
7016 @item @code{join -t '' -v1 -v2 file1 file2}
7228 character classes @code{lower} and @code{upper} are accepted in
7230 (@code{upper} and @code{lower}, respectively) is specified in the same
7236 @table @code
7322 However, ranges like @code{a-z} are not portable outside the C locale.
7353 it assumes that the octal code for newline is 012. Here is a better
7441 removing all @samp{-} characters, we might try @code{tr -d -axM}, but
7444 inside the string, @code{tr -d a-xM}, but that wouldn't work either because
7445 it would make @command{tr} interpret @code{a-x} as the range of characters
8115 it outputs. By default, sorting is done by character code
8300 because the default settings require that @command{ls} @code{stat} every
8310 and on a @code{dirent.d_type}-capable file system, @command{ls}
8311 will perform only one @code{stat} call per command line argument.
8448 @option{-T0} option or put @code{TABSIZE=0} in your environment, to tell
8725 @command{dir} is equivalent to @code{ls -C
8738 @command{vdir} is equivalent to @code{ls -l
8803 Output C shell commands. This is the default if @code{SHELL} ends with
8976 @code{cp -R --copy-contents} will hang indefinitely trying to read
9098 However, many systems now provide the @code{utimensat} function,
9743 using @samp{oflag=direct} will cause writes to fail with @code{EINVAL} if the
9846 Accumulate full blocks from input. The @code{read} system call
9848 When that happens, continue calling @code{read} to fill the remainder
9850 This flag can be used only with @code{iflag}.
9931 @code{SIGINT} signal, it outputs the final statistics.
10092 is @code{root}. @var{owner} may be either a user name or a numeric user
10180 system differs, @command{mv} falls back on copying as if by @code{cp -a},
10206 @code{errno=ENOTDIR}@.
10450 @samp{-}. GNU @command{rm}, like every program that uses the @code{getopt}
10468 predates the development of the @code{getopt} standard syntax.
10518 @code{data=journal} mode), Btrfs, NTFS, ReiserFS, XFS, ZFS, file
10538 when the file system is in @code{data=journal}
10540 the @code{data=ordered} (default) and @code{data=writeback} modes,
10542 by adding the @code{data=something} option to the mount options for a
10587 For more details, see the source code and Peter Gutmann's paper
10791 @code{link} function. @xref{Hard Links, , , libc,
10803 @command{link} simply calls @code{link (@var{filename}, @var{linkname})}
11050 implementation defaults to @option{-P} if the system @code{link} supports
11052 if @code{link} follows symbolic links (such as on BSD).
11298 of a symbolic link, it produces no output and exits with a nonzero exit code.
11326 code. A trailing slash is ignored.
11334 no output and exits with a nonzero exit code. A trailing slash
11452 @code{unlink} function. @xref{Deleting Files, , , libc,
11461 On some systems @code{unlink} can be used to delete the name of a
11463 In the GNU system @code{unlink} can never delete the name of a directory.
11573 functionality of the underlying @code{chown} system call, which may
11613 without an option like this, @code{root} might run
11652 This mode relies on the @code{lchown} system call.
11653 On systems that do not provide the @code{lchown} system call,
11685 on a system without the @code{lchown} system call, and @option{--no-dereference}
11784 This mode relies on the @code{lchown} system call.
11785 On systems that do not provide the @code{lchown} system call,
11816 on a system without the @code{lchown} system call, and @option{--no-dereference}
11886 functionality of the underlying @code{chmod} system call. When in
12257 Do not invoke the @code{sync} system call before getting any usage data.
12359 Invoke the @code{sync} system call before getting any usage data. On
12505 file is the number of bytes reported by @code{wc -c} on regular files,
12506 or more generally, @code{ls -l --block-size=1} or @code{stat --format=%s}.
12536 Equivalent to @code{--apparent-size --block-size=1}.
12563 is at level 0, so @code{du --max-depth=0} is equivalent to @code{du -s}.
12769 For example, @code{du --exclude='*.o'} excludes files whose names
13082 The @command{sync} program does nothing but exercise the @code{sync},
13083 @code{syncfs}, @code{fsync}, and @code{fdatasync} system calls.
13293 example, @code{echo -ne hello} outputs @samp{-ne hello} instead of
13297 For example, @code{echo -e '\x2dn'}.
13422 @code{iconv} facility. It is activated on systems with glibc 2.2 (or newer),
13423 or when @code{libiconv} is installed prior to this package. Otherwise
13448 For larger strings, you don't need to look up the hexadecimal code
13497 condition of shell @code{if} statements, or as the last command in a
13550 command @code{:} (colon) may do the same thing faster.
13629 * File type tests:: @code{-[bcdfhLpSt]}
13630 * Access permission tests:: @code{-[gkruwxOG]}
13631 * File characteristic tests:: @code{-e -s -nt -ot -ef}
13632 * String tests:: @code{-z -n = == !=}
13633 * Numeric tests:: @code{-eq -ne -lt -le -gt -ge}
13634 * Connectives for test:: @code{! -a -o}
13851 (possibly negative), or the special expression @w{@code{-l @var{string}}},
13965 operators like @code{+}, so you cannot safely pass an arbitrary string
13966 @code{$str} to expr merely by quoting it to the shell. One way to
13967 work around this is to use the GNU extension @code{+},
13968 (e.g., @code{+ "$str" = foo}); a more portable way is to use
13969 @code{@w{" $str"}} and to adjust the rest of the expression to take
13970 the leading space into account (e.g., @code{@w{" $str" = " foo"}}).
14002 * String expressions:: @code{+ : match substr index length}
14003 * Numeric expressions:: @code{+ - * / %}
14004 * Relations for expr:: @code{| & < <= = == != >= >}
14026 second is considered to be a (basic, a la GNU @code{grep}) regular
14027 expression, with a @code{^} implicitly prepended. The first argument is
14030 If @var{regex} does not use @samp{\(} and @samp{\)}, the @code{:}
14034 If @var{regex} uses @samp{\(} and @samp{\)}, the @code{:} expression
14047 In the regular expression, @code{\+}, @code{\?}, and @code{\|} are
14077 or an operator like @code{/}.
14078 This makes it possible to test @code{expr length + "$x"} or
14079 @code{expr + "$x" : '.*/\(.\)'} and have it do the right thing even if
14080 the value of @var{$x} happens to be (for example) @code{/} or @code{index}.
14082 @code{@w{" $token"} : @w{' \(.*\)'}} instead of @code{+ "$token"}.
14087 @code{quote} operator.
14164 @code{==} is a synonym for @code{=}. @command{expr} first tries to convert
14178 To add 1 to the shell variable @code{foo}, in Bourne-compatible shells:
14185 @code{$fname}, which need not contain a @code{/}:
14191 An example showing that @code{\+} is an operator:
14341 but not with @command{/bin/sh}. So if you write code like this
14393 compressed tarball at once, for example when @code{make dist} creates
14871 nonzero exit code. A trailing slash requires that the name resolve to a
15125 @code{O_NONDELAY} flag to prevent a POSIX tty from blocking
15127 the @code{clocal} flag is not set. Hence, it is not always possible
15314 Enable sending of @code{stop} character when the system input buffer
15315 is almost full, and @code{start} character when it becomes almost
15433 Enable @code{interrupt}, @code{quit}, and @code{suspend} special
15438 Enable @code{erase}, @code{kill}, @code{werase}, and @code{rprnt}
15453 Echo @code{erase} characters as backspace-space-backspace. May be
15458 @cindex newline echoing after @code{kill}
15459 Echo a newline after a @code{kill} character. May be negated.
15469 Disable flushing after @code{interrupt} and @code{quit} special
15476 lowercase equivalents with @samp{\}, when @code{icanon} is set.
15505 Echo the @code{kill} special character by erasing each character on
15506 the line as indicated by the @code{echoprt} and @code{echoe} settings,
15507 instead of by the @code{echoctl} and @code{echok} settings.
15539 Same as @code{parenb -parodd cs7}. May be negated. If negated, same
15540 as @code{-parenb cs8}.
15544 Same as @code{parenb parodd cs7}. May be negated. If negated, same
15545 as @code{-parenb cs8}.
15549 Same as @code{-icrnl -onlcr}. May be negated. If negated, same as
15550 @code{icrnl -inlcr -igncr onlcr -ocrnl -onlret}.
15554 Reset the @code{erase} and @code{kill} special characters to their default
15575 Same as @code{brkint ignpar istrip icrnl ixon opost isig icanon}, plus
15576 sets the @code{eof} and @code{eol} characters to their default values
15577 if they are the same as the @code{min} and @code{time} characters.
15578 May be negated. If negated, same as @code{raw}.
15591 May be negated. If negated, same as @code{cooked}.
15596 @code{icanon}.
15601 Same as @code{-parenb -istrip cs8}. May be negated. If negated,
15602 same as @code{parenb istrip cs7}.
15607 If negated, same as @code{parenb istrip opost cs7}.
15615 Same as @code{tab0}. Non-POSIX@. May be negated. If negated, same
15616 as @code{tab3}.
15622 Same as @code{xcase iuclc olcuc}. Non-POSIX@. May be negated.
15627 Same as @code{echoe echoctl echoke}.
15631 Same as @code{echoe echoctl echoke -ixany intr ^C erase ^? kill C-u}.
15650 For GNU stty, giving a value of @code{^-} or @code{undef} disables that
15776 with @code{ixon} (software flow control) enabled, then @command{stty} would
15777 block without @code{-drain} being specified.
15802 38400 @code{exta} @code{extb}. @code{exta} is the same as 19200;
15803 @code{extb} is the same as 38400. Many systems, including GNU/Linux,
16120 POSIX @code{<utmpx.h>} include file or equivalent, so portable scripts
16264 @samp{+} allowing @code{write} messages
16265 @samp{-} disallowing @code{write} messages
16272 POSIX @code{<utmpx.h>} include file or equivalent, so portable scripts
16351 which is similar to that of the @code{strftime} function. Except for
16594 for dates far in the future; for example, the command @code{date
16761 This is like the format @code{%Y-%m-%d}.
16765 This is like the format @code{%Y-%m-%dT%H%:z}.
16769 This is like the format @code{%Y-%m-%dT%H:%M%:z}.
16773 This is like the format @code{%Y-%m-%dT%H:%M:%S%:z}.
16777 This is like the format @code{%Y-%m-%dT%H:%M:%S,%N%:z}.
17315 @code{gethostid} function, so portable scripts should not rely on its
17588 users to use the @code{chroot} system call, and hence to run this program.
17591 Furthermore, the @command{chroot} command avoids the @code{chroot} system call
17680 @code{chroot} function, so portable scripts should not rely on its
18130 @samp{OFS} will be @code{<space>xyz<space>} as these spaces are inside
18159 @item @code{\c}
18163 @item @code{\f}
18166 @item @code{\n}
18169 @item @code{\r}
18172 @item @code{\t}
18175 @item @code{\v}
18178 @item @code{\#}
18183 @item @code{\$}
18187 @item @code{\_}
18192 @item @code{\"}
18195 @item @code{\'}
18199 @item @code{\\}
18384 @code{setpriority} function, so portable scripts should not rely on
18538 uses the ISO C @code{FILE} streams for input/output (note the
18590 For example @code{fread} will still block until @code{EOF} or error,
18591 even if the underlying @code{read} returns less data than requested.
18601 @code{constructor} attribute, so portable scripts should not rely on
19073 The default action on input errors is to exit immediately with status code 2.
19354 @var{first} also defaults to @samp{1}. So @code{seq 1} prints
19355 @samp{1}, but @code{seq 0} and @code{seq 10 5} produce no output.
19358 so @code{seq 1 10 10} only produces @samp{1}.
19361 @var{first}, @var{increment} and @var{last} must not be @code{NaN},
19362 but @code{inf} is supported.
19440 To generate octal output, use the printf @code{%o} format instead
19441 of @code{%x}.
19672 @code{'\n'} if you're a C programmer.) This is the format used by all
19787 of code and about two hours to write it, test it, and debug it.
19825 or @code{root}, prompt):
19871 @table @code
19982 @table @code
20103 code.
20119 With the current proliferation of GNU code and other clones of Unix programs,