Python Forum
the posix "cut" command
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the posix "cut" command
#1
the man page in ubuntu 16.04 for the "cut" command does not say that a delimiter must be a single character, but the command will, in an error message, if it gets 2 or more characters. so i would like to rewrite the cut command to accept strings as delimiters. not only that, but i'd like to add a secondary delimiter option -D and support the N.M format for specified fields. cut also has no way to have whitespace of any length as a delimiter so i would like to add that as well. any suggestions on how to specify such a delimiter as primary or secondary?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  anyone interested in a project of making python versions of various POSIX commands Skaperen 10 10,180 Oct-17-2016, 08:36 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020