Tag Info

Hot answers tagged

1

ALWAYS use crontab -e to edit your cronjobs. And remember to save and quit when exiting your editor. When the editor quits, it will tell you if there is an error preventing it being moved to the active set of cronjobs. If you are using crontab -e, you are not correctly exiting you editor to make your changes persist. To exit the editor, do not close the ...


1

Two problems: Your makefile is set up to use the Solaris C compiler's options, but you're using gcc. You don't say how your makefile was generated, but replacing CFLAGS with something more appropriate will help. If you used a configure script to generate your makefile then I'm a bit confused, as doing CC=gcc ./configure should be enough to do the right ...


1

It gets a bit long as you seem to have blank lines in the input. The following might work for you: awk -F'[, ]' '{if (NF!=0 && $1=="") {$1=prev} prev=$1}1' OFS=, inputfile The idea is to split fields on , and whitespace (the latter in order to handle the first line of input). Check if the first field is blank and the number of fields is not zero ...



Only top voted, non community-wiki answers of a minimum length are eligible