newalias (用于为elm邮件阅读器程序安装新的别名)

rose1 发表于 2020-10-11 02:24
浏览次数:
在手机上阅读

在类似Unix的操作系统上,newalias命令用于为elm邮件阅读器程序安装新的别名。

查看英文版

目录

1 newalias 运行系统环境

2 newalias 说明

3 newalias 语法

newalias 运行系统环境

Linux

newalias 说明

newalias从文本文件创建新的哈希和数据文件。如果使用-g(全局)标志调用程序,则程序将更新系统别名文件。否则,程序将查找名为$ HOME / .elm / aliases.text的文件,并在找到该文件后创建文件$ HOME / .elm / aliases.dir,$ HOME / .elm / aliases.pag和$ HOME /。 elm / alias for elm程序。

程序期望的格式是:

alias, alias, .. = comment = address

或者

alias, alias, .. = comment = alias, alias, ...

第一种形式是针对单个用户的,例如:

dave, taylor = Dave Taylor = veeger!hpcnou!dat

或者作为:

dave, taylor = Taylor; Dave = veeger!hpcnou!dat

以允许别名按姓氏正确排序。第二个用于定义组别名,例如:

gurus = Unix Gurus = alan, john, dave, mike, I richard, larry, t_richardson

请注意,行可以随意继续,空白行可以无错误地被接受,并且任何以' # '开头的行都被视为注释并且不会被处理。

如果“注释”“地址”字段需要包含“ = ”字符,则这些字符必须使用反斜杠字符进行转义,或者地址必须在双引号(“)内。

别名不区分大小写,因此dave和Dave都是相同的别名。

最后,别名可以包含其他别名和/或组。例如:

unix = Unix people = gurus, taylor, jonboy

newalias creates new hash and data files from a text file. If the program is invoked with the -g (global) flag, the program updates the system alias files. Otherwise, the program looks for a file called $HOME/.elm/aliases.text and, upon finding it, creates files $HOME/.elm/aliases.dir$HOME/.elm/aliases.pag and $HOME/.elm/aliases for the elm program.

The format that the program expects is:

alias, alias, .. = comment = address

or

alias, alias, .. = comment = alias, alias, ...

The first form is for an individual user such as:

dave, taylor = Dave Taylor = veeger!hpcnou!dat

or optionally as:

dave, taylor = Taylor; Dave = veeger!hpcnou!dat

to allow the aliases to be properly sorted by last name. The second is for defining a group alias such as:

gurus = Unix Gurus = alan, john, dave, mike, I richard, larry, t_richardson

Note that lines can be continued at will, blank lines are accepted without error, and that any line starting with '#' is considered a comment and is not processed.

If the 'comment', or 'address' fields need to contain '=' characters, those characters must either be escaped using a backslash character or the address must be inside doublequotes (").

Aliases are not case sensitive so dave and Dave are both the same alias.

Finally, aliases can contain other aliases, and/or groups. For example:

unix = Unix people = gurus, taylor, jonboy

查看英文版

查看中文版

newalias 语法

newalias [-g]

档案

$HOME/.elm/aliases.text 用户的别名来源
$HOME/.elm/aliases.dir 用户的别名dbz目录
$HOME/.elm/aliases.pag 用户的别名dbz哈希文件
$HOME/.elm/aliases 用户的别名数据文件
/usr/lib/elm-me+/aliases.text 系统的别名来源
/usr/lib/elm-me+/aliases.dir 系统的别名dbz目录
/usr/lib/elm-me+/aliases.pag 系统的别名数据哈希表
/usr/lib/elm-me+/aliases 系统的别名数据文件
newalias [-g]

Files

$HOME/.elm/aliases.text alias source for user
$HOME/.elm/aliases.dir alias dbz directory for user
$HOME/.elm/aliases.pag alias dbz hash file for user
$HOME/.elm/aliases alias data file for user
/usr/lib/elm-me+/aliases.text alias source for system
/usr/lib/elm-me+/aliases.dir alias dbz directory for system
/usr/lib/elm-me+/aliases.pag alias data hash table for system
/usr/lib/elm-me+/aliases alias data file for system

查看英文版

查看中文版

其他命令行

newform | newgrp | niscat | nischmod | nischown | nischttl | nisdefaults | nl | nohup | nroff | nc | nisgrep | nispasswd | nistbladm | nice |

如此好文,分享给朋友
发表评论
验证码:
评论列表
共0条