aboutsummaryrefslogtreecommitdiff
path: root/src/util/zfilelen.pl
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2005-03-08 18:53:11 +0000
committerMichael Brown <mcb30@etherboot.org>2005-03-08 18:53:11 +0000
commit3d6123e69ab879c72ff489afc5bf93ef0b7a94ce (patch)
tree9f3277569153a550fa8d81ebd61bd88f266eb8da /src/util/zfilelen.pl
downloadipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.zip
ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.gz
ipxe-3d6123e69ab879c72ff489afc5bf93ef0b7a94ce.tar.bz2
Initial revision
Diffstat (limited to 'src/util/zfilelen.pl')
-rwxr-xr-xsrc/util/zfilelen.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/zfilelen.pl b/src/util/zfilelen.pl
new file mode 100755
index 0000000..1f58ff9
--- /dev/null
+++ b/src/util/zfilelen.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/perl -w
+
+use bytes;
+
+local $/;
+$_ = <>;
+print length($_);
+exit;