OpenVZ Forum


Home » General » Support » *SOLVED* vzassign: awk: not an option: --assign
Re: *SOLVED* vzassign: awk: not an option: --assign [message #5341 is a reply to message #5258] Thu, 17 August 2006 17:44 Go to previous message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

@ataraxis:
installing the gawk is another solution,
but it's better to modify the vzmigrate script
for useing it with gawk and mawk :

so at line 378 :
grep "% of" | awk --assign ORS="\r" '{print $10}';

to:

grep "% of" | awk -v ORS="\r" '{print $10}'; then

That's all, you need not to install gawk Wink

Regards,
Thorsten
--
tsd@debian.systs.org
 
Read Message
Read Message
Read Message
Previous Topic: Real memory versus virtual memory: is there a difference?
Next Topic: Bugzilla on ve
Goto Forum:
  


Current Time: Thu Jul 25 20:04:09 GMT 2024

Total time taken to generate the page: 0.03231 seconds