[Solved] Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread Susmita/Rajib
As mentioned in the following email: To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: "Susmita/Rajib" Date: Sat, 8 Apr 2023 23:12:57 +0530 Message-id: <[] CAEG4cZWR7j

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread Greg Wooledge
On Sun, Apr 09, 2023 at 03:13:22PM +0530, Susmita/Rajib wrote: > I apologise I didn't get you. Do you not want me to quote the following > portion? Perhaps you don't understand what your own messages look like. Therefore, the best advice I can give you is to look at them through an external

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread Brad Rogers
On Sun, 9 Apr 2023 15:13:22 +0530 "Susmita/Rajib" wrote: Hello Susmita/Rajib, >Sometimes I have difficulties understanding some emails. That's understandable if, as I'm assuming, English is not your first language. >Could you please elaborate a little further please? Use a quote style like

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread davidson
On Sun, 9 Apr 2023 Susmita/Rajib wrote: [trim] I just received an email from Mr. Sascha Steinbiss, the maintainer for icdiff, and tried implementing his advice on columns. I have received messages from Mr. Jeff Kaufman, the original creator. Copies of my emails have been sent you too. My

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread Susmita/Rajib
To: Debian Users ML Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: Brad Rogers Date: Sun, 9 Apr 2023 08:46:18 +0100 Message-id: <[] 20230409084618.1807a...@earth.stargate.org.uk> Mr. Brad Rogers said: [ ... ]

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-09 Thread Brad Rogers
Please be are that people here are volunteering their time, and time is a precious commodity. Would you therefore, make life easy for them by using a convention quoting style in your messages to the list. Persist with the style you currently employ and you will find that people's desire to help

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-08 Thread Susmita/Rajib
In further response to two emails received from Mr. Davidson. To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Sat, 8 Apr 2023 13:27:54 + (UTC) Message-id

Re: paragraph conversion (was Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?)

2023-04-08 Thread Susmita/Rajib
Dear Mr. Davidson, I just received an email from and tried implementing his advice on columns. I have received messages from Mr. Sascha Steinbiss, the maintainer for icdiff, and Mr. Jeff Kaufman, the original creator. Copies of my emails have been sent you too. My system's screen accommodated

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-08 Thread Andrew M.A. Cater
ments. When you deal with a (human) editor who doesn't use LibreOffice, export it as a basic Word document and reimport. If that doesn't work then exchange basic text and use TeX to format the output appropriately. Messing around with complex word-processing documents and expecting to use diff t

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-08 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Sat, 8 Apr 2023 13:27:54 + (UTC) Message-id: <[] alpine.deb.2.21.2304081043580.22...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-08 Thread davidson
On Sat, 8 Apr 2023 davidson wrote: On Fri, 7 Apr 2023 Susmita/Rajib wrote: Hanging Style___ Also called the Epstein style, this one is probably not the one you are using in your document. At least, not unless you are writing a glossary, or some kind of dictionary.

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-08 Thread davidson
is used as the Editor to write the article. You compose your original document in Libre Office. Understood. It was used to convert the main file in plain text file for the purpose of diff. You then export it to plain text file format before processing it with tools designed for plain text. Se

Re: paragraph conversion (was Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?)

2023-04-08 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: paragraph conversion (was Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?) From: davidson Date: Sat, 8 Apr 2023 05:47:45 + (UTC) Message-id: <[] alpine.deb.2.21.2304080512420

paragraph conversion (was Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?)

