Fossil

Check-in [cbf8782d56]
Login

Check-in [cbf8782d56]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add the test-echo command - useful for investigation the wildcard expansion behavior of shells.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cbf8782d562fb44058f5282fbd15b419e407ed89
User & Date: drh 2011-04-07 22:41:47.772
Context
2011-04-08
17:09
Fix copy-paste issues with the header comment for the tarball generator. ... (check-in: e5609b76cb user: drh tags: trunk)
17:08
Begin adding code to implement "login groups" which will (we hope) ultimately lead to a single sign-on capability. ... (check-in: eec32b99dd user: drh tags: login-groups)
2011-04-07
22:41
Add the test-echo command - useful for investigation the wildcard expansion behavior of shells. ... (check-in: cbf8782d56 user: drh tags: trunk)
17:36
Update the built-in SQLite to the latest 3.7.6 beta. ... (check-in: 8caf7e1691 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
1442
1443
1444
1445
1446
1447
1448













    zBrowser = db_get("web-browser", "start");
    zBrowserCmd = mprintf("%s http://127.0.0.1:%%d/", zBrowser);
  }
  db_close(1);
  win32_http_server(iPort, mxPort, zBrowserCmd, zStopperFile, zNotFound, flags);
#endif
}




















>
>
>
>
>
>
>
>
>
>
>
>
>
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
    zBrowser = db_get("web-browser", "start");
    zBrowserCmd = mprintf("%s http://127.0.0.1:%%d/", zBrowser);
  }
  db_close(1);
  win32_http_server(iPort, mxPort, zBrowserCmd, zStopperFile, zNotFound, flags);
#endif
}

/*
** COMMAND:  test-echo
**
** Echo all command-line arguments (enclosed in [...]) to the screen so that
** wildcard expansion behavior of the host shell can be investigated.
*/
void test_echo_cmd(void){
  int i;
  for(i=0; i<g.argc; i++){
    printf("argv[%d] = [%s]\n", i, g.argv[i]);
  }
}