"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wordwrap.pl" between
pwgen-2.07.tar.gz and pwgen-2.08.tar.gz

About: pwgen generates secure or pronounceable passwords which are designed to be easily memorized by humans, while being as secure as possible.

wordwrap.pl  (pwgen-2.07):wordwrap.pl  (pwgen-2.08)
skipping to change at line 12 skipping to change at line 12
# #
# wordwrap.pl --- does word wrap # wordwrap.pl --- does word wrap
# #
while (<>) { while (<>) {
if (/^#/) { # don't word wrap comments if (/^#/) { # don't word wrap comments
print; print;
next; next;
} }
next if (/^$/); # skip blank lines next if (/^$/); # skip blank lines
$linelen = 0; $linelen = 0;
split; @words = split;
while (defined($word = shift @_)) { while (defined($word = shift @words)) {
$word =~ s#\$\(srcdir\)/\.\./version.h#\$\(top_srcdir\)/version.h#; $word =~ s#\$\(srcdir\)/\.\./version.h#\$\(top_srcdir\)/version.h#;
$word =~ s#\$\(srcdir\)/.\.\/\.\./version.h#\$\(top_srcdir\)/version.h#; $word =~ s#\$\(srcdir\)/.\.\/\.\./version.h#\$\(top_srcdir\)/version.h#;
$word =~ s#\$\(srcdir\)/.\.\/et/com_err.h#\$\(top_srcdir\)/lib/et/com_err .h#; $word =~ s#\$\(srcdir\)/.\.\/et/com_err.h#\$\(top_srcdir\)/lib/et/com_err .h#;
if ($linelen > 0) { if ($linelen > 0) {
printf(" "); printf(" ");
} }
$len = length($word) + 1; $len = length($word) + 1;
$linelen += $len; $linelen += $len;
if ($linelen > 78) { if ($linelen > 78) {
printf("\\\n "); printf("\\\n ");
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)