NILIf you want to write a script reading stdin and put it into a
variable, there is an very easy way to procede :
#!/bin/sh
var=`cat`
echo $var
That's all