From: nishi Date: Fri, 29 Mar 2024 02:12:14 +0000 (+0000) Subject: this looks better X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5ebbdaf936bde6619f13b2447769df7e5070a587;p=libw3.git this looks better git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@268 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Library/Core.c b/Library/Core.c index 9faf6be..d548569 100644 --- a/Library/Core.c +++ b/Library/Core.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/DNS.c b/Library/DNS.c index 88f28dc..decece5 100644 --- a/Library/DNS.c +++ b/Library/DNS.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/FTP.c b/Library/FTP.c index d05d97c..306423e 100644 --- a/Library/FTP.c +++ b/Library/FTP.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/File.c b/Library/File.c index a4c0c15..e5bcaa1 100644 --- a/Library/File.c +++ b/Library/File.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Finger.c b/Library/Finger.c index 1d0b029..d1ca1c8 100644 --- a/Library/Finger.c +++ b/Library/Finger.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Gemini.c b/Library/Gemini.c index fa7ab6e..9974d2f 100644 --- a/Library/Gemini.c +++ b/Library/Gemini.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Gopher.c b/Library/Gopher.c index ab2cd8a..487b5cb 100644 --- a/Library/Gopher.c +++ b/Library/Gopher.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/HTTP.c b/Library/HTTP.c index c42735f..1df48e8 100644 --- a/Library/HTTP.c +++ b/Library/HTTP.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/IRC.c b/Library/IRC.c index b388969..175436f 100644 --- a/Library/IRC.c +++ b/Library/IRC.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/NNTP.c b/Library/NNTP.c index ff96dd9..1124cbb 100644 --- a/Library/NNTP.c +++ b/Library/NNTP.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Nex.c b/Library/Nex.c index 7bdd402..caca131 100644 --- a/Library/Nex.c +++ b/Library/Nex.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/POP3.c b/Library/POP3.c index 66c5cf6..3937c15 100644 --- a/Library/POP3.c +++ b/Library/POP3.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Spartan.c b/Library/Spartan.c index a7b2153..e27b17a 100644 --- a/Library/Spartan.c +++ b/Library/Spartan.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Tag.c b/Library/Tag.c index 1fd2e2b..79742ec 100644 --- a/Library/Tag.c +++ b/Library/Tag.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Tcl.c b/Library/Tcl.c index 5e9bfe0..b57ff79 100644 --- a/Library/Tcl.c +++ b/Library/Tcl.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/URL.c b/Library/URL.c index 3d73799..5314578 100644 --- a/Library/URL.c +++ b/Library/URL.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/Util.c b/Library/Util.c index 45776c7..3a6c325 100644 --- a/Library/Util.c +++ b/Library/Util.c @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Core.h b/Library/W3Core.h index 64221be..43f52f9 100644 --- a/Library/W3Core.h +++ b/Library/W3Core.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3DNS.h b/Library/W3DNS.h index 001c44c..868d527 100644 --- a/Library/W3DNS.h +++ b/Library/W3DNS.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3FTP.h b/Library/W3FTP.h index 79acb8c..0582f3a 100644 --- a/Library/W3FTP.h +++ b/Library/W3FTP.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3File.h b/Library/W3File.h index 5e4d458..0ae0513 100644 --- a/Library/W3File.h +++ b/Library/W3File.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Finger.h b/Library/W3Finger.h index 9c903eb..3bc37d2 100644 --- a/Library/W3Finger.h +++ b/Library/W3Finger.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Gemini.h b/Library/W3Gemini.h index 498f216..f54a418 100644 --- a/Library/W3Gemini.h +++ b/Library/W3Gemini.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Gopher.h b/Library/W3Gopher.h index d481edc..6b5edf3 100644 --- a/Library/W3Gopher.h +++ b/Library/W3Gopher.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3HTTP.h b/Library/W3HTTP.h index 326c576..71ad078 100644 --- a/Library/W3HTTP.h +++ b/Library/W3HTTP.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3IRC.h b/Library/W3IRC.h index 7e4ae72..8ca6ee3 100644 --- a/Library/W3IRC.h +++ b/Library/W3IRC.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3NNTP.h b/Library/W3NNTP.h index 0534820..044caf3 100644 --- a/Library/W3NNTP.h +++ b/Library/W3NNTP.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Nex.h b/Library/W3Nex.h index 43cbfc0..68370cd 100644 --- a/Library/W3Nex.h +++ b/Library/W3Nex.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3POP3.h b/Library/W3POP3.h index 8f996c5..a561af2 100644 --- a/Library/W3POP3.h +++ b/Library/W3POP3.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Spartan.h b/Library/W3Spartan.h index be40466..ecb1c13 100644 --- a/Library/W3Spartan.h +++ b/Library/W3Spartan.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Tag.h b/Library/W3Tag.h index f564871..292d415 100644 --- a/Library/W3Tag.h +++ b/Library/W3Tag.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Tcl.h b/Library/W3Tcl.h index ecc76ac..c93b7d6 100644 --- a/Library/W3Tcl.h +++ b/Library/W3Tcl.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3URL.h b/Library/W3URL.h index e31f7a0..181c2db 100644 --- a/Library/W3URL.h +++ b/Library/W3URL.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Library/W3Util.h b/Library/W3Util.h index 3198d1a..6d00df3 100644 --- a/Library/W3Util.h +++ b/Library/W3Util.h @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/W3Version.h.m4 b/W3Version.h.m4 index 6ab1a71..28e05c3 100644 --- a/W3Version.h.m4 +++ b/W3Version.h.m4 @@ -1,9 +1,9 @@ /* $Id$ */ /* START LICENSE */ /* -------------------------------------------------------------------------- */ -/* The WWW Library - LibW3 */ -/* developed by Nishi */ -/* http://nishi.boats/libw3 */ +/* The WWW Library - LibW3 */ +/* developed by Nishi */ +/* http://nishi.boats/libw3 */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/replace.pl b/replace.pl index 6db3825..b248052 100755 --- a/replace.pl +++ b/replace.pl @@ -16,14 +16,24 @@ my $repl = "/* " . ("-" x $rep) . " */\n"; my $io = IO::Handle->new(); if(open $io, '<', "HEADER"){ + my $len = 0; while(<$io>){ my @list = $_ =~ /.{1,$rep}/g; for my $s (@list){ - $repl = $repl . "/* $s" . (" " x ($rep - length($s))) . " */\n"; + if(length($s) > $len){ + $len = length($s); + } } } - $repl = $repl . "/* " . ("-" x $rep) . " */\n"; $io->close; + open $io, '<', "HEADER"; + while(<$io>){ + my @list = $_ =~ /.{1,$rep}/g; + for my $s (@list){ + $repl = $repl . "/* " . (" " x ($rep - $len - 1)) . "$s" . (" " x ($len - length($s) + 1)) . " */\n"; + } + } + $repl = $repl . "/* " . ("-" x $rep) . " */\n"; } $io = IO::Handle->new();