On second thought, this paragraph from the bash man page suggests that
the Wiki should be changed:
=====
There is no mechanism for using arguments in the replacement text. If
arguments are needed, a shell function should be used (see FUNCTIONS
below).
=====
So... I guess....
function manp () { man -t $* | open -f -a Skim; }
or just...
manp () { man -t $* | open -f -a Skim; }
Maybe you could put that line as well as the CSH line in the Wiki.
--Ted
Ted Pavlic wrote:
> Also, the "following line" on the Skim wiki says it's for .bashrc,
> but it's actually a .cshrc line. Bash aliases have an equals (=) sign
> between alias and definition.
>
> --Ted
>
> Ted Pavlic wrote:
>> On the Skim wiki:
>>
>> http://skim-app.sourceforge.net/wiki/index.php/Tips_and_Tricks#Reading_man_pages_in_Skim
>>
>>
>>
>> It states: ===== The following line can be used to show the man
>> page for bash in Skim (of course this works for any shell command).
>> =====
>>
>> However, this only works for shell commands that output PostScript.
>> It doesn't work for plain text.
>>
>> Is there any way to have Skim display text files on a white
>> background? I guess a better question asks if there is any way to
>> generate PostScript easily from text files. <?>
>>
>
--
Ted Pavlic <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users