We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1c8fa commit 8f9c705Copy full SHA for 8f9c705
Dockerfile
@@ -5,7 +5,8 @@ MAINTAINER Stephen Von Worley <svonworl@ucsc.edu>
5
6
USER root
7
RUN echo '#!/bin/bash' >> /usr/local/bin/grepc
8
-RUN echo 'grep -c $1 $2 > $3' >> /usr/local/bin/grepc
+RUN echo 'grep -c $1 $2 > out.txt' >> /usr/local/bin/grepc
9
+RUN echo '[ $? -le 1 ] && true' >> /usr/local/bin/grepc
10
RUN chmod a+x /usr/local/bin/grepc
11
12
CMD ["/bin/bash"]
0 commit comments