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

Numbers referring to unset $e variables should not be removed #270

Open
HaleTom opened this issue Sep 6, 2018 · 2 comments
Open

Numbers referring to unset $e variables should not be removed #270

HaleTom opened this issue Sep 6, 2018 · 2 comments

Comments

@HaleTom
Copy link
Collaborator

HaleTom commented Sep 6, 2018

git allows referring to a commit by the first 4 hex digits.

When these 4 digits are numbers, exec_scmb_expand_args will remove them.

% ge echo foo
foo
% ge echo 9999

%

Also, null strings should not be removed:

% shell-quote ''
''
% shell-quote '' a\ b
'' 'a b'
% ge shell-quote '' a\ b
'a b'
@ghthor
Copy link
Member

ghthor commented Sep 6, 2018 via email

@HaleTom
Copy link
Collaborator Author

HaleTom commented Oct 9, 2018

Related to #84

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

2 participants