⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changes

📁 早期freebsd实现
💻
字号:
#!/usr/bin/perl -P# $Header: changes,v 4.0 91/03/20 01:08:56 lwall Locked $($dir, $days) = @ARGV;$dir = '/' if $dir eq '';$days = '14' if $days eq '';# Masscomps do things differently from Suns#if defined(mc300) || defined(mc500) || defined(mc700)open(Find, "find $dir -mtime -$days -print |") ||	die "changes: can't run find";#elseopen(Find, "find $dir \\( -fstype nfs -prune \\) -o -mtime -$days -ls |") ||	die "changes: can't run find";#endifwhile (<Find>) {#if defined(mc300) || defined(mc500) || defined(mc700)    $x = `/bin/ls -ild $_`;    $_ = $x;    ($inode,$perm,$links,$owner,$group,$size,$month,$day,$time,$name)      = split(' ');#else    ($inode,$blocks,$perm,$links,$owner,$group,$size,$month,$day,$time,$name)      = split(' ');#endif    printf("%10s%3s %-8s %-8s%9s %3s %2s %s\n",	    $perm,$links,$owner,$group,$size,$month,$day,$name);}

⌨️ 快捷键说明

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