Title: When "-" is used for standard input, the filename in the context/unified headers should be "-", not "/dev/stdin" · Issue #46 · uutils/diffutils · GitHub
Open Graph Title: When "-" is used for standard input, the filename in the context/unified headers should be "-", not "/dev/stdin" · Issue #46 · uutils/diffutils
X Title: When "-" is used for standard input, the filename in the context/unified headers should be "-", not "/dev/stdin" · Issue #46 · uutils/diffutils
Description: When passing in "-" as a parameter on the CLI invokation to use the standard input for either of the input files, in conjunction with the -c or -u options, the filenames displayed should be "-", not "/dev/stdin", to be consistent with GN...
Open Graph Description: When passing in "-" as a parameter on the CLI invokation to use the standard input for either of the input files, in conjunction with the -c or -u options, the filenames displayed should be "-", no...
X Description: When passing in "-" as a parameter on the CLI invokation to use the standard input for either of the input files, in conjunction with the -c or -u options, the filenames displayed should ...
Opengraph URL: https://github.com/uutils/diffutils/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When \"-\" is used for standard input, the filename in the context/unified headers should be \"-\", not \"/dev/stdin\"","articleBody":"When passing in \"-\" as a parameter on the CLI invokation to use the standard input for either of the input files, in conjunction with the `-c` or `-u` options, the filenames displayed should be \"-\", not \"/dev/stdin\", to be consistent with GNU's implementation:\r\n\r\n```bash\r\necho foo \u003e foo\r\n\r\necho bar | /usr/bin/diff -u foo -\r\n--- foo\t2024-04-03 18:55:48.837847038 +0200\r\n+++ -\t2024-04-03 18:58:47.031319515 +0200\r\n@@ -1 +1 @@\r\n-foo\r\n+bar\r\n\r\necho bar | cargo run --release -- -u foo -\r\n--- foo\t\r\n+++ /dev/stdin\t\r\n@@ -1 +1 @@\r\n-foo\r\n+bar\r\n```","author":{"url":"https://github.com/oSoMoN","@type":"Person","name":"oSoMoN"},"datePublished":"2024-04-03T17:00:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/46/diffutils/issues/46"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6c65ebcc-fb57-024b-28dc-1f21778bd38b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C420:2C9E7F:CD9893:114DE9A:6A4D4895 |
| html-safe-nonce | 5e97368a8bea44a02b9098126c0fbdeb33369277d3fbb0b6b70e2b0e156e0889 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDIwOjJDOUU3RjpDRDk4OTM6MTE0REU5QTo2QTRENDg5NSIsInZpc2l0b3JfaWQiOiI2NzE5NTQ4Mzg0NDUxODQwMTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bef95059e8084cfec9ea9005e8c9e6344c82d560e802547cc58087dfdc9aef4b |
| hovercard-subject-tag | issue:2223446210 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uutils/diffutils/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1929d99387b6ac50a80e516dd8b8f47b625db09b84c2bad81d8808e708c900b/uutils/diffutils/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1929d99387b6ac50a80e516dd8b8f47b625db09b84c2bad81d8808e708c900b/uutils/diffutils/issues/46 |
| og:image:alt | When passing in "-" as a parameter on the CLI invokation to use the standard input for either of the input files, in conjunction with the -c or -u options, the filenames displayed should be "-", no... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oSoMoN |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width