#!/bin/sh text="abc=15/25" IFS='/' array=($text) echo $array[0]
abc=15[0]
echo $(array[0])
Edit: Tak to má být takto:Citaceecho $(array[0])