2

User:Ktvoelker/prompt

view story
linux-howto

http://aerosuidae.net – New pageThis script uses dmenu as a text-entry prompt and then passes the input along to a command. It is not very robust. #!/usr/bin/env perl my ($prompt, @exec) = @ARGV; my $data = `echo -n | dmenu -b -p '$prompt'`; foreach (@exec) { s/__DATA__/$data/g; } exec @exec; (Software)