#!/bin/bashs='123.456.789.01's="${s%.*}."echo "$s"
Standard input is empty
123.456.789.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!