Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 01-26-2013, 10:53 PM   #1
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,452

Rep: Reputation: 51
diff output format in two columns (/dev/ttyN)

Hi: what were the options that make diff to output in two columns, each file in a column?
Old 01-26-2013, 11:22 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,124

Rep: Reputation: 164Reputation: 164
The diff man page shows the -y option as "Output in two columns" - is that what you're asking?
Old 01-26-2013, 11:25 PM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,452

Original Poster
Rep: Reputation: 51
Oh yes, thank you. I was temporarily using 'diff --minimal --context=1 --ignore-all-space'.

EDIT: Honestly, the output was in color, I remember. And the lines were not folded. Color does not matter.

Last edited by stf92; 01-26-2013 at 11:28 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL statements howto -- 3 columns input but 2 columns output fhleung Programming 3 11-29-2012 11:45 AM
[SOLVED] AWK: add columns while keep format for other columns cristalp Programming 3 10-13-2011 07:14 AM
[SOLVED] awk on number columns and format problem cristalp Programming 3 08-30-2011 07:14 AM
Diff Between /dev/zero & /dev/null rajaniyer123 Solaris / OpenSolaris 4 07-02-2007 07:09 AM
"Diff" output format ganninu Linux - General 1 12-09-2003 10:39 AM

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration