Za sada sam uradio sl.
Code:
#!/bin/bash
grep $1 "NS1:name="
#!/bin/bash
grep $1 "NS1:name="
ali onda stampa sa NS1:name= linije. Interesuje me kako bi to mogao da uklonim "NS1:name=" sto stoji ispred.
Lepo bi mi dosla substitute commanda (s/NS1:name=//),...
Znam da shell skripta nije cudo, ali posto sam nov u ovome nemam ideju gde da pocnem.
Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what’s wrong.”