[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Elaborazione logica di stringhe tramite bash



Il giorno mar, 27/01/2009 alle 15.02 +0100, Premoli, Roberto ha scritto:
> Salve,
> Vorrei sapere se e' possibile, tramite la bash e le varie utility (sed,
> tr, etc) ad elaborare delle stringe di testo per fare operazioni
> logiche.
> 
> Mi spiego: ho due file della stessa lunghezza A.txt e B.tx, vorrei
> essere in grado di generare un terzo file C.txt che sia l'AND, l'OR o il
> NOT dei due file.

AND, OR e NOT di che tipo? Bit a bit del contenuto del file?

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog@debian.org
INIT.D Developer                                           fog@initd.org
 To prepare such test data, I get into the meaniest, nastiest frame of
  mind that I can manage, and I write the cruelest code I can think of;
  then I turn around and I embed that in even nastier constructions
  that are almost obscene.                                  -- D.E.Knuth

Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente


Reply to: