Top "Gnu" questions

This tag is for programming questions related to software and tools provided by the GNU ("GNU's Not Unix") project.

Passing additional variables from command line to make

Can I pass variables to a GNU Makefile as command line arguments? In other words, I want to pass some …

makefile gnu command-line-arguments
How to display line numbers in 'less' (GNU)

What is the command to make less display line numbers in the left column?

unix gnu
How do I syntax check a Bash script without running it?

Is it possible to check a bash script syntax without executing it? Using Perl, I can run perl -c 'script …

linux bash unix syntax gnu
Compiling a C++ program with gcc

Question: How to compile a C++ program with gcc compiler? info.c: #include<iostream> using std::cout; using …

c++ gcc g++ gnu
grep regex whitespace behavior

I have a textfile, containing something like: 12,34 EUR 5,67 EUR ... There is one whitespace before 'EUR' and I ignore 0,XX EUR. …

regex grep gnu
How to Export Private / Secret ASC Key to Decrypt GPG Files

Background: My boss has tried exporting an ASC key to me with public and private parts but whenever I get …

encryption gnu gnupg private-key
gcc-arm-linux-gnueabi command not found

I am trying to install the gnu arm toolchain for ubuntu. I first downloaded the tar from CodeSourcery. However when …

linux ubuntu gcc arm gnu
grep --ignore-case --only

grep fails when using both --ignore-case and --only-match options. Example: $ echo "abc" | grep -io abc abc $ echo "ABC" | grep -io …

regex bash unix grep gnu
GnuPG: "decryption failed: secret key not available" error from gpg on Windows

Environment: HP laptop with Windows XP SP2 I had created some encrypted files using GnuPG (gpg) for Windows. Yesterday, my …

windows-xp gnu gnupg
How do I apply a diff patch on Windows?

There are plenty of programs out there that can create a diff patch, but I'm having a heck of a …

windows diff gnu patch