find .-name core | xargs file | grep "core file" | sed -e 's/^.*from\ //' -e s/\'//g,如题,解释一下这句话的意思,特别是sed命令后面的,

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/13 14:30:17
find .-name core | xargs file | grep

find .-name core | xargs file | grep "core file" | sed -e 's/^.*from\ //' -e s/\'//g,如题,解释一下这句话的意思,特别是sed命令后面的,
find .-name core | xargs file | grep "core file" | sed -e 's/^.*from\ //' -e s/\'//g,
如题,解释一下这句话的意思,特别是sed命令后面的,

find .-name core | xargs file | grep "core file" | sed -e 's/^.*from\ //' -e s/\'//g,如题,解释一下这句话的意思,特别是sed命令后面的,
sed:
-e 是连接两个匹配脚本
's/^.*from\ //' 删除每行所有以任意字符开始到字符串from之间的字符串
s/\'//g 删除每行所有的