面试题答案一键面试#!/bin/bash awk -F: '$2 >= 18 {print $3 " - " $2 " - " $1}' records.txt | sed 's/^/职业 - 年龄 - 姓名\n/' > new_records.txt