[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd for administrators, printable version.



On 19/11/14 18:05, Erwan David wrote:
> On Tue, Nov 18, 2014 at 05:34:20PM CET, Brian <ad44@cityscape.co.uk> said:
>> On Tue 18 Nov 2014 at 10:56:58 +0000, Jonathan Dowland wrote:
>>
>>> On Mon, Nov 17, 2014 at 07:54:48PM +0100, Erwan David wrote:
>>>
<snipped>
> 
> Not pdf, but printable
> 
>> That search term has
>>
>>    http://0pointer.de/blog/projects/systemd-pdf.html
>>
>> as its first result.
> 
> It gave this for you. 


> Google results vary depending on search history,

Sadly, whoever told you that was misinformed - and misinformed you.
Google results may vary according to the constantly updating search
index - and search terms - but the "search history", either stored in
your browser history, or your Google profile (if you login to a Google
account) does *not* affect results.

"printable" is a harder problem to answer. Unless you supply your
personal definition. While it's definitely a personal preference -
printing the Debian systemd man files is a definitive guide. I note that
is not a "paint-by-numbers" solution to "howto administer a systemd
system" - and hope you'll note there is difficulty defining what that
system is (we don't know what we don't know?). Despite you presumed best
intentions your subject and content leave lots of leeway to people
trying to help answer the question.

Please see the attached for a (crude) BASH on which to base printing an
exhaustive list of systemd man files.

I hope this may be a basis for future reference without provoking the
sort, um, unfortunate response you made to Brian:-
https://www.google.com/search?q="systemd"+NEAR+"for
administrators"+filetype%3Apdf

> it is not reliable. I got a page with all the pages (I to XXI I think)
> in wrong order. Maybe the result was in the middle and I missed it.

I can't reproduce your results. :(
I downloaded the pdf then printed it using Okular (with a little
juggling to get double-sided from a non-duplex laser printer).

> 
> 
> 
> 

Ref:-
http://0pointer.de/public/

In the hope it may prove useful - please see the (other) attached BASH
script

Kind regards
-- 

#!/bin/bash
# replace $YourPreferredPrinter with the appropriate value
for i in "man -k systemd";do zcat /usr/share/man/man1/$i.gz | groff -man -Tps | lpr -P $YourPreferredPrinter;done
#!/bin/bash
#Please replace $Url with the appropriate url.
curl $Url 2>&1 | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2

Reply to: