OPERATOR / VERSION 1.0

script_line_number

Text · Streaming

Prefix each UTF-8 line with a consecutive line number.

View manifest JSON ↗

Use this operator

operator: script_line_number@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • sourceInputbytes

    UTF-8 text bytes to process.

    Formats: Any compatible format
  • resultOutputbytes

    Prefix input lines with sequential line numbers.

Output structure and samples are provided by operator inference.

Parameters

  • startintegerOptional

    First line number.

    How to fill
    Supply a nonnegative integer. Subsequent lines increase by one. · Minimum: 0 · Maximum: 9223372036854775807
    Example value
    1
    Default value
    1
  • separatorstringOptional

    Text between the number and original line.

    How to fill
    A tab keeps line numbers in a separate tabular column. · Maximum length: 64
    Example value
    Default value

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: script_line_number@1.0
inputs:
  source: read_source
params:
  start: 1
  separator: "\t"

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/4c1582f2aa07ca122e8984c3c76d438aa8264b37b99fc847418e3ca99940f446/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'environment.tar' 'https://repo.conox.cn/v1/blobs/sha256/e086e3ee88de7f8dba45ca317a0332ced7b55fec45fc8bb43a5934dac7c3204d/environment.tar'
sha256sum -- 'environment.tar'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
Source repository not provided
Source revision
Revision not declared
License (publisher declared)
License not declared
License text
License text not provided
Dependency SBOM
Dependency SBOM not provided

Build instructions

Build instructions not provided

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.