Andif I trytocoveritinonevideo, I'lleithernotbeabletocompletealltheoptionsavailable, orthisvideowillbecomevery, veryLindy.
Andwedonotwanteitheroffthat.
Hence, I havedecidedtocoverthiscommandintwovideos.
Inpartone, Vividlearnedthesyntaxoffgripalongwithalltheoptionsavailable, basicallywillcovertheTuriinpartone, andtheninparttwowilldo a livedemoshowinghowtousealltheseoptionsin a livelynextmachine.
Noimportantthingtonotehereisgrabdoesnotstorelinesorchangeslineorsearchonly a partoflife.
Nowlet's lookatthejournalsandtanksoffusingGrabSowhylettheterminalyoutypegrab G R E p give a spaceandthenyougiveoneormoreofftheavailableoptionsagain a spaceAndtheninsinglecourt, yougivethesesearchtextorsearchstringagain a spaceandthenyougivetheinputfile.
Andthenitwillgotothenextlineoffthefileprovidedthatthesearchtanksnextisthedashlowerkeys V optionwhichisforinvolvedmatchonthiswillinvitewhateverthetextreapplied.
Thenyouhavedashcapitalbefollowedby a numberthatwilltellGrabtoe, printthatnumberoffleadinglinesandthenyouhave a dashcapital C, followedby a numberthatwilltellGrabtoeprintthatnumberoffleadingaswellastrailinglines.