📄 stripcomments.pl
字号:
# Modifications to program2plain originally# Copyright (C) 1999, 2000, 2001, 2002 by Wolfgang Bangerth, University of Heidelberg# by John W. Peterson.# Now it doesn't put any html into the output.# ignore comments at the start of the program. this includes CVS# tags and copyright notices.$_ = <>;while ( m!^/[/\*]! || m/^$/ ) { $_ = <>;}do { # ignore comment lines if ( ! m!^\s*//! ) { print " $_"; }} while (<>);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -