And if you want to print out a nice troff formatted version of a man page (looks great on most printers), you can use the nifty -t switch:
man -t printf | lpr
(You need troff installed, but that should be there on any *nix-like OS worth having =)
perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'
In reply to Re: Re: Using printf
by arturo
in thread Using printf
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |