From unknown Fri Aug 15 02:02:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18585 <18585@debbugs.gnu.org> To: bug#18585 <18585@debbugs.gnu.org> Subject: Status: Bad count in WC command? Reply-To: bug#18585 <18585@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:02:46 +0000 retitle 18585 Bad count in WC command?=20=20 reassign 18585 coreutils submitter 18585 "Schapovalov, Sebastian" severity 18585 normal tag 18585 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 29 16:35:38 2014 Received: (at submit) by debbugs.gnu.org; 29 Sep 2014 20:35:38 +0000 Received: from localhost ([127.0.0.1]:55597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhfS-00084X-Ba for submit@debbugs.gnu.org; Mon, 29 Sep 2014 16:35:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33713) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYazC-00066i-Dz for submit@debbugs.gnu.org; Mon, 29 Sep 2014 09:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYaz1-0001cb-1s for submit@debbugs.gnu.org; Mon, 29 Sep 2014 09:27:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_80,HTML_MESSAGE, RCVD_IN_BL_SPAMCOP_NET autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYaz0-0001a9-Vb for submit@debbugs.gnu.org; Mon, 29 Sep 2014 09:27:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYayo-0001sc-8T for bug-coreutils@gnu.org; Mon, 29 Sep 2014 09:27:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYaye-0001LN-HE for bug-coreutils@gnu.org; Mon, 29 Sep 2014 09:27:06 -0400 Received: from smtptc.telefonica.com ([195.76.34.108]:39473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYaye-0001Jt-1d for bug-coreutils@gnu.org; Mon, 29 Sep 2014 09:26:56 -0400 Received: from smtptc.telefonica.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6646137035A for ; Mon, 29 Sep 2014 15:26:42 +0200 (CEST) Received: from ESTGVMSP105.EUROPE.telefonica.corp (unknown [10.92.4.9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtptc.telefonica.com (Postfix) with ESMTPS id 4CDCF370338 for ; Mon, 29 Sep 2014 15:26:42 +0200 (CEST) Received: from emea01-am1-obe.outbound.protection.outlook.com (10.92.5.139) by tls.telefonica.com (10.92.6.51) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 29 Sep 2014 15:26:41 +0200 Received: from AMSPR06MB133.eurprd06.prod.outlook.com (10.242.91.11) by AMSPR06MB136.eurprd06.prod.outlook.com (10.242.91.24) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Mon, 29 Sep 2014 13:25:40 +0000 Received: from AMSPR06MB133.eurprd06.prod.outlook.com ([169.254.16.116]) by AMSPR06MB133.eurprd06.prod.outlook.com ([169.254.16.116]) with mapi id 15.00.1039.011; Mon, 29 Sep 2014 13:25:40 +0000 From: "Schapovalov, Sebastian" To: "bug-coreutils@gnu.org" Subject: Bad count in WC command? Thread-Topic: Bad count in WC command? Thread-Index: Ac/b6LWG1oiTWmRMSQedmHjFxJmkEA== Date: Mon, 29 Sep 2014 13:25:40 +0000 Message-ID: Accept-Language: es-AR, en-US Content-Language: es-ES X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [168.226.40.17] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AMSPR06MB136; x-forefront-prvs: 034902F5BC x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(120916001)(50986999)(87936001)(54356999)(2656002)(76576001)(92566001)(66066001)(2351001)(85306004)(77982003)(95666004)(108616004)(64706001)(74662003)(80022003)(74502003)(107886001)(86362001)(81542003)(46102003)(81342003)(79102003)(90102001)(10300001)(76482002)(99396003)(105586002)(107046002)(97736003)(106356001)(77096002)(20776003)(33646002)(19625215002)(16236675004)(229853001)(19300405004)(85852003)(15975445006)(31966008)(101416001)(21056001)(83072002)(15202345003)(74316001)(110136001)(19580395003)(83322001)(4396001)(24736002)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:AMSPR06MB136; H:AMSPR06MB133.eurprd06.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Content-Type: multipart/alternative; boundary="_000_f1395c54e9f4441cb019615465d11bd9AMSPR06MB133eurprd06pro_" MIME-Version: 1.0 X-OriginatorOrg: telefonica.com X-TM-AS-MML: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 29 Sep 2014 16:35:30 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.1 (---) --_000_f1395c54e9f4441cb019615465d11bd9AMSPR06MB133eurprd06pro_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, I was testing one parameter in my .sh and realised that the wc comma= nd return a different value that I was expected. I send you a couple examp= les. I have to validate a celular telephone number (in Argentina), so, it has to= be a 10 chars parameter. sarasa() -- seba > echo 1029384756 | wc -c 11 sarasa () -- seba > echo "1029384756" | wc -c 11 sarasa () -- seba > echo 1029384756 | wc -m 11 sarasa () -- seba > echo "1029384756" | wc -m 11 I got the correct value only with the =E2=80=9C=E2=80=93L=E2=80=9D option. sarasa () -- seba > echo 1029384756 | wc -L 10 sarasa () -- seba > echo "1029384756" | wc -L 10 I tested it (with same output) in: Linux 2.6.9-78.0.22.ELlargesmp #1 SMP Fri Apr 24 12:59:13 EDT 2009 x86_64 x= 86_64 x86_64 GNU/Linux and Linux 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686= i686 i386 GNU/Linux Regards! (and excuse me for my bad english) Seba ________________________________ Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, pu= ede contener informaci=C3=B3n privilegiada o confidencial y es para uso exc= lusivo de la persona o entidad de destino. Si no es usted. el destinatario = indicado, queda notificado de que la lectura, utilizaci=C3=B3n, divulgaci= =C3=B3n y/o copia sin autorizaci=C3=B3n puede estar prohibida en virtud de = la legislaci=C3=B3n vigente. Si ha recibido este mensaje por error, le roga= mos que nos lo comunique inmediatamente por esta misma v=C3=ADa y proceda a= su destrucci=C3=B3n. The information contained in this transmission is privileged and confidenti= al information intended only for the use of the individual or entity named = above. If the reader of this message is not the intended recipient, you are= hereby notified that any dissemination, distribution or copying of this co= mmunication is strictly prohibited. If you have received this transmission = in error, do not read it. Please immediately reply to the sender that you h= ave received this communication in error and then delete it. Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinat=C3=A1= rio, pode conter informa=C3=A7=C3=A3o privilegiada ou confidencial e =C3=A9= para uso exclusivo da pessoa ou entidade de destino. Se n=C3=A3o =C3=A9 vo= ssa senhoria o destinat=C3=A1rio indicado, fica notificado de que a leitura= , utiliza=C3=A7=C3=A3o, divulga=C3=A7=C3=A3o e/ou c=C3=B3pia sem autoriza= =C3=A7=C3=A3o pode estar proibida em virtude da legisla=C3=A7=C3=A3o vigent= e. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imedi= atamente por esta mesma via e proceda a sua destrui=C3=A7=C3=A3o --_000_f1395c54e9f4441cb019615465d11bd9AMSPR06MB133eurprd06pro_ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hello, I was testing one parameter in my .sh and rea= lised that the wc command return a different value that I was expected.&nbs= p; I send you a couple examples.

 

