Displaying 2 results from an estimated 2 matches for "maryjean".
Did you mean:
kayjean
2008 Nov 24
4
Calculating sum of letter values
Hi all
If I have a string, say "ABCDA", and I want to convert this to the sum of the letter values, e.g.
A -> 1
B -> 2
etc, so "ABCDA" = 1+2+3+4+1 = 11
Is there an elegant way to do this? Trying something like
which(LETTERS %in% unlist(strsplit("ABCDA", "")))
is not quite correct, as it does not count repeated characters. I guess what I need is
2008 Feb 13
0
pdb_new_rid: Failed to find unused RID
...$2 " " $1 ":" $3}' | sort -n
======
...
3904 bobc:Clara Bob
3905 k121-001-26699$:Machine
3906 k121-01-26699$:Machine
65534 nobody:nobody
4294967295 16061-JPRM107$:16061-JPRM107$
4294967295 23562-JP-STENO2$:23562-JP-STENO2$
4294967295 J107-STN-01$:J107-STN-01$
...
4294967295 Maryjean Paluck:mpaluck
4294967295 hal:Hardware abstraction layer,,,
...
======
Here is the top part of the smb.conf
======
[global]
netbios name = SERVER
workgroup = WORKGROUP
server string = Server
dns proxy = no
strict locking = no
log file = /var/log/samba/log.%m
max log size = 100...