From 05aa2608fef178828dab328ed8ac493c10205ddb Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Fri, 8 Jan 2016 21:43:23 -0600 Subject: [PATCH] Update man page with OS.HOSTNAME.USER --- yadm.1 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/yadm.1 b/yadm.1 index 20c85be..f5a95bb 100644 --- a/yadm.1 +++ b/yadm.1 @@ -251,7 +251,7 @@ This feature is enabled by default. .SH ALTERNATES When managing a set of files across different systems, it can be useful to have an automated way of choosing an alternate version of a file for a different -operation system or simply for a different host. +operation system, host, or user. .B yadm implements a feature which will automatically create a symbolic link to the appropriate version of a file, as long as you follow a specific naming @@ -260,7 +260,7 @@ convention. can detect files with names ending in: .RS -.BR ##OS.HOSTNAME " or " ##OS " or " ## +.BR ## " or " ##OS " or " ##OS.HOSTNAME " or " ##OS.HOSTNAME.USER .RE If there are any files managed by @@ -301,12 +301,14 @@ If running on a Solaris server, the link use the default "##" version: .IR $HOME/path/example.txt " -> " $HOME/path/example.txt## -If no "##" version exists and no files match the current OS or HOSTNAME, then no link will be created. +If no "##" version exists and no files match the current OS/HOSTNAME/USER, then no link will be created. OS is determined by running .BR uname\ -s , -and HOSTNAME by running -.BR hostname\ -s . +HOSTNAME by running +.BR hostname\ -s , +and USER by running +.BR id\ -u\ -n . .B yadm will automatically create these links by default. This can be disabled using the .I yadm.auto-alt