2023-04-07 Thread davidson
On Wed, 5 Apr 2023 davidson wrote: On Wed, 5 Apr 2023 Susmita/Rajib wrote: On 04/04/2023, davidson wrote: [trim] Attached (unless the listserv software has nuked it) is a sed script "flow" (with verbose comments) which might serve your needs. (Since you have not exhibited here any of the

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Thu, 6 Apr 2023 18:21:29 + (UTC) Message-id: <[] alpine.deb.2.21.2304061821250.7...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread davidson
On Thu, 6 Apr 2023 davidson wrote: What indicates a "paragraph break" in a given style depends on the form, not the content, of the material to be processed. Replace "...in a given style" with "...in a given document" -- Sometimes it pays to have squirrels in your head running around

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread davidson
On Thu, 6 Apr 2023 Susmita/Rajib wrote: [trimmed: email headers included in message body] [ ... ] Dear Mr. Davidson, I think that we better drop this thread for the time being. We are each of us the masters of our respective time and attention, and thank ${DEITY[@]} for that. I look

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-06 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Wed, 5 Apr 2023 16:25:06 + (UTC) Message-id: <[] alpine.deb.2.21.2304051620250.20...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-05 Thread davidson
On Wed, 5 Apr 2023 davidson wrote: Attached (unless the listserv software has nuked it) is a sed script "flow" (with verbose comments) which might serve your needs. (Since you have not exhibited here any of the text you are working with, I can only play the role of speculative optimist.) For

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-05 Thread davidson
On Wed, 5 Apr 2023 davidson wrote: Attached (unless the listserv software has nuked it) is a sed script "flow" (with verbose comments) which might serve your needs. (Since you have not exhibited here any of the text you are working with, I can only play the role of speculative optimist.)

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-05 Thread davidson
CT. Thank you indeed. It looks to me like icdiff tries to remain faithful to the source comparands, to the files you request it to compare. By "faithful", I mean two things: 1. icdiff will *wrap* lines so that all characters (relevant to the diff context) make it onto the screen in wh

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-05 Thread Susmita/Rajib
On 04/04/2023, davidson wrote: To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Tue, 4 Apr 2023 11:06:47 + (UTC) Message-id: <[] alpine.

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-04 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: david...@freevolt.org Date: Tue, 4 Apr 2023 11:39:59 + (UTC) Message-id: <[] alpine.deb.2.21.2304041139540.12...@azone.

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-04 Thread davidson
', 'console_scripts', 'icdiff')() File "/usr/lib/python3/dist-packages/icdiff.py", line 598, in start diff(options, *args) File "/usr/lib/python3/dist-packages/icdiff.py", line 635, in diff diff_files(options, a, b) File "/usr/lib/python3/dist-packages/icdiff.p

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-04 Thread davidson
On Tue, 4 Apr 2023 davidson wrote: [trim] icdiff will not do that. icdiff is faithful to its sources. I have determined this by trying it out a little myself, and by examining the command line options documented in its manual page ("man icdiff"). You could give it different sources: $ icdiff

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-04 Thread davidson
On Mon, 3 Apr 2023 Susmita/Rajib wrote: [trimmed headers] [ ... ] You have reported that redirecting icdiff output to a file, in your words, "drops all colors". And so I have three questions: [trimmed davidson's questions] $ icdiff file1 file2 > pretty_diff $ less -R pretty_diff [ ...

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-03 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Mon, 3 Apr 2023 01:27:46 + (UTC) Message-id: <[] alpine.deb.2.21.2304030127380.28...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-02 Thread davidson
On Sun, 2 Apr 2023 Susmita/Rajib wrote: [trimmed: email headers] On Sat, 1 Apr 2023 Susmita/Rajib wrote: [ ... ] You do not tell us what application you are using to view the file contents. If it is not a terminal application, it might well fail to independently implement for your

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-02 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: rhkra...@gmail.com Date: Sat, 1 Apr 2023 09:07:47 -0400 Message-id: <[] 202304010907.47888.rhkra...@gmail.com> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-02 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Sat, 1 Apr 2023 10:54:06 + (UTC) Message-id: <[] alpine.deb.2.21.2304011044320.15...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer
On Saturday, April 01, 2023 10:22:24 AM debian-u...@howorth.org.uk wrote: > rhkra...@gmail.com wrote: > > I don't remember the name of the utility that I used to use in the > > Microsoft world, but it was very nice in showing changes within lines > > or paragraphs, using underline and crossout

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread debian-user
t; > > > When I receive the editor's correction, I don't accept them > > straightaway, but based on his suggestions I change my book1 and > > edit and alter it further. Diff helps in comparing the two draft > > editions. > > > > This one cycle could again be repeat

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer
On Saturday, April 01, 2023 09:07:47 AM rhkra...@gmail.com wrote: > On Friday, March 31, 2023 11:37:30 PM Susmita/Rajib wrote: > I don't remember the name of the utility that I used to use in the > Microsoft world, but it was very nice in showing changes within lines or > paragraphs, using

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread rhkramer
I don't accept them > straightaway, but based on his suggestions I change my book1 and edit > and alter it further. Diff helps in comparing the two draft editions. > > This one cycle could again be repeated. > I checked wdiff and also dwdiff. But they are very bland > and very com

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Nate Bargmann
I prefer vimdiff. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 signature.asc Description:

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Max Nikulin
On 01/04/2023 14:59, DdB wrote: In fact, unfortunately, i did not understand the necessity to wrap the output, as i am happily using the synchronised scrollbar (inside meld) in such cases, but ofc, that may not fit your use case. If it is prose text formatted as a line per paragraph then

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson
On Sat, 1 Apr 2023 davidson wrote: The "colors" are control sequences, instructions for terminal emulators conforming to a standard. Terminals understand them to mean "now paint glyphs red" or "now make them bold" or "now stop doing all that fancy stuff" etc. Erm, what I meant to say is that

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson
On Sat, 1 Apr 2023 Susmita/Rajib wrote: [ ... ] Try icdiff file1 file2 | less -R and report back. [ ... ] Yes, it worked. Worked better than the code-line with " | more". Mouse-scrolling working both ways. So really thank you. My need should have been fulfilled so far as the purpose

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: Date: Sat, 1 Apr 2023 10:14:44 +0200 Message-id: In-reply-to: <[] CAEG4cZUXaUAxG=0zlwpxuy44x9rtf7tnewvgfuddmzq7

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: davidson Date: Sat, 1 Apr 2023 07:34:39 + (UTC) Message-id: <[] alpine.deb.2.21.2304010734350.15...@azone.org> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread tomas
On Sat, Apr 01, 2023 at 12:10:27PM +0530, Susmita/Rajib wrote: > To: debian-user@lists.debian.org > Subject: Re: Which Diff tool could I use for visually comparing > two text files where Word Wrap is possible? > From: > Date: Sat, 1 Apr 2023 07:56:24 +0200 &

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread DdB
Am 01.04.2023 um 05:37 schrieb Susmita/Rajib: > Dear Mr. DdB: > I fondly remember my interaction with you some time during May 2022. > Perhaps you have overlooked that I needed text wrapping for diff. I > have checked the synaptic screenshot for meld, have installed and > tried

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread davidson
On Sat, 1 Apr 2023 Susmita/Rajib wrote: My illustrious team leaders and senior debian-user list-members, [trimmed: admirably comprehensive description of OPs use-case] Diff helps in comparing the two draft editions. It does indeed do what it was designed to do. Dear Mr. l0f4r0

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread David
On Sat, 2023-04-01 at 12:10 +0530, Susmita/Rajib wrote: >     To: debian-user@lists.debian.org >     Subject: Re: Which Diff tool could I use for visually comparing > two text files where Word Wrap is possible? >     From: >     Date: Sat, 1 Apr 2023 07:56:24 +0200 &

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-04-01 Thread Susmita/Rajib
To: debian-user@lists.debian.org Subject: Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible? From: Date: Sat, 1 Apr 2023 07:56:24 +0200 Message-id: <[] zcfhibipctx8o...@tuxteam.de> In

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread tomas
On Sat, Apr 01, 2023 at 09:07:30AM +0530, Susmita/Rajib wrote: [...] > The above limitations directs me to suggest to Debian Teams across all > Mailing Lists and the Board to have GPT4 added to extend > functionalities of GNU-Linux systems [...] GPT is not free software, so it can't be included

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Susmita/Rajib
: caeg4czus4dyt02pvm5byvrpxtxvdeybthfgwhrhi80upoy9...@mail.gmail.com makes my need clear, I would like to avoid diff. My reason has been posted in that earlier 2nd post. Dear Mr. Stefan Monnier and Mr. Van Snyder: Unfortunately, I once tried to learn emacs but it is complex. So it is difficult for me to use diff from within

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Susmita/Rajib
. Diff helps in comparing the two draft editions. This one cycle could again be repeated. Dear Mr. l0f4r0: that pointer, https://unix.stackexchange.com/questions/537418/how-to-make-text-wrap-with-diff-y; indeed helped and led me to icdiff which is wonderful. Unfortunately, for two very large text

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Greg Wooledge
On Sat, Apr 01, 2023 at 01:41:22AM +, davidson wrote: > On Sat, 1 Apr 2023 davidson wrote: > > Start here instead: > > > > $ diff file1 file2 > > > > It displays the differences, and your terminal will wrap lines (and > > break words) to fit the windo

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread davidson
On Sat, 1 Apr 2023 davidson wrote: Start here instead: $ diff file1 file2 It displays the differences, and your terminal will wrap lines (and break words) to fit the window for you. Does it do what you want? A concise explanation of diff's default output format (which is a little cryptic

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread davidson
s. I see (from its package description above) that diffuse can display files' content side-by-side. Is this a requirement of yours? Because if it is not, you can double your effective screen width by simply discarding the side-by-side feature. $ diff <(fmt file1) <(fmt file2) fmt has a -w

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread davidson
the differences between two files within the program window without venturing out to the right within the two file windows. $ diff <(fmt file1) <(fmt file2) fmt has a -w option to adjust the max line width. The default is 75. Is there a way to Word Wrap? Am I making a mistake here? Which p

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Van Snyder
> > files? > > Try Kompare. I tried several diff tools but I liked Kompare the most: > clean, intuitive interface, easy to use, lots of features. emacs includes a nice side-by-side compare and merge feature. > Regards,

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread local10
ogram window without venturing out to > the right within the two file windows. > > Is there a way to Word Wrap? Am I making a mistake here? Which program > would be the best suited for my work for comparing text files? > Try Kompare. I tried several diff tools but I liked Kompare

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread DdB
hes, > Rajib B > Etc. > > I may be misunderstanding your needs: In many cases, i replace diff with meld, an interactive diff UI

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread rhkramer
ite a while since I actually used diff, but I always preferred a word diff (to a line based diff). Two options are wdiff and wdiff2 (aka mdiff -w) -- rhk (sig revised 20230312 -- modified first paragraph, some other irrelevant wordsmithing) | No entity has permission to use

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Stefan Monnier
>> Is there a way to Word Wrap? Am I making a mistake here? >> Which program would be the best suited for my work for comparing >> text files? I'd expect most text editors to do that for you. E.g. when I ask Emacs to give me a diff for "files with long lines"

Re: Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread l0f4r0
text-wrap-with-diff-y l0f4r0

Which Diff tool could I use for visually comparing two text files where Word Wrap is possible?

2023-03-31 Thread Susmita/Rajib
My dear illustrious leaders and senior debian-user list-members, I tried diffuse, but it appears to me that it suffers from a limitation so far as my need is concerned. It compares files by lines and line numbers, so I can't use word-wrap to have the differences between two files within the

des listes de diff avec encryption

2021-05-12 Thread Marc Chantreux
> > > > Il suffirait en effet de partager les > > > > clefs publiques des utilisateurs de la m-l une seule fois et ensuite ils > > > > utilisent celle du serveur pour l'utilisation quotidienne. > > > oui mais ... y'a vraiment des gens qui seraient preneurs d'une telle > > > fonctionalité? > Ben

Re: How do I contribute patches to packages (GitLab merge requests or diff -u + bug report)?

2020-11-28 Thread Dan Ritter
Vishal Subramanyam wrote: > I wish to contribute patches to Debian packages, but I am confused > about how I should go about doing so. The Debian Handbook says that > using GitLab might make it easier for maintainers to merge changes, but > somebody on an IRC channel told me that the old

How do I contribute patches to packages (GitLab merge requests or diff -u + bug report)?

2020-11-28 Thread Vishal Subramanyam
Hey, I wish to contribute patches to Debian packages, but I am confused about how I should go about doing so. The Debian Handbook says that using GitLab might make it easier for maintainers to merge changes, but somebody on an IRC channel told me that the old email-based workflow is still the

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Migrec
Le 25/10/2017 à 10:54, Marc Chantreux a écrit : salut, #!/usr/bin/perl -w my $file1 = $ARGV[0]; my $file2 = $ARGV[1]; open(my $old, '<', $file1) or die "Can't open $file1: $!"; open(my $new, '<', $file2) or die "Can't open $file2: $!"; my %found_email = map { (split /;/)[3] => 1 }

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Marc Chantreux
salut, > #!/usr/bin/perl -w > > my $file1 = $ARGV[0]; > my $file2 = $ARGV[1]; > > open(my $old, '<', $file1) or die "Can't open $file1: $!"; > open(my $new, '<', $file2) or die "Can't open $file2: $!"; > > my %found_email = map { (split /;/)[3] => 1 } <$old>; > map {print if not

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Stephane Ascoet
Bonjour, le trop peu connu "Docdiff" pourrait etre une solution. Explications sur (c'est un site un peu comme celui d'un colistier:

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Marc Chantreux
> >de meme on filtrera ton 2eme fichier presque de la meme manière > > > >map {print if $found_email{ (split /;/)[3] } <$new>; > > Effectivement, c'est bien plus simple ainsi. Malheureusement, je n'y > connais rien en perl... J'ai juste mis une négation (not)= après le > dernier if afin de garder

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Alexandre Hoïde
je signale une autre option : $ diff --old-line-format="" --new-line-format='%L' --unchanged-line-format="" Les options de « diff » suivantes pourraient également t'être utiles : --ignore-blank-lines --ignore-case --ignore-space-changes Pas sûr que cela soit nécessai

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Migrec
Le 25/10/2017 à 09:00, Dominique Dumont a écrit : On Tuesday, 24 October 2017 21:46:28 CEST Migrec wrote: Mais quoique je fasse, la sortie inclut toute de même les lignes faisait suite à un retour chariot... Solution temporaire : supprimer la colonne Adresse avec un tableur et passer le script.

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-25 Thread Dominique Dumont
On Tuesday, 24 October 2017 21:46:28 CEST Migrec wrote: > Mais quoique je fasse, la sortie inclut toute de même les lignes faisait > suite à un retour chariot... Solution temporaire : supprimer la colonne > Adresse avec un tableur et passer le script. Je ne comprends toujours pas le problème.

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-24 Thread Migrec
Le 24/10/2017 à 17:31, Marc Chantreux a écrit : Oui effectivement il fonctionne ce script perl... mea culpa. C'est simplement le fichier initial (pas de retour chariot à l'intérieur des lignes) qui diffère du fichier actuel (retours chariot dans les lignes). hello, il y a pas mal

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-24 Thread Marc Chantreux
> Oui effectivement il fonctionne ce script perl... mea culpa. > C'est simplement le fichier initial (pas de retour chariot à > l'intérieur des lignes) qui diffère du fichier actuel (retours > chariot dans les lignes). hello, il y a pas mal d'amélioration possibles pour rendre ton script un peu

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-24 Thread Migrec
Le 24/10/2017 à 15:43, Dominique Dumont a écrit : On Tuesday, 24 October 2017 14:52:55 CEST Migrec wrote: e me retrouve avec un fichier issu de DOS (donc des fins de lignes avec ^M$). Jusque là tout va bien mais désormais, j'ai également un caractère $ dans l'un des champs (c'est un champ de

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-24 Thread Dominique Dumont
On Tuesday, 24 October 2017 14:52:55 CEST Migrec wrote: > e me retrouve avec un fichier issu de DOS (donc des fins de lignes avec > ^M$). Jusque là tout va bien mais désormais, j'ai également un caractère > $ dans l'un des champs (c'est un champ de type adresse qui peut contenir > 4 lignes donc

Re: Diff : obtenir uniquement les lignes ajoutées

2017-10-24 Thread Migrec
Le 20/09/2017 à 20:43, Migrec a écrit : Je ne connais pas du tout le perl (et du coup pas tout compris...) mais j'ai réussi à bricoler un peu pour avoir un résultat qui me parait satisfaisant. Merci beaucoup. Le script : #!/usr/bin/perl -w my $file1 = $ARGV[0]; my $file2 = $ARGV[1];

Re: Diff : obtenir uniquement les lignes ajoutées

2017-09-20 Thread Migrec
Le 20/09/2017 17:25, Yves Rutschle a écrit : On Wed, Sep 20, 2017 at 04:48:43PM +0200, Migrec wrote: J'ai un fichier CSV avec des identifiants, des mots de passes et quelques autres données. C'est mal, il faut hacher les mots de passe. Malheureusement, ce n'est pas moi qui produit le

Re: Diff : obtenir uniquement les lignes ajoutées

2017-09-20 Thread Erwan David
Le 09/20/17 à 17:25, Yves Rutschle a écrit : > On Wed, Sep 20, 2017 at 04:48:43PM +0200, Migrec wrote: >> J'ai un fichier CSV avec des identifiants, des mots de passes et quelques >> autres données. > > C'est mal, il faut hacher les mots de passe. ET les saler avant, contrairement au steak.

Re: Diff : obtenir uniquement les lignes ajoutées

2017-09-20 Thread Vincent Lefevre
On 2017-09-20 16:48:43 +0200, Migrec wrote: > Bonjour, > > J'ai un fichier CSV avec des identifiants, des mots de passes et quelques > autres données. > J'aimerai extraire les lignes ajoutées au fichier ANCIEN.csv par rapport au > fichier NOUVEAU.csv. Certains lignes ont été modifiées et

Re: Diff : obtenir uniquement les lignes ajoutées

2017-09-20 Thread Yves Rutschle
On Wed, Sep 20, 2017 at 04:48:43PM +0200, Migrec wrote: > J'ai un fichier CSV avec des identifiants, des mots de passes et quelques > autres données. C'est mal, il faut hacher les mots de passe. > J'aimerai extraire les lignes ajoutées au fichier ANCIEN.csv par rapport au > fichier NOUVEAU.csv.

Diff : obtenir uniquement les lignes ajoutées

2017-09-20 Thread Migrec
Bonjour, J'ai un fichier CSV avec des identifiants, des mots de passes et quelques autres données. J'aimerai extraire les lignes ajoutées au fichier ANCIEN.csv par rapport au fichier NOUVEAU.csv. Certains lignes ont été modifiées et celles-ci ne m'intéressent pas. À noter que j'ai une adresse

Re: faire un diff en supprimant les doublons

2017-08-29 Thread Yves Rutschle
On Tue, Aug 29, 2017 at 11:01:02AM +0200, bernard.schoenac...@free.fr wrote: > j'ai un trou de mémoire et cf sujet diff | uniq? Y.

Re: faire un diff en supprimant les doublons

2017-08-29 Thread Francois Lafont
On 08/29/2017 11:16 AM, Jean-Marc wrote: > J'espère que c'est dans la bonne direction. > Difficile avec si peu d'info. Oui, et c'est un peu une habitude du PO je trouve. -- François Lafont

Re: faire un diff en supprimant les doublons

2017-08-29 Thread bernard . schoenacker
- Mail original - > De: "Jean-Marc" <jean-m...@6jf.be> > À: debian-user-french@lists.debian.org > Envoyé: Mardi 29 Août 2017 11:16:15 > Objet: Re: faire un diff en supprimant les doublons > > Tue, 29 Aug 2017 11:01:02 +0200 (CEST) > bernard.schoenac

Re: faire un diff en supprimant les doublons

2017-08-29 Thread Jean-Marc
Tue, 29 Aug 2017 11:01:02 +0200 (CEST) bernard.schoenac...@free.fr écrivait : > bonjour, salut Bernard, > > j'ai un trou de mémoire et cf sujet Quelque chose comme la commande ? > > merci d'avance pour le coup de pouce J'espère que c'est dans la bonne direction. Difficile avec si peu

Re: faire un diff en supprimant les doublons

2017-08-29 Thread Pierre Meurisse
On Tue, Aug 29, 2017 at 11:01:02AM +0200, bernard.schoenac...@free.fr wrote: > bonjour, > > j'ai un trou de mémoire et cf sujet > > merci d'avance pour le coup de pouce > > slt > bernard > fdupes ? -- Pierre Meurisse

faire un diff en supprimant les doublons

2017-08-29 Thread bernard . schoenacker
bonjour, j'ai un trou de mémoire et cf sujet merci d'avance pour le coup de pouce slt bernard

Re: tar diff et probleme

2015-03-10 Thread Samuel
Le 10/03/2015 09:00, Stephane Ascoet a écrit : Le 05/03/2015 09:48, Samuel a écrit : je sors bien du fichier avant de faire le tar, donc à priori pas de fichier temporaire. Bonjour, il est aussi possible d'ouvrir le fichier en ecriture, mais sans fichier d'echange avec l'option -n, ou de

Re: tar diff et probleme

2015-03-10 Thread Stephane Ascoet
Le 05/03/2015 09:48, Samuel a écrit : je sors bien du fichier avant de faire le tar, donc à priori pas de fichier temporaire. Bonjour, il est aussi possible d'ouvrir le fichier en ecriture, mais sans fichier d'echange avec l'option -n, ou de retarder la creation de celui-ci(voir par exemple

Re: tar diff et probleme

2015-03-09 Thread Vincent Lefevre
On 2015-03-06 17:40:53 +0100, Sylvain L. Sauvage wrote: Le vendredi 6 mars 2015, 17:07:32 Vincent Lefevre a écrit : On 2015-03-05 21:01:52 +0100, Sylvain L. Sauvage wrote: Le jeudi 5 mars 2015, 20:10:08 Vincent Lefevre a écrit : (…] Note : les fichiers ~ ne sont pas des fichiers

Re: tar diff et probleme

2015-03-09 Thread Samuel
Bonjour, Le 08/03/2015 18:09, mrr a écrit : On 03/07/2015 11:40 AM, Samuel wrote: Je cherche à synchroniser un dossier imap, mais que les fichiers supprimés aillent dans un autre dossier ... mais pour l'instant je n'ai trouvé cette fonction que dans des sauvegardes incrémentielles, ce qui ne

Re: tar diff et probleme

2015-03-08 Thread mrr
On 03/07/2015 11:40 AM, Samuel wrote: Je cherche à synchroniser un dossier imap, mais que les fichiers supprimés aillent dans un autre dossier ... mais pour l'instant je n'ai trouvé cette fonction que dans des sauvegardes incrémentielles, ce qui ne me convient pas tout à fait (je veux garder un

Re: tar diff et probleme

2015-03-07 Thread Samuel
Le 07/03/2015 11:36, Samuel a écrit : [...] Le 06/03/2015 14:33, mrr a écrit : Si ton but c'est de faire un backup uniquement des fichiers modifiés tu as bien sûr (le presque incontournable) rsync et companie Justement je suis en train de tester, mais je n'arrive pas encore à faire ce que

Re: tar diff et probleme

2015-03-07 Thread Samuel
Le 06/03/2015 14:33, mrr a écrit : On 03/05/2015 01:30 PM, Samuel wrote: Non, une fois décompressés un diff -r ne donne aucune différence sur les 2 dossiers (/etc concerné dans l'exemple). Ben justement, au lieu de faire un diff sur 2 fichiers binaires pourquoi tu ferais pas un diff sur le

Re: tar diff et probleme

2015-03-06 Thread mrr
On 03/05/2015 01:30 PM, Samuel wrote: Non, une fois décompressés un diff -r ne donne aucune différence sur les 2 dossiers (/etc concerné dans l'exemple). Ben justement, au lieu de faire un diff sur 2 fichiers binaires pourquoi tu ferais pas un diff sur le contenu genre: ~$ tar tf test1

Re: tar diff et probleme

2015-03-06 Thread Vincent Lefevre
On 2015-03-05 21:01:52 +0100, Sylvain L. Sauvage wrote: Le jeudi 5 mars 2015, 20:10:08 Vincent Lefevre a écrit : (…] Note : les fichiers ~ ne sont pas des fichiers « temporaires », ce sont des fichiers « de sauvegarde ». Ils sont temporaires: ils disparaissent quand tu quittes

Re: tar diff et probleme

2015-03-06 Thread Sylvain L. Sauvage
Le vendredi 6 mars 2015, 17:07:32 Vincent Lefevre a écrit : On 2015-03-05 21:01:52 +0100, Sylvain L. Sauvage wrote: Le jeudi 5 mars 2015, 20:10:08 Vincent Lefevre a écrit : (…] Note : les fichiers ~ ne sont pas des fichiers « temporaires », ce sont des fichiers « de sauvegarde ».

Re: tar diff et probleme

2015-03-05 Thread Sylvain L. Sauvage
Le jeudi 5 mars 2015, 20:10:08 Vincent Lefevre a écrit : (…] Note : les fichiers ~ ne sont pas des fichiers « temporaires », ce sont des fichiers « de sauvegarde ». Ils sont temporaires: ils disparaissent quand tu quittes l'éditeur. Non, pas les ~ d’Emacs. -- Sylvain Sauvage --

Re: tar diff et probleme

2015-03-05 Thread Samuel
Le 05/03/2015 17:02, Sébastien NOBILI a écrit : Le jeudi 05 mars 2015 à 16:52, Samuel a écrit : ¹ Faut utiliser un vrai éditeur de texte ! ;oP Et tu conseilles quoi ? (et qui ne change pas le mtime ... comme ça je garde mon long script écrit à la sueur de mon front ;-) ) N’importe quoi

Re: tar diff et probleme

2015-03-05 Thread Sylvain L. Sauvage
Le jeudi 5 mars 2015, 17:11:14 Yves Rutschle a écrit : On Thu, Mar 05, 2015 at 04:37:43PM +0100, Sylvain L. Sauvage wrote: Réellement, je ne connais pas beaucoup d'éditeurs qui écrivent dans le répertoire courant quand il n'y a rien à écrire... Je suis surpris qu'Emacs ne crée pas de

Re: tar diff et probleme

2015-03-05 Thread Sylvain L. Sauvage
Le jeudi 5 mars 2015, 18:18:29 Vincent Lefevre a écrit : […] Emacs crée aussi un fichier temporaire, mais seulement si tu tentes de modifier le fichier je crois bien. Note : les fichiers ~ ne sont pas des fichiers « temporaires », ce sont des fichiers « de sauvegarde ». Il semblerait (je

Re: tar diff et probleme

2015-03-05 Thread Samuel
Le 05/03/2015 18:18, Vincent Lefevre a écrit : On 2015-03-05 16:56:23 +0100, Samuel wrote: Je vais regarder un peu dans tout ce qui a été cité, dont emacs (si c'est en console), mais c'est vrai que je suis habitué à vi. Emacs crée aussi un fichier temporaire, mais seulement si tu tentes de

  1   2   3   4   5   6   >