All pastes #416701 Raw Edit

Unnamed

public text v1 · immutable
#416701 ·published 2007-03-30 11:58 UTC
rendered paste body
#!/bin/sh

DATA="IN OUT"

read IN OUT <<< "$DATA"

echo $IN    #echos IN on the screen
echo $OUT #echos OUT on the screen


#above will work as a bash script, but not using standard /bin/sh on my machine
#any way to archieve the same thing just with /bin/sh or csh?