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

Support for a different field separator in stdin #44

Closed
JensRantil opened this issue Jun 10, 2021 · 2 comments
Closed

Support for a different field separator in stdin #44

JensRantil opened this issue Jun 10, 2021 · 2 comments

Comments

@JensRantil
Copy link

I have data that looks like this:

2019-12-09 16:57:05;138712
2019-12-10 19:13:44;138712
2019-12-12 15:53:57;138957
2019-12-12 16:22:58;139375
2019-12-13 14:32:26;139474
2019-12-16 16:54:11;139474
2019-12-17 16:06:39;139179
2019-12-18 17:13:14;139316
2019-12-19 16:42:33;139353
2019-12-20 16:21:48;139353

It would be useful to do feedgnuplot --separator ";" to easily be able to do --timefmt '%Y-%m-%d %H:%m:%s'. Is there workaround?

@JensRantil JensRantil changed the title Support for a different file separator in stdin Support for a different field separator in stdin Jun 10, 2021
@dkogan
Copy link
Owner

dkogan commented Jun 10, 2021

Hi. I don't want to add that because you can easily pre-process your data with a search/replace. For instance:

< data sed 's/;/ /g' | feedgnuplot ....

The spaces in the timefmt don't affect the fields. It mostly works the way you would expect.

@dkogan dkogan closed this as completed Jun 10, 2021
@dkogan
Copy link
Owner

dkogan commented Jun 10, 2021

If this doesn't handle your use case, please reopen

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