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

Simplify netcat

parent dd8f053e
Branches
No related tags found
No related merge requests found
......@@ -30,5 +30,5 @@ echo $@ | netcat $host $port
# If action is "get" something, read answer
if [[ "$1" =~ "get" ]]
then
stdbuf -i0 $netcat
stdbuf -i0 -o0 -e0 $netcat
fi
......@@ -27,7 +27,7 @@ answer(){
then
netcat $host $port
else
stdbuf -oL cat $1 | netcat $host $port
netcat $host $port < $1
fi
}
......
......@@ -65,7 +65,7 @@ if(!isset($action)){
<p>
Vous pouvez trier la table ci dessous en cliquant sur la colonne que vous voulez.
<br />
Cliquer une deuxième fois inverser l'ordre de trie
Cliquer une deuxième fois inverser l'ordre de tri.
</p>
<div class="table-responsive">
<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