返回题目列表
COMP2041
22T2 Q3 — “happy” 目录
逐行打印当前目录下、其自身直接包含 ≥2 个条目(文件或子目录)的子目录名。不递归。按 shell glob(排序)顺序。
POSIX shell only (#!/bin/dash); standard UNIX filters. From COMP2041/9044 22T2 Final.
样例
stdin
期望输出
happyA happyC
shell
14