Skip to content

sed: error: invalid character range #94

@raulzamoramarquez

Description

@raulzamoramarquez

Problem

After updating Tex Live to version 2025, running pdfjam displays a warning generated by sed related to an invalid character range in a regular expression. Although the output file is generated successfully and appears functional, the warning might indicate underlying issues in the script.

Environment

  • Operating System: macOS 15.4.1
  • Tex Live: 2025
  • pdfjam: Version 4.1
  • pdflatex --version
    pdfTeX 3.141592653-2.6-1.40.27 (TeX Live 2025)

Command Executed

pdfjam file1.pdf --a4paper --outfile file2.pdf

Error Message

sed: 1: "s/[	 !"#$&-*;<>?[-^`{|} ...": RE error: invalid character range
sed: 1: "s/[	 !"#$&-*;<>?[-^`{|} ...": RE error: invalid character range
pdfjam: This is pdfjam version 4.1.
pdfjam: Reading any site-wide or user-specific defaults...
(none found)
pdfjam: Effective call for this run of pdfjam:
/Library/TeX/texbin/pdfjam --paper a4paper --outfile  --  - 
pdfjam: Calling /Library/TeX/texbin/pdflatex...
pdfjam: Finished.  Output was written to 'file2.pdf'.

Additional Observations

The output file (file2.pdf) is generated correctly and does not show any visible or functional issues.

Steps to Reproduce

  1. Update Tex Live to version 2025.
  2. Run the following command:
    pdfjam file1.pdf --a4paper --outfile file2.pdf
  3. Observe the warning from sed.

Possible Cause

The update to Tex Live might have introduced changes that affect the compatibility of the pdfjam script with certain configurations or dependencies. Specifically, the issue appears to be related to an invalid character range in a regular expression used by sed.

Request

Please investigate whether this behavior can be addressed in future versions of pdfjam.

Thank you for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions