我正在尝试在输出上运行 sedfind | grep \.ext$ 但是,sed 需要输入文件和输出文件。 如何将输出行保存到变量,或将其传递给 sed?
find | grep \.ext$
pipe sed find
find ×1
pipe ×1
sed ×1