This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: native Linux userland in Windows 10


Andrey Repin scripsit:

> Welcome, poor child of a big blue button. Let me introduce you into my world.
> The world, where file managers help you manage files.

"The Jews have no dealings with the Samaritans."  I live in a word of
command lines almost exclusively, unless I am running a Web browser.
Consequently, the underlying system can be Linux, BSD, OS X, Cygwin,
or none of the above.  When I want to see a diff, I type
"diff file1 file2 | less".

> Right now, I hit Alt+Shift+D, which invokes a short macro calling menu entry
> view:<? diff -x "CVS" -x ".svn" -I "\$Id.*\$" -I "\$Rev.*\$" -I "\$Date.*\$" -I "\$Author.*\$" -I "\$URL.*\$" -I "^Orbiting .*$" !?$UnixDiff$Options ((-c, -b etc.)):?! --strip-trailing-cr -- "!#!\!.!" "!^!\!.!"
> and get two files (or directories) on opposite panels diffed into an internal
> viewer. 

Very efficient, I'm sure.  But to each their own.

> Because Cygwin diff consume normal Windows paths without an issue.

No doubt.  But it also handles /cygdrive/c paths, the moral equivalent
of /mnt/c paths, and that's what I use.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
And they pack their lyrics till they're so damn dense
You could put 'em in your yard and you could use 'em for a fence.
      --Alan Chapman, "Everybody Wants to Be Sondheim"

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]