Prueba con:
awk -v var=\' -F: '{print "hello",var"a"var, $1}' /etc/passwd
Pato.
On Thu, Sep 07, 2000 at 02:36:49PM -0600, Eduardo J.Vega Arguedas wrote:
> Gente necesito sacar mediante el awk una comilla simple
>
> Estoy usando algo como esto:
>
> awk -F: '{print "hello " "'a'", $1}' /etc/passwd
>
> y eso da una salida tipo
>
> hello a anybody
>
> y necesito que sea:
>
> hello 'a' anybody
>
> alguna idea ????
--
Try to relax and enjoy the crisis.
-- Ashleigh Brilliant
--
�Desea desuscribirse? Escriba a [EMAIL PROTECTED] con
el tema "unsubscribe".