Re: compare scriptoutput with an outputfile

From: Ed Morton (morton_at_lsupcaemnt.com)
Date: 06/13/04


Date: Sun, 13 Jun 2004 09:54:55 -0500


Web Surfer wrote:

> [This followup was posted to comp.unix.shell]
>
> In article <cafpk6$7fn$05$1@news.t-online.com>, nico-e@web.de says...
>
>>i have an script wich is an extended ls command.
>>i want to find out wich line has changed in the output compared with an
>>older output wich is saved in a file.
<snip>
> Use the "diff" command to compare the contents of 2 ASCII text files.

Or "comm", or, if you like side-by-side graphics ( and who doesn't ;-)
), use tkdiff (http://sourceforge.net/projects/tkdiff/).

        Ed.



Relevant Pages

  • compare scriptoutput with an outputfile
    ... i have an script wich is an extended ls command. ... while read RECHTE HLS USER GROUP SIZE TAG MONAT ZEIT DATEINAME PFEIL PFAD ...
    (comp.unix.shell)
  • Re: Runonce after fbreseal... partitioning and formatting a 2nd disk...
    ... Setting up a FBA generic command at phase> 12000 ... or, if you use Explorer Shell, set up a Runonce command using registry: ... - or, if you use Explorer Shell, place a self-cleaning batch or CMD script file in StartUp folder of All Users. ... We must prepare a ghost image, (wich is deployed with fbreseal to ...
    (microsoft.public.windowsxp.embedded)
  • Re: Local unit in Terminal Server 2003
    ... unit is still there and if then i go back to the command line and type again ... >> session, but i can not find a way to select wich of the local ... Can I choose wich of the local units will be ...
    (microsoft.public.win2000.termserv.clients)
  • Re: I forgot how to add ~ for the link again:
    ... Christian Ebert writes: ... >> Try the \href command from the hyperref package, wich has 2 arguments, ...
    (comp.text.tex)
  • Re: compare scriptoutput with an outputfile
    ... >> i have an script wich is an extended ls command. ... >Redirect the output to a file, and then use diff to compare it with the ... diff <prevoutput ...
    (comp.unix.shell)