mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Fixed John's email address again.
John. Your email address is "john@lineo.com" not @line.com. :) -Erik
This commit is contained in:
parent
2cb55077e2
commit
cf53687376
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Lineo, inc.
|
* Copyright (C) 1999 by Lineo, inc.
|
||||||
* Written by John Beppu <beppu@line.com>
|
* Written by John Beppu <beppu@lineo.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -26,11 +26,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
const char head_usage[] =
|
const char head_usage[] =
|
||||||
"Usage: head [OPTION]... [FILE]...\n"
|
"Usage: head [FILE]...\n\n"
|
||||||
"Print first 10 lines of each FILE to standard output.\n"
|
"Print first 10 lines of each FILE to standard output.\n"
|
||||||
"With more than one FILE, precede each with a header giving the file name.\n"
|
"With more than one FILE, precede each with a header giving the\n"
|
||||||
"With no FILE, or when FILE is -, read standard input.\n\n"
|
"file name. With no FILE, or when FILE is -, read standard input.\n";
|
||||||
" -h display this help and exit\n";
|
|
||||||
|
|
||||||
int
|
int
|
||||||
head(int len, FILE *src)
|
head(int len, FILE *src)
|
||||||
@ -66,6 +65,7 @@ head_main(int argc, char **argv)
|
|||||||
if (argv[i][0] == '-') {
|
if (argv[i][0] == '-') {
|
||||||
opt = argv[i][1];
|
opt = argv[i][1];
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
case '-':
|
||||||
case 'h':
|
case 'h':
|
||||||
usage(head_usage);
|
usage(head_usage);
|
||||||
default:
|
default:
|
||||||
@ -103,4 +103,4 @@ head_main(int argc, char **argv)
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $Id: head.c,v 1.1 1999/12/10 07:42:50 beppu Exp $ */
|
/* $Id: head.c,v 1.2 1999/12/10 08:29:20 andersen Exp $ */
|
||||||
|
12
head.c
12
head.c
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999 by Lineo, inc.
|
* Copyright (C) 1999 by Lineo, inc.
|
||||||
* Written by John Beppu <beppu@line.com>
|
* Written by John Beppu <beppu@lineo.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -26,11 +26,10 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
const char head_usage[] =
|
const char head_usage[] =
|
||||||
"Usage: head [OPTION]... [FILE]...\n"
|
"Usage: head [FILE]...\n\n"
|
||||||
"Print first 10 lines of each FILE to standard output.\n"
|
"Print first 10 lines of each FILE to standard output.\n"
|
||||||
"With more than one FILE, precede each with a header giving the file name.\n"
|
"With more than one FILE, precede each with a header giving the\n"
|
||||||
"With no FILE, or when FILE is -, read standard input.\n\n"
|
"file name. With no FILE, or when FILE is -, read standard input.\n";
|
||||||
" -h display this help and exit\n";
|
|
||||||
|
|
||||||
int
|
int
|
||||||
head(int len, FILE *src)
|
head(int len, FILE *src)
|
||||||
@ -66,6 +65,7 @@ head_main(int argc, char **argv)
|
|||||||
if (argv[i][0] == '-') {
|
if (argv[i][0] == '-') {
|
||||||
opt = argv[i][1];
|
opt = argv[i][1];
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
case '-':
|
||||||
case 'h':
|
case 'h':
|
||||||
usage(head_usage);
|
usage(head_usage);
|
||||||
default:
|
default:
|
||||||
@ -103,4 +103,4 @@ head_main(int argc, char **argv)
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $Id: head.c,v 1.1 1999/12/10 07:42:50 beppu Exp $ */
|
/* $Id: head.c,v 1.2 1999/12/10 08:29:20 andersen Exp $ */
|
||||||
|
Loading…
Reference in New Issue
Block a user