gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit 45e892828afe6b7a7c3e49046bd380c02497f596
parent 1bed1901aa301b7806971419682e1988f03f188b
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 11 Jan 2021 12:16:31 -0800

Add and update license headers

Fix extra space on the existing license headers and add one to
net.c. Also remove the brief description of what this project does
and simply write "This file is part of gawk."

Diffstat:
Mcommand.c | 25+++++++++++++------------
Mmain.c | 25+++++++++++++------------
Mnet.c | 18++++++++++++++++++
Mutil.c | 25+++++++++++++------------
4 files changed, 57 insertions(+), 36 deletions(-)

diff --git a/command.c b/command.c @@ -1,18 +1,19 @@ -/* This file is part of gawk to browse gopher servers. - * Copyright (C) 2021 Jacob R. Edwards +/* Copyright 2021 Jacob R. Edwards * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This file is part of gawk. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <errno.h> diff --git a/main.c b/main.c @@ -1,18 +1,19 @@ -/* This file is part of gawk to browse gopher servers. - * Copyright (C) 2020, 2021 Jacob R. Edwards +/* Copyright 2020, 2021 Jacob R. Edwards * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This file is part of gawk. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <dirent.h> diff --git a/net.c b/net.c @@ -1,3 +1,21 @@ +/* Copyright 2021 Jacob R. Edwards + * + * This file is part of gawk. + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + #include <sys/socket.h> #include <errno.h> #include <netdb.h> diff --git a/util.c b/util.c @@ -1,18 +1,19 @@ -/* This file is part of gawk to browse gopher servers. - * Copyright (C) 2021 Jacob R. Edwards +/* Copyright 2021 Jacob R. Edwards * - * 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 - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * This file is part of gawk. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <sys/stat.h>