K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / language-tools /
server ip : 104.21.89.46

your ip : 172.70.127.176

H O M E


Filename/usr/share/language-tools/locale2papersize
Size319
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:54
Last modified18-Jan-2014 02:14
Last accessed05-Jul-2025 01:04
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh -e
#
# locale2papersize outputs the paper size "a4" or "letter" based on
# the height and width in the locale that is passed as an argument.

export LC_PAPER=$1

height=$( locale height )
width=$( locale width )

if [ "$height" = 279 -a "$width" = 216 ]; then
size=letter
else
size=a4
fi

echo $size