我想在我的代码中找到超过一定长度的行。我的代码在多个文件中。有什么好方法可以做到这一点?
我想知道文件和行号;内容将是首选,但不是必需的。练习的目的是弄清楚如何断线(可能是手动)。
当我运行 yum check (或尝试使用 yum 通常更新我的系统)时,我得到以下信息:
# yum check
Loaded plugins: langpacks, presto, priorities, refresh-packagekit
krb5-devel-1.10.2-12.fc17.x86_64 has missing requires of keyutils-libs-devel
krb5-devel-1.10.2-12.fc17.x86_64 has missing requires of libselinux-devel
libdb-5.3.21-3.fc18.x86_64 is a duplicate with libdb-5.2.36-5.fc17.x86_64
1:openssl-1.0.0k-1.fc17.x86_64 is obsoleted by 1:openssl-libs-1.0.1c-7.fc18.x86_64
1:openssl-1.0.1c-7.fc18.x86_64 is a duplicate with 1:openssl-1.0.0k-1.fc17.x86_64
rpm-4.10.1-3.fc18.x86_64 is a duplicate with rpm-4.9.1.3-8.fc17.x86_64
rpm-build-libs-4.10.1-3.fc18.x86_64 is a duplicate with rpm-build-libs-4.9.1.3-8.fc17.x86_64
rpm-libs-4.10.1-3.fc18.x86_64 is a duplicate with rpm-libs-4.9.1.3-8.fc17.x86_64
rpm-python-4.10.1-3.fc18.x86_64 is a duplicate with rpm-python-4.9.1.3-8.fc17.x86_64
sqlite-3.7.11-3.fc17.x86_64 is a duplicate with sqlite-3.7.11-2.fc17.x86_64
Error: check all
Run Code Online (Sandbox Code Playgroud)
特别是对于重复项,如果我尝试卸载它们,则会卸载一堆其他包(对于“与“重复”两侧的每个包)。我该如何解决?
至于缺少的需求,我假设 …
我刚刚用 gnome 安装了 Fedora 20。如何添加可以通过可视化 shell 调用的新程序?(特别是,我希望能够点击一个图标来运行 emacs)。
我已经安装了alacarte,没有效果(当我添加一个项目时,它没有出现在任何地方,也无法通过搜索找到)。
我更喜欢一个可视化的解决方案,而不是对文件进行模糊处理。