<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/cmdok/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 20 Sep 2017 02:16:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cmdok/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Oleksii Cherniavskyi</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -33,7 +33,7 @@
 ### Usage

 ~~~
- cmdok [OPTIONS] &lt;command&gt;&lt;/command&gt;..
+cmdok [OPTIONS] &lt;command&gt;&lt;/command&gt;..

 Options:
   -n             disable printing any status
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksii Cherniavskyi</dc:creator><pubDate>Wed, 20 Sep 2017 02:16:11 -0000</pubDate><guid>https://sourceforge.net0fe7f52624523938ae714dc0d633faf146dfc766</guid></item><item><title>Home modified by Oleksii Cherniavskyi</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -2,6 +2,8 @@

 **cmdok** checks that specified commands are OK. If command is OK than it exists in PATH and can be run. 
 It is a simple, small and portable Bash script. It is useful in software packages that want to check that some commands exist before trying to run them.
+
+

 ### Example

@@ -26,6 +28,8 @@
 fi
 ~~~

+
+
 ### Usage

 ~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksii Cherniavskyi</dc:creator><pubDate>Wed, 20 Sep 2017 02:12:25 -0000</pubDate><guid>https://sourceforge.net8ff0665cb559a950321e96294da6b9eef8a5d5d5</guid></item><item><title>Home modified by Oleksii Cherniavskyi</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -28,10 +28,12 @@

 ### Usage

+~~~
  cmdok [OPTIONS] &lt;command&gt;&lt;/command&gt;..

 Options:
-  -n                       disable printing any status
-  -f                        print status only on fail
-  -v                       display version information and exit
+  -n             disable printing any status
+  -f             print status only on fail
+  -v             display version information and exit
   &lt;command&gt;&lt;/command&gt;..    commands to check
+~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksii Cherniavskyi</dc:creator><pubDate>Wed, 20 Sep 2017 02:11:46 -0000</pubDate><guid>https://sourceforge.net053c6fce5258fc4371083e2e0703d4e32d22e008</guid></item><item><title>Home modified by Oleksii Cherniavskyi</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,37 @@
-Welcome to your wiki!
+### Description

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+**cmdok** checks that specified commands are OK. If command is OK than it exists in PATH and can be run. 
+It is a simple, small and portable Bash script. It is useful in software packages that want to check that some commands exist before trying to run them.

-The wiki uses [Markdown](/p/cmdok/wiki/markdown_syntax/) syntax.
+### Example

-[[members limit=20]]
-[[download_button]]
+~~~bash
+$ cmdok gcc
+checking gcc ... OK
+
+$ cmdok install tar gzip ar clang
+checking install ... OK
+checking tar ... OK
+checking gzip ... OK
+checking ar ... OK
+checking clang ... OK
+~~~
+
+**cmdok** retruns '0' on success. It can be used in scripts that check commands before running them. Example:
+~~~bash
+if cmdok -f install; then
+  install ...
+else
+  exit 1
+fi
+~~~
+
+### Usage
+
+ cmdok [OPTIONS] &lt;command&gt;&lt;/command&gt;..
+
+Options:
+  -n                       disable printing any status
+  -f                        print status only on fail
+  -v                       display version information and exit
+  &lt;command&gt;&lt;/command&gt;..    commands to check
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksii Cherniavskyi</dc:creator><pubDate>Wed, 20 Sep 2017 02:09:57 -0000</pubDate><guid>https://sourceforge.net36a15f36865c2591bd4edf7b7a2c7e3f45f0cb2c</guid></item><item><title>Home modified by Oleksii Cherniavskyi</title><link>https://sourceforge.net/p/cmdok/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/cmdok/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/ochern23/"&gt;Oleksii Cherniavskyi&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;&lt;br/&gt;
&lt;p&gt;&lt;span class="download-button-59c1c34ac18baf38970d3d3d" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oleksii Cherniavskyi</dc:creator><pubDate>Wed, 20 Sep 2017 01:24:27 -0000</pubDate><guid>https://sourceforge.net027e9df582f38743c1e84497ce34e75733008297</guid></item></channel></rss>