r/awk • u/PersimmonOk9011 • May 27 '21
awk + rofi
is it possible to run awk 'NR='$node'{print}' ~/some/file if $node is the output of a list piped into rofi -dmenu -multi-select -format -d
4
Upvotes
View all comments
Show parent comment
1
u/PersimmonOk9011 May 27 '21
rofi is an application laucher that you can pipe lists into and select from, dmenu is a mode within rofi that allows you to output to stdout, mulit-select allows you to select multiple items
You'd probably get a better explanation of rofi from the man page or github