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

Re: fare parsing in tempo reale..



Prova con (g)awk modificando il record separator:

$ echo -n "foo##bar##" | awk -v 'RS=##' 1

In alternativa potresti usare qualche programma che limita la lunghezza delle righe, tipo fold:

echo {a..z} | fold -b20

così facendo però avresti il problema di dover gestire elementi a metà tra due righe.

Hope this helps!

--
Kind regards,
                                                          Marco Romano.







Reply to: