More whitespace cleanup.
[m4.git] / modules / stdlib.m4
blobdd482bdae0ba66146e727368c5caa341ca098db5
1 dnl Copyright (C) 2006, 2010 Free Software Foundation, Inc.
2 dnl This file is free software; the Free Software Foundation
3 dnl gives unlimited permission to copy and/or distribute it
4 dnl with or without modifications, as long as this notice is preserved.
5 load(`stdlib')
7 `getenv - 'getenv(PATH)
9 setenv TEST=??? setenv(`TEST', `???')
10 getenv TEST - getenv(`TEST')
12 setenv TEST=Second test setenv(`TEST', `Second test')
13 getenv TEST - getenv(`TEST')
15 unsetenv TEST unsetenv(`TEST')
16 getenv TEST - getenv(`TEST')
20 `getlogin - 'getlogin
21 `getcwd = 'getcwd
22 `getpid - 'getpid
23 `getppid - 'getppid
25 syscmd(`ps ajx|grep m4')
27 `getuid - 'getuid
29 user root - getpwnam(`root')
30 user sync - getpwnam(`sync')
31 user rene - getpwnam(`rene')
33 uid 5 - getpwuid(5)
34 me - getpwuid(getuid)
36 `hostname = 'hostname
38 `rand' - rand,rand,rand,rand
39 `srand' srand
40 `rand' - rand,rand,rand,rand
41 `srand' srand
42 `rand' - rand,rand,rand,rand
44 `uname - ' uname