csplit(1): Skillnad mellan sidversioner
Admin (diskussion | bidrag) (Skapade sidan med '== csplit(1) - Linux manual page == === NAME === '''csplit''' - split a file into sections determined by context lines === SYNOPSIS === <code>csplit [OPTION]... FILE PATTERN...</code> === DESCRIPTION === Output pieces of FILE separated by PATTERN(s) to files 'xx00', 'xx01', ..., and output byte counts of each piece to standard output. Read standard input if FILE is '-'. Mandatory arguments to long options are mandatory for short options too. * <code>-b</code>, <cod...') |
(Ingen skillnad)
|
Versionen från 11 februari 2025 kl. 18.41
csplit(1) - Linux manual page
NAME
csplit - split a file into sections determined by context lines
SYNOPSIS
csplit [OPTION]... FILE PATTERN...
DESCRIPTION
Output pieces of FILE separated by PATTERN(s) to files 'xx00', 'xx01', ..., and output byte counts of each piece to standard output.
Read standard input if FILE is '-'.
Mandatory arguments to long options are mandatory for short options too.
-b
,--suffix-format=FORMAT
Use sprintf FORMAT instead of %02d.
-f
,--prefix=PREFIX
Use PREFIX instead of 'xx'.
-k
,--keep-files
Do not remove output files on errors.
--suppress-matched
Suppress the lines matching PATTERN.
-n
,--digits=DIGITS
Use specified number of digits instead of 2.
-s
,--quiet
,--silent
Do not print counts of output file sizes.
-z
,--elide-empty-files
Suppress empty output files.
--help
Display this help and exit.
--version
Output version information and exit.
Each PATTERN may be:
- INTEGER
Copy up to but not including specified line number.
- /REGEXP/[OFFSET]
Copy up to but not including a matching line.
- %REGEXP%[OFFSET]
Skip to, but not including a matching line.
- {INTEGER}
Repeat the previous pattern specified number of times.
- {*}
Repeat the previous pattern as many times as possible.
A line OFFSET is an integer optionally preceded by '+' or '-'.
AUTHOR
Written by Stuart Kemp and David MacKenzie.
REPORTING BUGS
GNU coreutils online help: https://www.gnu.org/software/coreutils/ Report any translation bugs to https://translationproject.org/team/
COPYRIGHT
Copyright © 2025 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
Full documentation https://www.gnu.org/software/coreutils/csplit
Or available locally via: info '(coreutils) csplit invocation'
COLOPHON
This page is part of the coreutils (basic file, shell and text manipulation utilities) project. Information about the project can be found at http://www.gnu.org/software/coreutils/. If you have a bug report for this manual page, see http://www.gnu.org/software/coreutils/. This page was obtained from the tarball coreutils-9.6.tar.xz fetched from http://ftp.gnu.org/gnu/coreutils/ on 2025-02-02. If you discover any rendering problems in this HTML version of the page, or you believe there is a better or more up-to-date source for the page, or you have corrections or improvements to the information in this COLOPHON (which is not part of the original manual page), send a mail to man-pages@man7.org.
Sidslut
Orginalhemsidan på Engelska :https://man7.org/linux/man-pages/man1/csplit.1.html
Det här är en maskinöversättning av Linux man sidor till svenska. Om du hittar fel är vi tacksamma om du rapporterar dem via formuläret som finns på
https://www.linux.se/kontaka-linux-se/
Tack till PC-Service som har sponsrat Linux.se med webbhotell.