merge commands for line-by-line interactive merging with sdiff, in MacOS unix. Is there a working version? ...
Why are my pictures showing a dark band on one edge?
Why are vacuum tubes still used in amateur radios?
What's the point of the test set?
Is there hard evidence that the grant peer review system performs significantly better than random?
Is there any word for a place full of confusion?
1-probability to calculate two events in a row
Would it be easier to apply for a UK visa if there is a host family to sponsor for you in going there?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Misunderstanding of Sylow theory
Google .dev domain strangely redirects to https
Sum letters are not two different
Maximum summed subsequences with non-adjacent items
Getting prompted for verification code but where do I put it in?
Can a sorcerer use careful spell on himself?
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
Draw 4 of the same figure in the same tikzpicture
Trademark violation for app?
Most bit efficient text communication method?
How do living politicians protect their readily obtainable signatures from misuse?
Why weren't discrete x86 CPUs ever used in game hardware?
Putting class ranking in CV, but against dept guidelines
How could we fake a moon landing now?
Is CEO the "profession" with the most psychopaths?
What is the difference between a "ranged attack" and a "ranged weapon attack"?
merge commands for line-by-line interactive merging with sdiff, in MacOS unix. Is there a working version?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionIs there a way to define the preferred merge or diff tool under Unix?Merge a number of text files into one with next line for every fileHow can I merge multiple lines with spaces (blank line) separating them?Merge several files with maximum 1 line differenceRecording shell output for interactive commandsInteractive commands with pipe and grepAwk for merging multiple files with common column
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
On MacOS, the sdiff command is described as able to do line-by-line interactive merging, and lists several merge commands for the latest chunk.
e.g. sdiff -o mergefile fileleft fileright
The single letter commands such as l, r (choose left line, choose right line) work well, but those that involve an edit, such as el, ed, er, are troublesome -- they don't work for me. The manual states, e.g.
el: Edit a copy of the left version, then copy the result to the
output.
When I enter "el" at the % prompt, the response is a number which I think is a character count of the left chunk. There is no temporary file to edit. The command hangs.
Does anyone know of a working version of sdiff ?
Who should I send a bug report to?
merge interactive sdiff
add a comment |
On MacOS, the sdiff command is described as able to do line-by-line interactive merging, and lists several merge commands for the latest chunk.
e.g. sdiff -o mergefile fileleft fileright
The single letter commands such as l, r (choose left line, choose right line) work well, but those that involve an edit, such as el, ed, er, are troublesome -- they don't work for me. The manual states, e.g.
el: Edit a copy of the left version, then copy the result to the
output.
When I enter "el" at the % prompt, the response is a number which I think is a character count of the left chunk. There is no temporary file to edit. The command hangs.
Does anyone know of a working version of sdiff ?
Who should I send a bug report to?
merge interactive sdiff
1
If you read the manpage, it points to "info diff", which in turn advises you to set$EDITOR
(otherwise you'll geted
).
– Thomas Dickey
2 hours ago
add a comment |
On MacOS, the sdiff command is described as able to do line-by-line interactive merging, and lists several merge commands for the latest chunk.
e.g. sdiff -o mergefile fileleft fileright
The single letter commands such as l, r (choose left line, choose right line) work well, but those that involve an edit, such as el, ed, er, are troublesome -- they don't work for me. The manual states, e.g.
el: Edit a copy of the left version, then copy the result to the
output.
When I enter "el" at the % prompt, the response is a number which I think is a character count of the left chunk. There is no temporary file to edit. The command hangs.
Does anyone know of a working version of sdiff ?
Who should I send a bug report to?
merge interactive sdiff
On MacOS, the sdiff command is described as able to do line-by-line interactive merging, and lists several merge commands for the latest chunk.
e.g. sdiff -o mergefile fileleft fileright
The single letter commands such as l, r (choose left line, choose right line) work well, but those that involve an edit, such as el, ed, er, are troublesome -- they don't work for me. The manual states, e.g.
el: Edit a copy of the left version, then copy the result to the
output.
When I enter "el" at the % prompt, the response is a number which I think is a character count of the left chunk. There is no temporary file to edit. The command hangs.
Does anyone know of a working version of sdiff ?
Who should I send a bug report to?
merge interactive sdiff
merge interactive sdiff
asked 2 hours ago
Peter RPeter R
1
1
1
If you read the manpage, it points to "info diff", which in turn advises you to set$EDITOR
(otherwise you'll geted
).
– Thomas Dickey
2 hours ago
add a comment |
1
If you read the manpage, it points to "info diff", which in turn advises you to set$EDITOR
(otherwise you'll geted
).
– Thomas Dickey
2 hours ago
1
1
If you read the manpage, it points to "info diff", which in turn advises you to set
$EDITOR
(otherwise you'll get ed
).– Thomas Dickey
2 hours ago
If you read the manpage, it points to "info diff", which in turn advises you to set
$EDITOR
(otherwise you'll get ed
).– Thomas Dickey
2 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513485%2fmerge-commands-for-line-by-line-interactive-merging-with-sdiff-in-macos-unix-i%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513485%2fmerge-commands-for-line-by-line-interactive-merging-with-sdiff-in-macos-unix-i%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
If you read the manpage, it points to "info diff", which in turn advises you to set
$EDITOR
(otherwise you'll geted
).– Thomas Dickey
2 hours ago