Getting started:
Related tutorials:
| package main | |
| import ( | |
| "fmt" | |
| "strings" | |
| "time" | |
| ) | |
| const LIM = 41 |
Getting started:
Related tutorials:
| grep -Fxv -f first-file.txt second-file.txt | |
| Basically looks for all lines in second-file.txt which don't match any line in first-file.txt. Might be slow if the files are large. | |
| Also, once you sort the files (Use sort -n if they are numeric), then comm should also have worked. What error does it give? Try this: | |
| comm -23 second-file-sorted.txt first-file-sorted.txt |
| #define DEBUG 1 | |
| #define Dprintf(fmt, ...) \ | |
| do { if (DEBUG) fprintf(stderr, "%s:%d:%s(): " fmt, __FILE__, __LINE__, __func__, ##__VA_ARGS__); } while (0) | |
| OR for shorter statements | |
| do { if (DEBUG) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) |
| $ sudo yum -y install libXpm-devel libjpeg-turbo-devel openjpeg-devel openjpeg2-devel turbojpeg-devel giflib-devel libtiff-devel gnutls-devel libxml2-devel GConf2-devel dbus-devel wxGTK-devel gtk3-devel | |
| $ wget http://git.savannah.gnu.org/cgit/emacs.git/snapshot/emacs-25.1.tar.gz | |
| $ tar zxvf emacs-25.1.tar.gz | |
| $ cd emacs-25.1 | |
| $ ./autogen | |
| $ ./configure --without-makeinfo # incase makeinfo is not available on your system: Example Centos 7 else `./configure` would do | |
| $ sudo make install | |
| ## verify installation | |
| $ which emacs |