You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cut: the '=' after a short option is dropped from its value #16436
GNU takes everything after a short option letter as its value, including a leading =. uutils drops the = (except for the special-cased -d=), so these behave differently:
$ printf 'a=b,c\n' | cut -b=1; echo $?
cut: invalid byte/character position '=1'
Try 'cut --help' for more information.
1
$ printf 'a=b,c\n' | cut -d=x -f1; echo $?
cut: the delimiter must be a single character
Try 'cut --help' for more information.
1
$ printf 'a,b\n' | cut -d, -f1,2 -O=x
a=xb
Sure, it's free, go ahead. My attempt was #16437; I closed it because I couldn't get clap to keep the = and rewriting argv before parsing got too long. The review comments there might save you some time.
Activity
asxxb commentedon Nov 27, 2026
Hi! I'd like to work on this issue. Is it still available? I'd be happy to submit a fix and tests.
binhvq commentedon Nov 27, 2026
Sure, it's free, go ahead. My attempt was #16437; I closed it because I couldn't get clap to keep the
=and rewriting argv before parsing got too long. The review comments there might save you some time.