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

Allow easier tab-delimited output #53

Closed
goodevilgenius opened this issue May 19, 2014 · 5 comments
Closed

Allow easier tab-delimited output #53

goodevilgenius opened this issue May 19, 2014 · 5 comments

Comments

@goodevilgenius
Copy link

There doesn't seem to be a simple way to specify tab-delimited output.

E.g., I've tried q -D '\t' and q -D "\t", but both fail to produce tabs.

q -D "$(echo -e '\t')" works (in BASH anyway), but is needlessly complicated.

Since -t is shorthand for -d <tab>, perhaps -T can be shorthand for -D <tab>.

@bonki
Copy link

bonki commented May 19, 2014

What you are looking for is -D $'\t' which works as expected.

@harelba
Copy link
Owner

harelba commented May 19, 2014

You're right. Didn't think about it. I agree that -T is the proper parameter name.

Already committed to my working master. Will be part of the coming version, 1.4.0.

Thanks

@harelba
Copy link
Owner

harelba commented May 19, 2014

@bonki - Thanks for helping with the comment.

@harelba
Copy link
Owner

harelba commented May 20, 2014

Done, with -T. Will be integrated into the coming 1.4.0 version.

I decided to make the -t and -T flags stronger than their manual -d/-D counterparts. Meaning, that if there is one of the T flags, it will cause any D flags to be ignored.

The reason for that is that if someone is using the .qrc file, they will be able to override it with a T flags if needed.

Harel

@harelba
Copy link
Owner

harelba commented Jun 14, 2014

Just released 1.4.0. Fixed.

@harelba harelba closed this as completed Jun 14, 2014
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

3 participants