fix-bounding-box.prl

来自「一个用在mips体系结构中的操作系统」· PRL 代码 · 共 23 行

PRL
23
字号
#!/usr/local/bin/perl5 -w## Copyright (C) 1996-1998 by the Board of Trustees#    of Leland Stanford Junior University.# # This file is part of the SimOS distribution. # See LICENSE file for terms of the license. ## # Steve Herrod## Terrible hack to fix the bounding box... while (<>) {    if (/^\%\%BoundingBox: (\d+) (\d+) (\d+) (\d+)/) {        printf("%sBoundingBox: $1 $2 %s $4\n", "%%", $3+65);    } else {        print;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?