>> why adding solaris style command to add a line in text file. just edit a > text file. >> > > Scripting? echo newserviceline >>file grep -v servicetoberemoved file >file.new;mv file.new file