I have to validate a celular telephone number (in= Argentina), so, it has to be a 10 chars parameter.

 

sarasa() -- seba > e= cho 1029384756 | wc -c     

11

 

sarasa () -- seba > = echo "1029384756" | wc -c

11

 

sarasa () -- seba > = echo 1029384756 | wc -m

11

 

sarasa () -- seba > = echo "1029384756" | wc -m

11

 

I got the correct value only with the =E2=80=9C= =E2=80=93L=E2=80=9D option.

 

sarasa () -- seba > = echo 1029384756 | wc -L

10

 

sarasa () -- seba > = echo "1029384756" | wc -L

10

 

I tested it (with same output) in:

 

Linux 2.6.9-78.0.22.ELl= argesmp #1 SMP Fri Apr 24 12:59:13 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux<= o:p>

and

Linux 3.2.0-29-generic-= pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux

 

 

Regards! (and excuse me for my bad english)

 

Seba




Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, pu= ede contener informaci=C3=B3n privilegiada o confidencial y es para uso exc= lusivo de la persona o entidad de destino. Si no es usted. el destinatario = indicado, queda notificado de que la lectura, utilizaci=C3=B3n, divulgaci=C3=B3n y/o copia sin autorizaci=C3=B3= n puede estar prohibida en virtud de la legislaci=C3=B3n vigente. Si ha rec= ibido este mensaje por error, le rogamos que nos lo comunique inmediatament= e por esta misma v=C3=ADa y proceda a su destrucci=C3=B3n.

The information contained in this transmission is privileged and confidenti= al information intended only for the use of the individual or entity named = above. If the reader of this message is not the intended recipient, you are= hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If y= ou have received this transmission in error, do not read it. Please immedia= tely reply to the sender that you have received this communication in error= and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinat=C3=A1= rio, pode conter informa=C3=A7=C3=A3o privilegiada ou confidencial e =C3=A9= para uso exclusivo da pessoa ou entidade de destino. Se n=C3=A3o =C3=A9 vo= ssa senhoria o destinat=C3=A1rio indicado, fica notificado de que a leitura, utiliza=C3=A7=C3=A3o, divulga=C3=A7=C3=A3o e/ou c=C3=B3pia sem au= toriza=C3=A7=C3=A3o pode estar proibida em virtude da legisla=C3=A7=C3=A3o = vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique= imediatamente por esta mesma via e proceda a sua destrui=C3=A7=C3=A3o
--_000_f1395c54e9f4441cb019615465d11bd9AMSPR06MB133eurprd06pro_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 29 16:47:07 2014 Received: (at control) by debbugs.gnu.org; 29 Sep 2014 20:47:07 +0000 Received: from localhost ([127.0.0.1]:55607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhqd-0008OZ-8g for submit@debbugs.gnu.org; Mon, 29 Sep 2014 16:47:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22323) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhqa-0008OM-Ce; Mon, 29 Sep 2014 16:47:05 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8TKl3t3007264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Sep 2014 16:47:03 -0400 Received: from [10.3.113.28] (ovpn-113-28.phx2.redhat.com [10.3.113.28]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8TKl2qk027426; Mon, 29 Sep 2014 16:47:02 -0400 Message-ID: <5429C546.3090304@redhat.com> Date: Mon, 29 Sep 2014 14:47:02 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: "Schapovalov, Sebastian" , 18585-done@debbugs.gnu.org Subject: Re: bug#18585: Bad count in WC command? References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OUihvrQX6TNCM9vseHJAwhT2D3GW4uEHu" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OUihvrQX6TNCM9vseHJAwhT2D3GW4uEHu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 18585 notabug thanks On 09/29/2014 07:25 AM, Schapovalov, Sebastian wrote: > Hello, I was testing one parameter in my .sh and realised that the wc c= ommand return a different value that I was expected. I send you a couple= examples. >=20 > I have to validate a celular telephone number (in Argentina), so, it ha= s to be a 10 chars parameter. >=20 > sarasa() -- seba > echo 1029384756 | wc -c > 11 Classic user mistake. 'echo' outputs a trailing newline, which IS a character, > sarasa () -- seba > echo 1029384756 | wc -L > 10 but does NOT contribute to the length of the longest line. Try comparing these two commands echo 1029384756 | oc -tx1z printf 1029384756 | oc -tx1z to see what I mean. I'm closing this as not a bug, but feel free to ask further questions. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --OUihvrQX6TNCM9vseHJAwhT2D3GW4uEHu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUKcVGAAoJEKeha0olJ0Nqrp0IAKAWoFGWCoC1XT2AdFy4qd+j NkHi7qwPo4OO0AhJCtInjCrhqie/xnpe9DhWDZBaGv5yrL1iDTXWk/DDcq9TaGAz izu80rpbxF+iceR0ujbA9bUtdsMkJz9IcBOXIaCASD17iU1xK/qFYohFT75AL1+V 0gUj54s4HL93wU+tCe+V49h3UKFRzNmUL1bBBHa60J9pBmgL/9KysWDXVBjT1dXY pJW7kvYVlvryQrVczFiYLkLrt3Vc2SeCSeg1gNAlphavoz9leRVfbsVX58NanLnI G0p4Kx2Ci0u2LqXf2Xz7+96cM2yOrZKBIBCx0u73S8hwc0ZtcertjKSFvupiNZM= =SCf8 -----END PGP SIGNATURE----- --OUihvrQX6TNCM9vseHJAwhT2D3GW4uEHu-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 29 16:54:48 2014 Received: (at 18585) by debbugs.gnu.org; 29 Sep 2014 20:54:49 +0000 Received: from localhost ([127.0.0.1]:55619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhy4-000090-AJ for submit@debbugs.gnu.org; Mon, 29 Sep 2014 16:54:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhy1-00008o-FW for 18585@debbugs.gnu.org; Mon, 29 Sep 2014 16:54:46 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8TKsixV010379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Sep 2014 16:54:44 -0400 Received: from [10.3.113.28] (ovpn-113-28.phx2.redhat.com [10.3.113.28]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8TKshe9000604; Mon, 29 Sep 2014 16:54:44 -0400 Message-ID: <5429C713.20001@redhat.com> Date: Mon, 29 Sep 2014 14:54:43 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: 18585@debbugs.gnu.org, sebastian.schapovalov@telefonica.com Subject: Re: bug#18585: Bad count in WC command? References: <5429C546.3090304@redhat.com> In-Reply-To: <5429C546.3090304@redhat.com> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GnDvfWNXS4mdTlXGo1jlAcsMM2QjXQdhK" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: 18585 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GnDvfWNXS4mdTlXGo1jlAcsMM2QjXQdhK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/29/2014 02:47 PM, Eric Blake wrote: > tag 18585 notabug > thanks >=20 > On 09/29/2014 07:25 AM, Schapovalov, Sebastian wrote: >> Hello, I was testing one parameter in my .sh and realised that the wc = command return a different value that I was expected. I send you a coupl= e examples. >> >> I have to validate a celular telephone number (in Argentina), so, it h= as to be a 10 chars parameter. >> >> sarasa() -- seba > echo 1029384756 | wc -c >> 11 >=20 > Classic user mistake. 'echo' outputs a trailing newline, which IS a > character, >=20 >> sarasa () -- seba > echo 1029384756 | wc -L >> 10 >=20 > but does NOT contribute to the length of the longest line. Try > comparing these two commands >=20 > echo 1029384756 | oc -tx1z > printf 1029384756 | oc -tx1z Typo; I meant 'od' in both lines, not 'oc'. >=20 > to see what I mean. >=20 > I'm closing this as not a bug, but feel free to ask further questions. >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --GnDvfWNXS4mdTlXGo1jlAcsMM2QjXQdhK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUKccTAAoJEKeha0olJ0NqKY4H/i00OfEdmxmp9uQX7wfft5WV Qn8A5tWuiMYPZzDTZvSqmunjn7z43QsKgr1+B8mKO62TaXuPNALynlsCHxbf3MGn NDLEvozA7hAYqqd3U4Sq0fP8wwvPP2kXhViPJ2gbdFEdvMsXnNnP/1MI3/krkAYB s0rtyR9KQxc5exwwHDCAWMRpRPx33S8aZSkjr1+a/sg3S5REBPruBHgFy9HH1Tuy iP3RrbFwTuXGZGaEgtWh31MU37Tl/NRK8BiBpSAYk09Y9DhswhNjHQ57X8kJodQj MjCfK2Ka6kcQiHA4ItVeoU8N+yKPWZ0nBYg4zjkLK2Xk1bwvCm0rL871dhrdd/c= =Y84z -----END PGP SIGNATURE----- --GnDvfWNXS4mdTlXGo1jlAcsMM2QjXQdhK-- From unknown Fri Aug 15 02:02:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Oct 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator