Skip to content
Snippets Groups Projects
Verified Commit d8fce8a2 authored by David Beniamine's avatar David Beniamine
Browse files

Simplify netcat

parent dd8f053e
No related branches found
No related tags found
No related merge requests found
...@@ -30,5 +30,5 @@ echo $@ | netcat $host $port ...@@ -30,5 +30,5 @@ echo $@ | netcat $host $port
# If action is "get" something, read answer # If action is "get" something, read answer
if [[ "$1" =~ "get" ]] if [[ "$1" =~ "get" ]]
then then
stdbuf -i0 $netcat stdbuf -i0 -o0 -e0 $netcat
fi fi
...@@ -27,7 +27,7 @@ answer(){ ...@@ -27,7 +27,7 @@ answer(){
then then
netcat $host $port netcat $host $port
else else
stdbuf -oL cat $1 | netcat $host $port netcat $host $port < $1
fi fi
} }
......
...@@ -65,7 +65,7 @@ if(!isset($action)){ ...@@ -65,7 +65,7 @@ if(!isset($action)){
<p> <p>
Vous pouvez trier la table ci dessous en cliquant sur la colonne que vous voulez. Vous pouvez trier la table ci dessous en cliquant sur la colonne que vous voulez.
<br /> <br />
Cliquer une deuxième fois inverser l'ordre de trie Cliquer une deuxième fois inverser l'ordre de tri.
</p> </p>
<div class="table-responsive"> <div class="table-responsive">
<table class="table-striped table-bordered table-hover" style="text-align:center;"> <table class="table-striped table-bordered table-hover" style="text-align:center;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment