Greetings.
On Wed, 19 Jun 2013 21:11:32 +0200 Galos, David galos...@students.rowan.edu
wrote:
Maybe now?
I would:
* submit as a patch
* write a manpage
* add usage
* eprintf something upon failure.
That’s exactly how I would accept the patch.
Sincerely,
Christoph Lohmann
On Tue, Jun 18, 2013 at 11:31:13AM -0400, Calvin Morrison wrote:
is there an interest in having the logname tool?
I have a basic implementation of it here:
https://github.com/mutantturkey/corefutiles/blob/master/logname.c
Some personal comments:
* Weird indentation. What coding style is
Damn it, without the semicolon now.
/* See LICENSE file for copyright and license details. */
#include unistd.h
#include stdio.h
int main(void)
{
char *login;
login = getlogin();
if (!login)
return 1;
puts(login);
return 0;
};
Maybe now?
/* See LICENSE file for copyright and license details. */
#include unistd.h
#include stdio.h
int main(void)
{
char *login;
login = getlogin();
if (!login)
return 1;
puts(login);
return 0;
}
On 18 June 2013 11:59, Alexander Huemer alexander.hue...@xx.vu wrote:
Maybe now?
I had just remembered the sbase project when I saw some other posts,
and remembered also when I was learning C my futile attempt at core
utils called core-futiles. The quality is poor
Now I know better.
Calvin
Maybe now?
I would:
* submit as a patch
* write a manpage
* add usage
* eprintf something upon failure.