out=$(ack "$@" . | fzf --no-height -e --no-sort \ --query=“$query” —print-query); do query=$(head -1 <<< "$out") file=$(sed '1d' <<< "$out" | awk -F : '{print $1}') line=$(sed '1d' <<< "$out" | awk -F : '{print $2}') [ -z "$file" ] && continue less -N -R +$line $file done } ‣ Ҿͳ͠ͰΧϨϯτσΟϨΫτϦҎԼͷશιʔείʔυΛදࣔ ‣ FOUFSΛԡ͢ͱߦҐஔΛࢦఆͯ͠MFTTͰ։͘ ‣ MFTTΛൈ͚Δͱ࠶ͼG[Gͷը໘ʹΔ ΫΤϦจࣈҾ͖ܧ͙ ‣ ةݥͳ߳Γ͕͢Δ໊͚ؔͩͲؾʹ͠ͳ͍ͰͶ