Re: Some question regarding tail and option "-c" (original) (raw)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Robert Milasan
Subject: Re: Some question regarding tail and option "-c"
Date: Thu, 4 Oct 2012 10:31:12 +0200

On Thu, 04 Oct 2012 10:14:15 +0200 "Jim Meyering" <address@hidden> wrote:

You can check by seeing how lib/posixver.c is compiled or by running a command like the following. Here's what I see on Fedora 17 and newer:

_$ gcc -x c -dD -E -include unistd.h /dev/null _ |grep -E 'fine ?POSIX2(THIS)?VERS' _#define POSIX2THISVERSION 200809L _#define POSIX2VERSION POSIX2THISVERSION

When in doubt, you can use gdb to trace through the code, too.

This is the output:

gcc -x c -dD -E -include unistd.h /dev/null |grep -E 'fine_?POSIX2(THIS_)?VERS' #define __POSIX2_THIS_VERSION 200809L #define _POSIX2_VERSION __POSIX2_THIS_VERSION

-- Robert Milasan

L3 Support Engineer SUSE Linux email: address@hidden GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A