Skip to content

Copying untagged text files #91

@gngrossi

Description

@gngrossi

@IgorTodorovskiIBM

Installed coreutils-9.6.20250319_030539.zos

Regarding the “cp” command…
I copied an untagged ebcdic text file from a directory into /tmp using (cp and cp -p) and the file tagging is set IBM-1047 and tagged as expected. I tested this without and with _ENCODE_FILE_NEW=IBM-1047 and the results are the same.

But...
I copied an untagged ascii text file from a directory into /tmp using (cp and cp -p) and the file is untagged.
I was expecting the file to be set ISO8859-1 and tagged. Right?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions