The cssplit Command Manual Page

NAME
SYNOPSIS
DESCRIPTION
ARGUMENTS
EXAMPLE
SEE ALSO
AUTHOR

NAME

cssplit - Split a CScout processing script into smaller scripts

SYNOPSIS

cssplit N

DESCRIPTION

The cssplit command-line program is a filter that splits a CScout processing script into N smaller scripts for parallel or distributed processing. Each output script is named using a zero-padded sequence, starting with file-0001.cs.

The input is read from the standard input, and the output files are written to the current working directory.

This tool is useful for distributing the workload of a large CScout analysis across multiple scripts for efficiency or manageability.

ARGUMENTS

N

The number of output scripts to generate. The input processing script is divided into N approximately equal parts.

Each output script contains the appropriate subset of the input commands to ensure no loss of information during the split. Currently cssplit supports only processing scripts containing a single project.

EXAMPLE

To split an input processing script into 4 smaller scripts:

cssplit 4 <make.cs

This will create the following files in the current directory:

file-0001.cs
file-0002.cs
file-0003.cs
file-0004.cs

Each file contains a portion of the original processing script.

SEE ALSO

cscout(1), cscut(1), csmake(1)

AUTHOR

(C) Copyright 2024 Diomidis Spinellis.