Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing/conflicting options in z/OS /bin tools compared to coreutils #87

Open
IgorTodorovskiIBM opened this issue Dec 17, 2024 · 0 comments

Comments

@IgorTodorovskiIBM
Copy link
Collaborator

IgorTodorovskiIBM commented Dec 17, 2024

High Priority

  • Options related to text conversion (-B, -W, -T)
  • Options for interacting with MVS data sets (-A, -B, -C, -F, -I, -M, -O, -P, -S, -T, -U, -W, -X, -Z in cp and mv)
  • Options for handling symbolic links (-e in ln)

Commands

  • basename - Return the nondirectory components of a path name
    • z/OS Options:
      • No unique z/OS specific options
  • cat - Concatenate or display files
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • chgrp - Change the group owner of a file or directory
    • z/OS Options:
      • No unique z/OS specific options(or external link) itself.
  • chmod - Change the mode of a file or directory
    • z/OS Options:
      • No unique z/OS specific options
  • chown - Change the owner or group of a file or directory
    • z/OS Options:
      • No unique z/OS specific options
  • cksum - Calculate and display checksums and byte counts
    • z/OS Options:
      • -T - Enables the automatic conversion of tagged files.
  • comm - Show and select or reject lines common to two files
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • cp - Copy a file
    • z/OS Options:
      • -A - Specifies that all suffixes (from the first period to the end of the target) be truncated.
      • -B - Specifies that the data to be copied contains binary data.
      • -C - Specifies truncating the file name to 8 characters to meet the restriction in the MVS data set member.
      • -F - Specifies whether the file is to be treated as binary, text, or record file format when copied; for text files, specifies the end-of-line delimiter.
      • -I - When the specified file has an alias and the file is copied between UNIX to MVS, the alias information is also copied.
      • -M - Specifies that some characters of the file name are converted during the copy process between a UNIX file and an MVS data set member.
      • -O - Allow automatic conversion on source and target files.
      • -S - removes or appends the specified suffix to a file.
      • -T - Specifies that the data to be copied contains text data.
      • -U - Keeps file names in uppercase when copying from MVS data set members to UNIX files.
      • -W - Specifies the parameters that are needed to create a sequential data set if one does not exist.
      • -X - Specifies that the data to be copied is an executable.
      • -Z - Specifies that error messages are not to be displayed when setting ACLs on the target.
  • csplit - Split text files
    • z/OS Options:
      • -A - Uses uppercase letters in place of numbers in the number portion of created file names.
      • -a - Uses lowercase letters in place of numbers in the number portion of created file names.
      • -f - Specifies a prefix to use in place of the default xx when naming files.
      • -k - Leaves all created files intact.
      • -n - Specifies the number of digits in the number portion of created file names.
      • -s - Suppresses the display of file sizes.
  • cut - Cut out selected fields from each line of a file
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • date - Display the date and time
    • z/OS Options:
      • -c - Displays the date and displays the time according to Greenwich Mean Time (Coordinated Universal Time).
      • -d - Displays the operating system's concept of the specified date and time.
  • dd - Convert and copy a file
    • z/OS Options:
      • -T - Enables automatic conversion for tagged files.
  • df - Display the amount of free space in the file system
    • z/OS Options:
      • -S - Displays SMF accounting fields.
      • -t - Displays total allocated file slots, in addition to the total number of free files that are already displayed.
      • -v - Lists more detailed information about the file system status.
  • dirname - Return the directory components of a path name
    • z/OS Options:
      • No unique z/OS specific options
  • du - Summarize usage of file space
    • z/OS Options:
      • No unique z/OS specific options
  • echo - Write arguments to standard output
    • z/OS Options:
      • No unique z/OS specific options
  • env - Display or set environment variables for a process
    • z/OS Options:
      • No unique z/OS specific options
  • expand - Expand tabs to spaces
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • expr - Evaluate arguments as an expression
    • z/OS Options:
      • -W - Allows the expression to use hexadecimal and octal numbers.
  • false - Return a nonzero exit code
    • z/OS Options:
      • No unique z/OS specific options
  • fold - Break lines into shorter lines
    • z/OS Options:
      • No unique z/OS specific options
  • head - Display the first part of a file
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • id - Return the user identity
    • z/OS Options:
      • No unique z/OS specific options
  • join - Join two sorted textual relational databases
    • z/OS Options:
      • No unique z/OS specific options
  • kill - End a process or job, or send it a signal
    • z/OS Options:
      • -K - Sends a superkill signal to force the ending of a process or job that did not end as a result of a prior KILL signal.
  • link - Create a hard link to a file
    • z/OS Options:
      • No unique z/OS specific options
  • ln - Create a link to a file
    • z/OS Options:
      • -e - Specifies that the link created by ln is to be an external link.
  • logname - Return a user's login name
    • z/OS Options:
      • No unique z/OS specific options
  • ls - List file and directory names and attributes
    • z/OS Options:
      • -D - Displays from directories.
      • -E - Displays extended attributes for regular files.
      • -H - Displays file formats for regular files.
      • -M - Displays the security label of the file.
      • -T - Displays file tag information associated with the file.
  • mkdir - Make a directory
    • z/OS Options:
      • No unique z/OS specific options
  • mkfifo - Make a FIFO special file
    • z/OS Options:
      • No unique z/OS specific options
  • mv - Rename or move a file or directory
    • z/OS Options:
      • -A - Specifies that all suffixes (from the first period to the end of the target) be truncated.
      • -B - Specifies that the data to be moved contains binary data.
      • -C - Specifies truncating the file name to 8 characters to meet the restriction in the MVS data set member.
      • -F - Specifies whether the file is to be treated as binary, text, or record file format when moved; for text files, specifies the end-of-line delimiter.
      • -M - Specifies that some characters of the file name are converted during the move process between a UNIX file and an MVS data set member.
      • -O - Allow automatic conversion on source and target files.
      • -P - Specifies the parameters that are needed to create a sequential data set if one does not exist.
      • -S - Removes or appends the specified suffix to a file.
      • -T - Specifies that the data to be moved contains text data.
      • -U - Keeps file names in uppercase when moving from MVS data set members to UNIX files.
      • -W - Specifies the parameters that are needed to create a sequential data set if one does not already exist.
      • -X - Specifies that the data to be moved is an executable.
      • -Z - Specifies that error messages are not to be displayed when setting ACLs on the target.
  • nice - Run a command at a different priority
    • z/OS Options:
      • No unique z/OS specific options
  • nl - Number lines in a file command
    • z/OS Options:
      • No unique z/OS specific options
  • nohup - Start a process that is immune to hangups
    • z/OS Options:
      • No unique z/OS specific options
  • od - Dump a file in a specified format
    • z/OS Options:
      • -T - Enables automatic conversion for tagged files.
  • paste - Merge corresponding or subsequent lines of a file
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • pathchk - Check a path name
    • z/OS Options:
      • No unique z/OS specific options
  • pr - Format a file in paginated form and send it to standard output
    • z/OS Options:
      • No unique z/OS specific options
  • printf - Write formatted output
    • z/OS Options:
      • No unique z/OS specific options
  • pwd - Return the working directory name
    • z/OS Options:
      • No unique z/OS specific options
  • rm - Remove a directory entry
    • z/OS Options:
      • -F - When removing a hierarchy recursively, skips directories in file systems that are different from that of the corresponding command-line argument.
  • rmdir - Remove a directory
    • z/OS Options:
      • No unique z/OS specific options
  • sleep - Suspend execution of a process for an interval of time
    • z/OS Options:
      • No unique z/OS specific options
  • sort - Sort a file
    • z/OS Options:
      • No unique z/OS specific options
  • split - Split a file into manageable pieces
    • z/OS Options:
      • No unique z/OS specific options
  • stty - Set or display terminal options
    • z/OS Options:
      • No unique z/OS specific options
  • sum - Calculate and display checksums and block counts
    • z/OS Options:
      • -T - Enables the automatic conversion of tagged files.
  • tail - Display the last part of a file
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • tee - Duplicate the output stream
    • z/OS Options:
      • No unique z/OS specific options
  • test - Test for a condition
    • z/OS Options:
      • -B - True if the file is tagged as binary (not text).
      • -T - True if the file is tagged as text.
  • touch - Change the file access and modification times
    • z/OS Options:
      • No unique z/OS specific options
  • tr - Translate characters
    • z/OS Options:
      • No unique z/OS specific options
  • true - Return a value of 0
    • z/OS Options:
      • No unique z/OS specific options
  • tsort - Sort files topologically
    • z/OS Options:
      • No unique z/OS specific options
  • tty - Return the user's terminal name
    • z/OS Options:
      • No unique z/OS specific options
  • uname - Display the name of the current operating system
    • z/OS Options:
      • -I - The product name information.
  • unexpand - Compress spaces into tabs
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • uniq - Report or filter out repeated lines in a file
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • unlink - Removes a directory entry
    • z/OS Options:
      • No unique z/OS specific options
  • uptime - Report how long the system has been running
    • z/OS Options:
      • No unique z/OS specific options
  • wc - Count newlines, words, and bytes
    • z/OS Options:
      • -B - Disables the automatic conversion of tagged files.
      • -W - Specifies z/OS-specific options.
  • who - Display information about current users
    • z/OS Options:
      • No unique z/OS specific options
  • whoami - Display your effective user name
    • z/OS Options:
      • No unique z/OS specific options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant