script help
C de-Avillez
hggdh2 at ubuntu.com
Mon Aug 23 12:23:41 UTC 2010
On Mon, 23 Aug 2010 12:41:34 +0100
Oliver Marshall <Oliver.Marshall at g2support.com> wrote:
> I can find an occurrence of the pattern string itself, but what's
> foxing me is extracting just the pattern values and then removing
> the "." characters to leave me with just the pattern numbers. ie
> from "Win vxx.yy.zz" to "xxyyzz"
man tr
$ echo "12.23.45.67" | tr -d "."
12234567
$
Cheers,
--
C de-Avillez
IRC: hggdh
This email (and any attachments) is digitally signed using GNUpg
(http://gnupg.org). The public key is available at http://pgp.mit.edu.
The key Id is 0xD3133E56.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100823/4fd8de00/attachment.sig>
More information about the ubuntu-users
mailing list