需要帮助搜索评论行Perl脚本 [英] NEED HELP IN Search comment lines Perl script

查看:59
本文介绍了需要帮助搜索评论行Perl脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。


这个帖子ihttp://www.thescripts.com/forum/thread50290.html包含了我需要但我无法理解的一些代码我需要更多的解释....

Hello all

this thread ihttp://www.thescripts.com/forum/thread50290.html contains what i need but i cannot understand some of the code i need more explain ....


展开 | 选择 | Wrap | 行号

推荐答案

您还没有发布过问题或告诉我们你要做什么。忘记你发布的东西并重新开始。描述你的问题并发布正在使用的代码。
You have not posted a question or told us what you are trying to do. Forget that stuff you posted and start over. Describe your problem and post the code you are working with.


对不起......,



我想编写一个perl脚本,它会在我的named.conf文件中为Bind注释掉一个域。


作为我做的测试我的主目录中的一个文件对它进行测试...


文件是/ home / blackice / hello


和我写的这个脚本

sorry for that ....,


I want to write a perl script which will comment out a domain in my named.conf file for Bind.

as a test i made a file in my home directory to perform tests on it ...

the file is /home/blackice/hello

and i wrote this script

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号


试试这个测试:

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


这篇关于需要帮助搜索评论行Perl脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