Displaying 3 results from an estimated 3 matches for "dmenu".
Did you mean:
menu
2019 Oct 30
2
Samba Web Administration Tool (SWAT)
On 29/10/2019 17:48, Steve Litt via samba wrote:
> On Thu, 11 Jul 2019 11:59:20 +0000
> Gerard Seibert via samba <samba at lists.samba.org> wrote:
>
>> I know that this has probably been asked before. As a long time user
>> of Samba, I remember using SWAT to configure Samba. It did seem, at
>> least to me, to simplify things. At the very least, it did prevent me,
2019 Oct 31
0
Samba Web Administration Tool (SWAT)
...s
> other manpages and last, but not least, there is the Samba wiki:
> https://wiki.samba.org/index.php/Main_Page
>
> Rowland
In that case, the following goes a long way toward what the OP wanted:
==============================
2>/dev/null testparm -sv | ./globalonly.awk | sort | dmenu -l 25
==============================
Where globalonly.awk follows:
==============================
#!/usr/bin/gawk -We
BEGIN { count = 0 }
/^\[/{ count++}
count == 1 {
gsub(/^[ \t]/, "", $0)
print $0
}
==============================
For extra credit, the OP can also run testparm with...
2019 Oct 31
1
Samba Web Administration Tool (SWAT)
...not least, there is the Samba wiki:
>> https://wiki.samba.org/index.php/Main_Page
>>
>> Rowland
>
> In that case, the following goes a long way toward what the OP wanted:
>
> ==============================
> 2>/dev/null testparm -sv | ./globalonly.awk | sort | dmenu -l 25
> ==============================
>
> Where globalonly.awk follows:
>
> ==============================
> #!/usr/bin/gawk -We
>
> BEGIN { count = 0 }
> /^\[/{ count++}
> count == 1 {
> gsub(/^[ \t]/, "", $0)
> print $0
> }
> ===============...