i have input in below form
part=gfjhwhedaqh=ghdgwg^*^(G==
i want to remove the starting "part=" and retain the remaining. please suggest
i have input in below form
part=gfjhwhedaqh=ghdgwg^*^(G==
i want to remove the starting "part=" and retain the remaining. please suggest
newstr=`echo "part=gfjhwhedaqh=ghdgwg^*^(G=="|cut -d"=" -f2-`
thanks. just to add how do i interpret the "-" after -f2
str='part=gfjhwhedaqh=ghdgwg^*^(G=='
newstr=${str#part=}
-f2-
means from field 2nd to last. If i say
-f2-f4
it means from field 2nd to field 4th.