Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: third_party/xdg-utils/tests/include/listargs

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/tests/include/linux_distro ('k') | third_party/xdg-utils/tests/include/system_info » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/tests/include/listargs
===================================================================
--- third_party/xdg-utils/tests/include/listargs (revision 0)
+++ third_party/xdg-utils/tests/include/listargs (revision 0)
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+echo "argc:$#"
+
+declare -i argn=1
+while [ "$#" -gt 0 ] ; do
+ echo "arg$argn:$1"
+ shift 1
+ argn=$(( argn + 1 ))
+done
Property changes on: third_party/xdg-utils/tests/include/listargs
___________________________________________________________________
Name: svn:executable
+ *
« no previous file with comments | « third_party/xdg-utils/tests/include/linux_distro ('k') | third_party/xdg-utils/tests/include/system_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698