mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 14:50:17 +00:00
5bc2f642a7
1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu> * autolock.sh: Removed. * manual/move-if-change: Removed. * scripts: new directory. * =__ify: moved to scripts. * config.guess: Likewise. * config.sub: Likewise. * gen-FAQ.pl: Likewise. * install-sh: Likewise. * mkinstalldirs: Likewise. * move-if-change: Likewise. * printsources: Likewise. * rellns.sh: Likewise. * test-installation.pl: Likewise. * configure.in: Look in scripts for config.guess, config.sub, install-sh. * Makefile: Distribute all above files in their new home. Find gen-FAQ.pl and test-installation.pl in scripts. * manual/Makefile: Find mkinstalldirs and move-if-change in $(..)scripts. Drop them from distribute. Minor cleanups. * Makerules: Find mkinstalldirs and rellns-sh in scripts. * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts. * timezone/Makefile: Find rellns-sh in scripts.
30 lines
499 B
Tcsh
Executable File
30 lines
499 B
Tcsh
Executable File
#! /bin/csh -f
|
|
|
|
#
|
|
# Prints all the files given as arguments.
|
|
# Files that will fit on less than a printed page
|
|
# are concatenated together. Bigger ones are pr'd.
|
|
#
|
|
|
|
|
|
set tocat='' topr=''
|
|
|
|
foreach file ($*)
|
|
set lines=`wc -l $file | sed "s/$file//"`
|
|
if ($lines > 40) then
|
|
set topr=($topr $file)
|
|
else
|
|
set tocat=($tocat $file)
|
|
endif
|
|
end
|
|
|
|
|
|
if ("$topr" != '') pr $topr
|
|
|
|
if ("$tocat" != '') foreach file ($tocat)
|
|
echo -n "==================== $file ======================"
|
|
cat $file
|
|
end
|
|
|
|
exit 0
|