1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399 |
- # SOME DESCRIPTIVE TITLE
- # Copyright (C) YEAR Free Software Foundation, Inc.
- # This file is distributed under the same license as the PACKAGE package.
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
- #
- msgid ""
- msgstr ""
- "Project-Id-Version: \n"
- "POT-Creation-Date: 2017-12-23 20:30+0100\n"
- "PO-Revision-Date: 2018-03-28 01:10-0600\n"
- "Language-Team: \n"
- "MIME-Version: 1.0\n"
- "Content-Type: text/plain; charset=UTF-8\n"
- "Content-Transfer-Encoding: 8bit\n"
- "X-Generator: Poedit 1.5.4\n"
- "Last-Translator: \n"
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
- "Language: es\n"
- #. type: title
- #: bashref.texi:4 bashref.texi:41
- #, no-wrap
- msgid "Bash Reference Manual"
- msgstr "Manual de Referencia de Bash"
- #. type: include
- #: bashref.texi:6
- #, no-wrap
- msgid "version.texi"
- msgstr "version.texi"
- #. type: copying
- #: bashref.texi:12
- msgid ""
- "This text is a brief description of the features that are present in the "
- "Bash shell (version @value{VERSION}, @value{UPDATED})."
- msgstr ""
- "Este texto es una breve descripción de las características presentes en el "
- "intérprete de órdenes de Bash (version @value{VERSION}, @value{UPDATED})."
- #. type: ifnottex
- #: bashref.texi:16 bashref.texi:67
- msgid ""
- "This is Edition @value{EDITION}, last updated @value{UPDATED}, of @cite{The "
- "GNU Bash Reference Manual}, for @code{Bash}, Version @value{VERSION}."
- msgstr ""
- "Esta es la Edición @value{EDITION}, actualizada por última vez "
- "@value{UPDATED}, de @cite{El Manual de Referencia de Bash}, para "
- "@code{Bash}, Version @value{VERSION}."
- #. type: copying
- #: bashref.texi:18
- msgid "Copyright @copyright{} 1988--2016 Free Software Foundation, Inc."
- msgstr "Copyright @copyright{} 1988--2016 Free Software Foundation, Inc."
- #. type: quotation
- #: bashref.texi:26
- msgid ""
- "Permission is granted to copy, distribute and/or modify this document under "
- "the terms of the GNU Free Documentation License, Version 1.3 or any later "
- "version published by the Free Software Foundation; with no Invariant "
- "Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the "
- "license is included in the section entitled ``GNU Free Documentation "
- "License''."
- msgstr ""
- "Se otorga permiso para copiar, distribuir y/o modificar este documento bajo "
- "los términos de la GNU Free Documentation License, Version 1.3 [Licencia de "
- "Documentación Libre de GNU, Version 1.3 o posterior] publicada por la Free "
- "Software Foundation; sin Invariant Sections [secciones invariables], sin "
- "Front-Cover Texts [textos en la cubierta frontal] y sin Back-Cover Texts "
- "[textos en la cubierta trasera]. Se incluye una copia de está licencia en "
- "la sección titulada ``GNU Free Documentation License''."
- #. type: dircategory
- #: bashref.texi:33
- #, no-wrap
- msgid "Basics"
- msgstr "Básicos"
- #. type: menuentry
- #: bashref.texi:36
- msgid "Bash: (bash)"
- msgstr "Bash: (bash)"
- #. type: menuentry
- #: bashref.texi:36
- msgid "The GNU Bourne-Again SHell."
- msgstr "La GNU Bourne-Again SHell."
- #. type: subtitle
- #: bashref.texi:42
- #, no-wrap
- msgid "Reference Documentation for Bash"
- msgstr "Documentación de Referencia para Bash"
- #. type: subtitle
- #: bashref.texi:43
- #, no-wrap
- msgid "Edition @value{EDITION}, for @code{Bash} Version @value{VERSION}."
- msgstr "Edición @value{EDITION}, para @code{Bash} Versión @value{VERSION}."
- #. type: subtitle
- #: bashref.texi:44
- #, no-wrap
- msgid "@value{UPDATED-MONTH}"
- msgstr "@value{UPDATED-MONTH}"
- #. type: author
- #: bashref.texi:45
- #, no-wrap
- msgid "Chet Ramey, Case Western Reserve University"
- msgstr "Chet Ramey, Case Western Reserve University"
- #. type: author
- #: bashref.texi:46
- #, no-wrap
- msgid "Brian Fox, Free Software Foundation"
- msgstr "Brian Fox, Free Software Foundation"
- #. type: node
- #: bashref.texi:57
- #, no-wrap
- msgid "Top"
- msgstr "Superior"
- #. type: chapter
- #: bashref.texi:57 bashref.texi:100 bashref.texi:103 bashref.texi:104
- #, no-wrap
- msgid "Introduction"
- msgstr "Introducción"
- #. type: node
- #: bashref.texi:57
- #, no-wrap
- msgid "(dir)"
- msgstr "(dir)"
- #. type: chapter
- #: bashref.texi:58 bashref.texi:100 bashref.texi:6157 bashref.texi:6158
- #, no-wrap
- msgid "Bash Features"
- msgstr "Características de Bash"
- #. type: ifnottex
- #: bashref.texi:63
- msgid ""
- "This text is a brief description of the features that are present in the "
- "Bash shell (version @value{VERSION}, @value{UPDATED}). The Bash home page "
- "is @url{http://www.gnu.org/software/bash/}."
- msgstr ""
- "Este texto es una descripción breve de las características presentes en el "
- "intérprete de órdenes Bash (versión @value{VERSION}, @value{UPDATED}). El "
- "sitio web la Bash es @url{http://www.gnu.org/software/bash/}."
- #. type: ifnottex
- #: bashref.texi:75
- msgid ""
- "Bash contains features that appear in other popular shells, and some "
- "features that only appear in Bash. Some of the shells that Bash has "
- "borrowed concepts from are the Bourne Shell (@file{sh}), the Korn Shell "
- "(@file{ksh}), and the C-shell (@file{csh} and its successor, @file{tcsh}). "
- "The following menu breaks the features up into categories, noting which "
- "features were inspired by other shells and which are specific to Bash."
- msgstr ""
- "Bash contiene características que aparecen en otros intérpretes de "
- "instrucciones populares, y algunas características que solo aparecen en "
- "Bash. Algunos de los intérpretes de los que Bash ha tomado conceptos son el "
- "Bourne Shell (@file{sh}), el Korn Shell (@file{ksh}) y el C-shell "
- "(@file{csh} y su sucesor, @file{tcsh}). El siguiente menú divide las "
- "características en categorías, mencionando qué características fueron "
- "inspiradas por otros intérpretes y cuáles son propias de Bash."
- #. type: ifnottex
- #: bashref.texi:79
- msgid ""
- "This manual is meant as a brief introduction to features found in Bash. The "
- "Bash manual page should be used as the definitive reference on shell "
- "behavior."
- msgstr ""
- "Este manual está pensado como una breve introducción a las características "
- "que se encuentran en Bash. La página de manual de Bash debería usarse como "
- "la referencia definitiva sobre el compartamiento del intérprete de órdenes."
- #. type: menuentry
- #: bashref.texi:100
- msgid "An introduction to the shell."
- msgstr "Una introducción al intérprete de órdenes."
- #. type: chapter
- #: bashref.texi:100 bashref.texi:191 bashref.texi:192
- #, no-wrap
- msgid "Definitions"
- msgstr "Definiciones"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Some definitions used in the rest of this manual."
- msgstr "Algunas definiciones usadas en el resto de este manual"
- #. type: chapter
- #: bashref.texi:100 bashref.texi:305 bashref.texi:306
- #, no-wrap
- msgid "Basic Shell Features"
- msgstr "Características Básicas de Shell"
- #. type: menuentry
- #: bashref.texi:100
- msgid "The shell \"building blocks\"."
- msgstr "Los \"bloques constructores\" del intérprete"
- #. type: chapter
- #: bashref.texi:100 bashref.texi:3229 bashref.texi:3230
- #, no-wrap
- msgid "Shell Builtin Commands"
- msgstr "Instrucciones Integradas de la Shell"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Commands that are a part of the shell."
- msgstr "Instrucciones que son parte del intérprete"
- #. type: chapter
- #: bashref.texi:100 bashref.texi:5377 bashref.texi:5378
- #, no-wrap
- msgid "Shell Variables"
- msgstr "Variables de la Shell"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Variables used or set by Bash."
- msgstr "Variables usadas o establecidas por Bash"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Features found only in Bash."
- msgstr "Características únicas de Bash"
- #. type: chapter
- #: bashref.texi:100 bashref.texi:7622 bashref.texi:7623
- #, no-wrap
- msgid "Job Control"
- msgstr "Control de Tareas"
- #. type: menuentry
- #: bashref.texi:100
- msgid "What job control is and how Bash allows you to use it."
- msgstr "Qué es el control de tareas y cómo te permite Bash usarlo."
- #. type: menuentry
- #: bashref.texi:100
- msgid "Command Line Editing"
- msgstr "Edición en Línea de Órdenes"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Chapter describing the command line editing features."
- msgstr ""
- "Capítulo que describe las características de la edición en línea de órdenes."
- #. type: menuentry
- #: bashref.texi:100
- msgid "Using History Interactively"
- msgstr "Usando el Historial Interactivamente"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Command History Expansion"
- msgstr "Expansión del Historial de Órdenes"
- #. type: chapter
- #: bashref.texi:100 bashref.texi:7918 bashref.texi:7919
- #, no-wrap
- msgid "Installing Bash"
- msgstr "Instalación de Bash"
- #. type: menuentry
- #: bashref.texi:100
- msgid "How to build and install Bash on your system."
- msgstr "Cómo construir e instalar Bash en tu sistema."
- #. type: appendix
- #: bashref.texi:100 bashref.texi:8427 bashref.texi:8428
- #, no-wrap
- msgid "Reporting Bugs"
- msgstr "Reportar Errores"
- #. type: menuentry
- #: bashref.texi:100
- msgid "How to report bugs in Bash."
- msgstr "Cómo reportar errores en Bash"
- #. type: appendix
- #: bashref.texi:100 bashref.texi:8466 bashref.texi:8467
- #, no-wrap
- msgid "Major Differences From The Bourne Shell"
- msgstr "Diferencias Principales Respecto a The Bourne Shell"
- #. type: menuentry
- #: bashref.texi:100
- msgid ""
- "A terse list of the differences between Bash and historical versions of /bin/"
- "sh."
- msgstr ""
- "Una lista de las diferencias entre Bash y versiones históricas de /bin/sh"
- #. type: appendix
- #: bashref.texi:100 bashref.texi:8934 bashref.texi:8935
- #, no-wrap
- msgid "GNU Free Documentation License"
- msgstr "GNU Free Documentation License"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Copying and sharing this documentation."
- msgstr "Copiar y compartir esta documentación."
- #. type: appendix
- #: bashref.texi:100 bashref.texi:8939 bashref.texi:8940
- #, no-wrap
- msgid "Indexes"
- msgstr "Glosarios"
- #. type: menuentry
- #: bashref.texi:100
- msgid "Various indexes for this manual."
- msgstr "Varios glosarios para este manual."
- #. type: section
- #: bashref.texi:108 bashref.texi:110 bashref.texi:111
- #, no-wrap
- msgid "What is Bash?"
- msgstr "¿Qué es Bash?"
- #. type: menuentry
- #: bashref.texi:108
- msgid "A short description of Bash."
- msgstr "Una breve descripción de Bash."
- #. type: section
- #: bashref.texi:108 bashref.texi:136 bashref.texi:137
- #, no-wrap
- msgid "What is a shell?"
- msgstr "¿Qué es un intérprete?"
- #. type: menuentry
- #: bashref.texi:108
- msgid "A brief introduction to shells."
- msgstr "Una breve introducción a los intérpretes de instrucciones."
- #. type: Plain text
- #: bashref.texi:120
- msgid ""
- "Bash is the shell, or command language interpreter, for the @sc{gnu} "
- "operating system. The name is an acronym for the @samp{Bourne-Again SHell}, "
- "a pun on Stephen Bourne, the author of the direct ancestor of the current "
- "Unix shell @code{sh}, which appeared in the Seventh Edition Bell Labs "
- "Research version of Unix."
- msgstr ""
- "Bash es el intérprete, o el lenguaje intérprete de órdenes, para el sistema "
- "operativo @sc{gnu}. El nombre es un acrónimo de @samp{Bourne-Again SHell}, "
- "un juego de palabras con Stephen Bourne, el autor del ancestro directo del "
- "actual intérprete @code{sh}, que apareció en la versión Seventh Edition Bell "
- "Labs Research de Unix."
- #. type: Plain text
- #: bashref.texi:128
- msgid ""
- "Bash is largely compatible with @code{sh} and incorporates useful features "
- "from the Korn shell @code{ksh} and the C shell @code{csh}. It is intended "
- "to be a conformant implementation of the @sc{ieee} @sc{posix} Shell and "
- "Tools portion of the @sc{ieee} @sc{posix} specification (@sc{ieee} Standard "
- "1003.1). It offers functional improvements over @code{sh} for both "
- "interactive and programming use."
- msgstr ""
- "Bash es en gran parte compatible con @code{sh} e incorpora características "
- "útiles del intérprete Korn @code{ksh} y el intérprete C @code{csh}. Esta "
- "concebido para ser una implementación que se ajusta a la parte @sc{ieee} "
- "@sc{posix} Shell and Tools de la especificación @sc{ieee} @sc{posix} "
- "(@sc{ieee} Standard 1003.1). Ofrece mejoras funcionales sobre @code{sh} "
- "tanto para uso interactivo como para programar."
- #. type: Plain text
- #: bashref.texi:135
- msgid ""
- "While the @sc{gnu} operating system provides other shells, including a "
- "version of @code{csh}, Bash is the default shell. Like other @sc{gnu} "
- "software, Bash is quite portable. It currently runs on nearly every version "
- "of Unix and a few other operating systems @minus{} independently-supported "
- "ports exist for @sc{ms-dos}, @sc{os/2}, and Windows platforms."
- msgstr ""
- "Aunque el sistema operativo @sc{gnu} proporciona otros intérpretes de "
- "órdenes, incluyendo una versión de @code{csh}, Bash es el intérprete "
- "predeterminado. Al igual que otro software de @sc{gnu}, Bash es bastante "
- "portable. Actualmente se ejecuta en casi cualquier versión de Unix y "
- "algunos otros sistemas operativos ---existen versiones portadas mantenidas "
- "de forma independiente para @sc{ms-dos}, @sc{os/2} y plataformas Windows---."
- #. type: Plain text
- #: bashref.texi:142
- msgid ""
- "At its base, a shell is simply a macro processor that executes commands. "
- "The term macro processor means functionality where text and symbols are "
- "expanded to create larger expressions."
- msgstr ""
- "Básicamente, un intérprete es simplemente un procesador de macros que "
- "ejecuta instrucciones. El término procesador de macros significa "
- "funcionalidad donde texto y símbolos son expandidos para crear expresiones "
- "más grandes."
- #. type: Plain text
- #: bashref.texi:152
- msgid ""
- "A Unix shell is both a command interpreter and a programming language. As a "
- "command interpreter, the shell provides the user interface to the rich set "
- "of @sc{gnu} utilities. The programming language features allow these "
- "utilities to be combined. Files containing commands can be created, and "
- "become commands themselves. These new commands have the same status as "
- "system commands in directories such as @file{/bin}, allowing users or groups "
- "to establish custom environments to automate their common tasks."
- msgstr ""
- "Un intérprete de Unix es tanto un intérprete de órdenes como un lenguaje de "
- "programación. Como un intérprete de instrucciones, el intérprete "
- "proporciona la interfaz de usuario a un variado conjunto de utilidades de "
- "@sc{gnu}. Las funcionalidades del lenguaje de programación permiten que "
- "estás utilidades se combinen. Se pueden crear archivos que contienen "
- "instrucciones, y convertirse ellos mismos en instrucciones. Estas nuevas "
- "órdenes tienen la misma naturaleza que instrucciones del sistema en "
- "directorios como @file{/bin}, permitiendo que usuarios o grupos puedan "
- "establecer entornos personalizados para automatizar sus tareas comunes."
- #. type: Plain text
- #: bashref.texi:157
- msgid ""
- "Shells may be used interactively or non-interactively. In interactive mode, "
- "they accept input typed from the keyboard. When executing non-"
- "interactively, shells execute commands read from a file."
- msgstr ""
- "Los intérpretes pueden ser usados de forma interactiva o de forma no "
- "interactiva. En el modo interactivo, aceptan la entrada escrita desde el "
- "teclado. Cuando se ejecutan de forma no interactiva, los intérpretes "
- "ejecutan instrucciones leídas de un archivo."
- #. type: Plain text
- #: bashref.texi:167
- msgid ""
- "A shell allows execution of @sc{gnu} commands, both synchronously and "
- "asynchronously. The shell waits for synchronous commands to complete before "
- "accepting more input; asynchronous commands continue to execute in parallel "
- "with the shell while it reads and executes additional commands. The "
- "@dfn{redirection} constructs permit fine-grained control of the input and "
- "output of those commands. Moreover, the shell allows control over the "
- "contents of commands' environments."
- msgstr ""
- "Un intérprete permite la ejecución de instrucciones @sc{gnu}, tanto síncrona "
- "como asíncronamente. El intérprete espera a que las instrucciones síncronas "
- "se completen antes de aceptar más entradas; las instrucciones asíncronas "
- "continúan ejecutándose en paralelo con el intérprete mientras que lee y "
- "ejecuta instrucciones adicionales. Las construcciones de @dfn{redirección} "
- "permiten un control preciso de la entrada y la salida de esas "
- "instrucciones. Asimismo, el intérprete proporciona control sobre los "
- "contenidos de los entornos de instrucciones."
- #. type: Plain text
- #: bashref.texi:179
- msgid ""
- "Shells also provide a small set of built-in commands (@dfn{builtins}) "
- "implementing functionality impossible or inconvenient to obtain via separate "
- "utilities. For example, @code{cd}, @code{break}, @code{continue}, and "
- "@code{exec} cannot be implemented outside of the shell because they directly "
- "manipulate the shell itself. The @code{history}, @code{getopts}, "
- "@code{kill}, or @code{pwd} builtins, among others, could be implemented in "
- "separate utilities, but they are more convenient to use as builtin "
- "commands. All of the shell builtins are described in subsequent sections."
- msgstr ""
- "Los intérpretes también proporcionan un pequeño conjunto de instrucciones "
- "integradas (@dfn{builtins}) que implementan funcionalidad imposible o "
- "inconveniente de obtener mediante utilidades separadas. Por ejemplo, "
- "@code{cd}, @code{break}, @code{continue} y @code{exec} no pueden ser "
- "implementados fuera del intérprete porque manipulan directamente el "
- "intérprete en sí mismo. Las instrucciones integradas @code{history}, "
- "@code{getopts}, @code{kill} o @code{pwd}, entre otras, podrían ser "
- "implementadas en utilidades separadas, pero son más convenientes de usar "
- "como instrucciones integradas. Todas las funciones integradas del "
- "intérprete son descritas en las secciones posteriores."
- #. type: Plain text
- #: bashref.texi:184
- msgid ""
- "While executing commands is essential, most of the power (and complexity) of "
- "shells is due to their embedded programming languages. Like any high-level "
- "language, the shell provides variables, flow control constructs, quoting, "
- "and functions."
- msgstr ""
- "Mientras que la ejecución de instrucciones es esencial, la mayoría del poder "
- "(y de la complejidad) de los intérpretes es debido a sus lenguajes de "
- "programación integrados. Como cualquier otro lenguaje de alto nivel, el "
- "intérprete proporciona variables, estructuras de control de flujo, "
- "entrecomillado y funciones."
- #. type: Plain text
- #: bashref.texi:190
- msgid ""
- "Shells offer features geared specifically for interactive use rather than to "
- "augment the programming language. These interactive features include job "
- "control, command line editing, command history and aliases. Each of these "
- "features is described in this manual."
- msgstr ""
- "Los intérpretes ofrecen características enfocadas específicamente para uso "
- "interactivo en vez de para aumentar el lenguaje de programación. Estas "
- "características interactivas incluyen control de tareas, edición de línea de "
- "órdenes, historial de instrucciones y aliases. En este manual se describe "
- "cada una de estas características."
- #. type: Plain text
- #: bashref.texi:194
- msgid "These definitions are used throughout the remainder of this manual."
- msgstr ""
- #. type: cindex
- #: bashref.texi:197 bashref.texi:198
- #, no-wrap
- msgid "POSIX"
- msgstr ""
- #. type: table
- #: bashref.texi:202
- msgid ""
- "A family of open system standards based on Unix. Bash is primarily "
- "concerned with the Shell and Utilities portion of the @sc{posix} 1003.1 "
- "standard."
- msgstr ""
- #. type: item
- #: bashref.texi:203
- #, no-wrap
- msgid "blank"
- msgstr ""
- #. type: table
- #: bashref.texi:205
- msgid "A space or tab character."
- msgstr ""
- #. type: btindex
- #: bashref.texi:206 bashref.texi:207 bashref.texi:3943 bashref.texi:3944
- #, no-wrap
- msgid "builtin"
- msgstr ""
- #. type: table
- #: bashref.texi:210
- msgid ""
- "A command that is implemented internally by the shell itself, rather than by "
- "an executable program somewhere in the file system."
- msgstr ""
- #. type: cindex
- #: bashref.texi:211 bashref.texi:212
- #, no-wrap
- msgid "control operator"
- msgstr ""
- #. type: table
- #: bashref.texi:217
- msgid ""
- "A @code{token} that performs a control function. It is a @code{newline} or "
- "one of the following: @samp{||}, @samp{&&}, @samp{&}, @samp{;}, @samp{;;}, "
- "@samp{;&}, @samp{;;&}, @samp{|}, @samp{|&}, @samp{(}, or @samp{)}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:218 bashref.texi:219 bashref.texi:3086
- #, no-wrap
- msgid "exit status"
- msgstr ""
- #. type: table
- #: bashref.texi:222
- msgid ""
- "The value returned by a command to its caller. The value is restricted to "
- "eight bits, so the maximum value is 255."
- msgstr ""
- #. type: cindex
- #: bashref.texi:223 bashref.texi:224
- #, no-wrap
- msgid "field"
- msgstr ""
- #. type: table
- #: bashref.texi:228
- msgid ""
- "A unit of text that is the result of one of the shell expansions. After "
- "expansion, when executing a command, the resulting fields are used as the "
- "command name and arguments."
- msgstr ""
- #. type: cindex
- #: bashref.texi:229 bashref.texi:230
- #, no-wrap
- msgid "filename"
- msgstr ""
- #. type: table
- #: bashref.texi:232
- msgid "A string of characters used to identify a file."
- msgstr ""
- #. type: cindex
- #: bashref.texi:233 bashref.texi:234
- #, no-wrap
- msgid "job"
- msgstr ""
- #. type: table
- #: bashref.texi:237
- msgid ""
- "A set of processes comprising a pipeline, and any processes descended from "
- "it, that are all in the same process group."
- msgstr ""
- #. type: cindex
- #: bashref.texi:238 bashref.texi:239 bashref.texi:7638
- #, no-wrap
- msgid "job control"
- msgstr ""
- #. type: table
- #: bashref.texi:242
- msgid ""
- "A mechanism by which users can selectively stop (suspend) and restart "
- "(resume) execution of processes."
- msgstr ""
- #. type: cindex
- #: bashref.texi:243 bashref.texi:244
- #, no-wrap
- msgid "metacharacter"
- msgstr ""
- #. type: table
- #: bashref.texi:249
- msgid ""
- "A character that, when unquoted, separates words. A metacharacter is a "
- "@code{space}, @code{tab}, @code{newline}, or one of the following "
- "characters: @samp{|}, @samp{&}, @samp{;}, @samp{(}, @samp{)}, @samp{<}, or "
- "@samp{>}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:250 bashref.texi:251
- #, no-wrap
- msgid "name"
- msgstr ""
- #. type: cindex
- #: bashref.texi:252
- #, no-wrap
- msgid "identifier"
- msgstr ""
- #. type: table
- #: bashref.texi:257
- msgid ""
- "A @code{word} consisting solely of letters, numbers, and underscores, and "
- "beginning with a letter or underscore. @code{Name}s are used as shell "
- "variable and function names. Also referred to as an @code{identifier}."
- msgstr ""
- #. type: item
- #: bashref.texi:258
- #, no-wrap
- msgid "operator"
- msgstr ""
- #. type: cindex
- #: bashref.texi:259
- #, no-wrap
- msgid "operator, shell"
- msgstr ""
- #. type: table
- #: bashref.texi:263
- msgid ""
- "A @code{control operator} or a @code{redirection operator}. "
- "@xref{Redirections}, for a list of redirection operators. Operators contain "
- "at least one unquoted @code{metacharacter}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:264 bashref.texi:265
- #, no-wrap
- msgid "process group"
- msgstr ""
- #. type: table
- #: bashref.texi:268
- msgid ""
- "A collection of related processes each having the same process group @sc{id}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:269 bashref.texi:270
- #, no-wrap
- msgid "process group ID"
- msgstr ""
- #. type: table
- #: bashref.texi:273
- msgid ""
- "A unique identifier that represents a @code{process group} during its "
- "lifetime."
- msgstr ""
- #. type: cindex
- #: bashref.texi:274 bashref.texi:275
- #, no-wrap
- msgid "reserved word"
- msgstr ""
- #. type: table
- #: bashref.texi:279
- msgid ""
- "A @code{word} that has a special meaning to the shell. Most reserved words "
- "introduce shell flow control constructs, such as @code{for} and @code{while}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:280 bashref.texi:281
- #, no-wrap
- msgid "return status"
- msgstr ""
- #. type: table
- #: bashref.texi:283
- msgid "A synonym for @code{exit status}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:284 bashref.texi:285
- #, no-wrap
- msgid "signal"
- msgstr ""
- #. type: table
- #: bashref.texi:288
- msgid ""
- "A mechanism by which a process may be notified by the kernel of an event "
- "occurring in the system."
- msgstr ""
- #. type: cindex
- #: bashref.texi:289 bashref.texi:290 bashref.texi:5348
- #, no-wrap
- msgid "special builtin"
- msgstr ""
- #. type: table
- #: bashref.texi:293
- msgid ""
- "A shell builtin command that has been classified as special by the "
- "@sc{posix} standard."
- msgstr ""
- #. type: cindex
- #: bashref.texi:294 bashref.texi:295
- #, no-wrap
- msgid "token"
- msgstr ""
- #. type: table
- #: bashref.texi:298
- msgid ""
- "A sequence of characters considered a single unit by the shell. It is "
- "either a @code{word} or an @code{operator}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:299 bashref.texi:300
- #, no-wrap
- msgid "word"
- msgstr ""
- #. type: table
- #: bashref.texi:303
- msgid ""
- "A sequence of characters treated as a unit by the shell. Words may not "
- "include unquoted @code{metacharacters}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:307
- #, no-wrap
- msgid "Bourne shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:315
- msgid ""
- "Bash is an acronym for @samp{Bourne-Again SHell}. The Bourne shell is the "
- "traditional Unix shell originally written by Stephen Bourne. All of the "
- "Bourne shell builtin commands are available in Bash, The rules for "
- "evaluation and quoting are taken from the @sc{posix} specification for the "
- "`standard' Unix shell."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:321
- msgid ""
- "This chapter briefly summarizes the shell's `building blocks': commands, "
- "control structures, shell functions, shell @i{parameters}, shell expansions, "
- "@i{redirections}, which are a way to direct input and output from and to "
- "named files, and how the shell executes commands."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:334 bashref.texi:335
- #, no-wrap
- msgid "Shell Syntax"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "What your input means to the shell."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:570 bashref.texi:571
- #, no-wrap
- msgid "Shell Commands"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "The types of commands you can use."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:1323 bashref.texi:1324
- #, no-wrap
- msgid "Shell Functions"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "Grouping commands by name."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:1450 bashref.texi:1451
- #, no-wrap
- msgid "Shell Parameters"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "How the shell stores values."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:1661 bashref.texi:1662
- #, no-wrap
- msgid "Shell Expansions"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "How Bash expands parameters and the various expansions available."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:2543 bashref.texi:2544
- #, no-wrap
- msgid "Redirections"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "A way to control where input and output go."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:2832 bashref.texi:2833
- #, no-wrap
- msgid "Executing Commands"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "What happens when you run a command."
- msgstr ""
- #. type: section
- #: bashref.texi:332 bashref.texi:3168 bashref.texi:3169
- #, no-wrap
- msgid "Shell Scripts"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:332
- msgid "Executing files of shell commands."
- msgstr ""
- #. type: subsection
- #: bashref.texi:340 bashref.texi:357 bashref.texi:358
- #, no-wrap
- msgid "Shell Operation"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:340
- msgid "The basic operation of the shell."
- msgstr ""
- #. type: subsection
- #: bashref.texi:340 bashref.texi:398 bashref.texi:399
- #, no-wrap
- msgid "Quoting"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:340
- msgid "How to remove the special meaning from characters."
- msgstr ""
- #. type: subsection
- #: bashref.texi:340 bashref.texi:555 bashref.texi:556
- #, no-wrap
- msgid "Comments"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:340
- msgid "How to specify comments."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:346
- msgid ""
- "When the shell reads input, it proceeds through a sequence of operations. "
- "If the input indicates the beginning of a comment, the shell ignores the "
- "comment symbol (@samp{#}), and the rest of that line."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:350
- msgid ""
- "Otherwise, roughly speaking, the shell reads its input and divides the input "
- "into words and operators, employing the quoting rules to select which "
- "meanings to assign various words and characters."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:356
- msgid ""
- "The shell then parses these tokens into commands and other constructs, "
- "removes the special meaning of certain words or characters, expands others, "
- "redirects input and output as needed, executes the specified command, waits "
- "for the command's exit status, and makes that exit status available for "
- "further inspection or processing."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:363
- msgid ""
- "The following is a brief description of the shell's operation when it reads "
- "and executes a command. Basically, the shell does the following:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:369
- msgid ""
- "Reads its input from a file (@pxref{Shell Scripts}), from a string supplied "
- "as an argument to the @option{-c} invocation option (@pxref{Invoking Bash}), "
- "or from the user's terminal."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:375
- msgid ""
- "Breaks the input into words and operators, obeying the quoting rules "
- "described in @ref{Quoting}. These tokens are separated by "
- "@code{metacharacters}. Alias expansion is performed by this step "
- "(@pxref{Aliases})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:379
- msgid ""
- "Parses the tokens into simple and compound commands (@pxref{Shell Commands})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:384
- msgid ""
- "Performs the various shell expansions (@pxref{Shell Expansions}), breaking "
- "the expanded tokens into lists of filenames (@pxref{Filename Expansion}) "
- "and commands and arguments."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:388
- msgid ""
- "Performs any necessary redirections (@pxref{Redirections}) and removes the "
- "redirection operators and their operands from the argument list."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:391
- msgid "Executes the command (@pxref{Executing Commands})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:395
- msgid ""
- "Optionally waits for the command to complete and collects its exit status "
- "(@pxref{Exit Status})."
- msgstr ""
- #. type: cindex
- #: bashref.texi:400
- #, no-wrap
- msgid "quoting"
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:410 bashref.texi:430 bashref.texi:431
- #, no-wrap
- msgid "Escape Character"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:410
- msgid "How to remove the special meaning from a single character."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:410 bashref.texi:439 bashref.texi:440
- #, no-wrap
- msgid "Single Quotes"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:410
- msgid "How to inhibit all interpretation of a sequence of characters."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:410 bashref.texi:446 bashref.texi:447
- #, no-wrap
- msgid "Double Quotes"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:410
- msgid "How to suppress most of the interpretation of a sequence of characters."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:410 bashref.texi:474 bashref.texi:475
- #, no-wrap
- msgid "ANSI-C Quoting"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:410
- msgid "How to expand ANSI-C sequences in quoted strings."
- msgstr ""
- #. type: node
- #: bashref.texi:410 bashref.texi:529
- #, no-wrap
- msgid "Locale Translation"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:410
- msgid "How to translate strings into different languages."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:417
- msgid ""
- "Quoting is used to remove the special meaning of certain characters or words "
- "to the shell. Quoting can be used to disable special treatment for special "
- "characters, to prevent reserved words from being recognized as such, and to "
- "prevent parameter expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:426
- msgid ""
- "Each of the shell metacharacters (@pxref{Definitions}) has special meaning "
- "to the shell and must be quoted if it is to represent itself. When the "
- "command history expansion facilities are being used (@pxref{History "
- "Interaction}), the @var{history expansion} character, usually @samp{!}, must "
- "be quoted to prevent history expansion. @xref{Bash History Facilities}, for "
- "more details concerning history expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:429
- msgid ""
- "There are three quoting mechanisms: the @var{escape character}, single "
- "quotes, and double quotes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:438
- msgid ""
- "A non-quoted backslash @samp{\\} is the Bash escape character. It preserves "
- "the literal value of the next character that follows, with the exception of "
- "@code{newline}. If a @code{\\newline} pair appears, and the backslash "
- "itself is not quoted, the @code{\\newline} is treated as a line continuation "
- "(that is, it is removed from the input stream and effectively ignored)."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:445
- msgid ""
- "Enclosing characters in single quotes (@samp{'}) preserves the literal value "
- "of each character within the quotes. A single quote may not occur between "
- "single quotes, even when preceded by a backslash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:470
- msgid ""
- "Enclosing characters in double quotes (@samp{\"}) preserves the literal "
- "value of all characters within the quotes, with the exception of @samp{$}, "
- "@samp{`}, @samp{\\}, and, when history expansion is enabled, @samp{!}. When "
- "the shell is in @sc{posix} mode (@pxref{Bash POSIX Mode}), the @samp{!} has "
- "no special meaning within double quotes, even when history expansion is "
- "enabled. The characters @samp{$} and @samp{`} retain their special meaning "
- "within double quotes (@pxref{Shell Expansions}). The backslash retains its "
- "special meaning only when followed by one of the following characters: "
- "@samp{$}, @samp{`}, @samp{\"}, @samp{\\}, or @code{newline}. Within double "
- "quotes, backslashes that are followed by one of these characters are "
- "removed. Backslashes preceding characters without a special meaning are "
- "left unmodified. A double quote may be quoted within double quotes by "
- "preceding it with a backslash. If enabled, history expansion will be "
- "performed unless an @samp{!} appearing in double quotes is escaped using a "
- "backslash. The backslash preceding the @samp{!} is not removed."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:473
- msgid ""
- "The special parameters @samp{*} and @samp{@@} have special meaning when in "
- "double quotes (@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: cindex
- #: bashref.texi:476
- #, no-wrap
- msgid "quoting, ANSI"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:482
- msgid ""
- "Words of the form @code{$'@var{string}'} are treated specially. The word "
- "expands to @var{string}, with backslash-escaped characters replaced as "
- "specified by the ANSI C standard. Backslash escape sequences, if present, "
- "are decoded as follows:"
- msgstr ""
- #. type: item
- #: bashref.texi:484 bashref.texi:4132 bashref.texi:7192
- #, no-wrap
- msgid "\\a"
- msgstr ""
- #. type: table
- #: bashref.texi:486 bashref.texi:4134
- msgid "alert (bell)"
- msgstr ""
- #. type: item
- #: bashref.texi:486 bashref.texi:4134
- #, no-wrap
- msgid "\\b"
- msgstr ""
- #. type: table
- #: bashref.texi:488 bashref.texi:4136
- msgid "backspace"
- msgstr ""
- #. type: item
- #: bashref.texi:488 bashref.texi:4138 bashref.texi:7200
- #, no-wrap
- msgid "\\e"
- msgstr ""
- #. type: itemx
- #: bashref.texi:489 bashref.texi:4139
- #, no-wrap
- msgid "\\E"
- msgstr ""
- #. type: table
- #: bashref.texi:491
- msgid "an escape character (not ANSI C)"
- msgstr ""
- #. type: item
- #: bashref.texi:491 bashref.texi:4141
- #, no-wrap
- msgid "\\f"
- msgstr ""
- #. type: table
- #: bashref.texi:493 bashref.texi:4143
- msgid "form feed"
- msgstr ""
- #. type: item
- #: bashref.texi:493 bashref.texi:4143 bashref.texi:7210
- #, no-wrap
- msgid "\\n"
- msgstr ""
- #. type: table
- #: bashref.texi:495
- msgid "newline"
- msgstr ""
- #. type: item
- #: bashref.texi:495 bashref.texi:4145 bashref.texi:7212
- #, no-wrap
- msgid "\\r"
- msgstr ""
- #. type: table
- #: bashref.texi:497 bashref.texi:4147
- msgid "carriage return"
- msgstr ""
- #. type: item
- #: bashref.texi:497 bashref.texi:4147 bashref.texi:7217
- #, no-wrap
- msgid "\\t"
- msgstr ""
- #. type: table
- #: bashref.texi:499 bashref.texi:4149
- msgid "horizontal tab"
- msgstr ""
- #. type: item
- #: bashref.texi:499 bashref.texi:4149 bashref.texi:7227
- #, no-wrap
- msgid "\\v"
- msgstr ""
- #. type: table
- #: bashref.texi:501 bashref.texi:4151
- msgid "vertical tab"
- msgstr ""
- #. type: item
- #: bashref.texi:501 bashref.texi:4151 bashref.texi:7244
- #, no-wrap
- msgid "\\\\"
- msgstr ""
- #. type: table
- #: bashref.texi:503 bashref.texi:4153
- msgid "backslash"
- msgstr ""
- #. type: item
- #: bashref.texi:503
- #, no-wrap
- msgid "\\'"
- msgstr ""
- #. type: table
- #: bashref.texi:505
- msgid "single quote"
- msgstr ""
- #. type: item
- #: bashref.texi:505
- #, no-wrap
- msgid "\\\""
- msgstr ""
- #. type: table
- #: bashref.texi:507
- msgid "double quote"
- msgstr ""
- #. type: item
- #: bashref.texi:507
- #, no-wrap
- msgid "\\?"
- msgstr ""
- #. type: table
- #: bashref.texi:509
- msgid "question mark"
- msgstr ""
- #. type: item
- #: bashref.texi:509 bashref.texi:7242
- #, no-wrap
- msgid "\\@var{nnn}"
- msgstr ""
- #. type: table
- #: bashref.texi:512
- msgid ""
- "the eight-bit character whose value is the octal value @var{nnn} (one to "
- "three digits)"
- msgstr ""
- #. type: item
- #: bashref.texi:512 bashref.texi:4156
- #, no-wrap
- msgid "\\x@var{HH}"
- msgstr ""
- #. type: table
- #: bashref.texi:515 bashref.texi:4159
- msgid ""
- "the eight-bit character whose value is the hexadecimal value @var{HH} (one "
- "or two hex digits)"
- msgstr ""
- #. type: item
- #: bashref.texi:515 bashref.texi:4159
- #, no-wrap
- msgid "\\u@var{HHHH}"
- msgstr ""
- #. type: table
- #: bashref.texi:518 bashref.texi:4162
- msgid ""
- "the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value "
- "@var{HHHH} (one to four hex digits)"
- msgstr ""
- #. type: item
- #: bashref.texi:518 bashref.texi:4162
- #, no-wrap
- msgid "\\U@var{HHHHHHHH}"
- msgstr ""
- #. type: table
- #: bashref.texi:521 bashref.texi:4165
- msgid ""
- "the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value "
- "@var{HHHHHHHH} (one to eight hex digits)"
- msgstr ""
- #. type: item
- #: bashref.texi:521
- #, no-wrap
- msgid "\\c@var{x}"
- msgstr ""
- #. type: table
- #: bashref.texi:523
- msgid "a control-@var{x} character"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:528
- msgid ""
- "The expanded result is single-quoted, as if the dollar sign had not been "
- "present."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:530
- #, no-wrap
- msgid "Locale-Specific Translation"
- msgstr ""
- #. type: cindex
- #: bashref.texi:531
- #, no-wrap
- msgid "localization"
- msgstr ""
- #. type: cindex
- #: bashref.texi:532
- #, no-wrap
- msgid "internationalization"
- msgstr ""
- #. type: cindex
- #: bashref.texi:533
- #, no-wrap
- msgid "native languages"
- msgstr ""
- #. type: cindex
- #: bashref.texi:534
- #, no-wrap
- msgid "translation, native languages"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:542
- msgid ""
- "A double-quoted string preceded by a dollar sign (@samp{$}) will cause the "
- "string to be translated according to the current locale. If the current "
- "locale is @code{C} or @code{POSIX}, the dollar sign is ignored. If the "
- "string is translated and replaced, the replacement is double-quoted."
- msgstr ""
- #. type: item
- #: bashref.texi:543 bashref.texi:5947
- #, no-wrap
- msgid "LC_MESSAGES"
- msgstr ""
- #. type: vindex
- #: bashref.texi:544
- #, no-wrap
- msgid "TEXTDOMAIN"
- msgstr ""
- #. type: vindex
- #: bashref.texi:545
- #, no-wrap
- msgid "TEXTDOMAINDIR"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:554
- msgid ""
- "Some systems use the message catalog selected by the @env{LC_MESSAGES} shell "
- "variable. Others create the name of the message catalog from the value of "
- "the @env{TEXTDOMAIN} shell variable, possibly adding a suffix of @samp{."
- "mo}. If you use the @env{TEXTDOMAIN} variable, you may need to set the "
- "@env{TEXTDOMAINDIR} variable to the location of the message catalog files. "
- "Still others use both variables in this fashion: @env{TEXTDOMAINDIR}/"
- "@env{LC_MESSAGES}/LC_MESSAGES/@env{TEXTDOMAIN}.mo."
- msgstr ""
- #. type: cindex
- #: bashref.texi:557
- #, no-wrap
- msgid "comments, shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:569
- msgid ""
- "In a non-interactive shell, or an interactive shell in which the "
- "@code{interactive_comments} option to the @code{shopt} builtin is enabled "
- "(@pxref{The Shopt Builtin}), a word beginning with @samp{#} causes that word "
- "and all remaining characters on that line to be ignored. An interactive "
- "shell without the @code{interactive_comments} option enabled does not allow "
- "comments. The @code{interactive_comments} option is on by default in "
- "interactive shells. @xref{Interactive Shells}, for a description of what "
- "makes a shell interactive."
- msgstr ""
- #. type: cindex
- #: bashref.texi:572
- #, no-wrap
- msgid "commands, shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:576
- msgid ""
- "A simple shell command such as @code{echo a b c} consists of the command "
- "itself followed by arguments, separated by spaces."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:581
- msgid ""
- "More complex shell commands are composed of simple commands arranged "
- "together in a variety of ways: in a pipeline in which the output of one "
- "command becomes the input of a second, in a loop or conditional construct, "
- "or in some other grouping."
- msgstr ""
- #. type: subsection
- #: bashref.texi:590 bashref.texi:592 bashref.texi:593
- #, no-wrap
- msgid "Simple Commands"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "The most common type of command."
- msgstr ""
- #. type: subsection
- #: bashref.texi:590 bashref.texi:607 bashref.texi:608
- #, no-wrap
- msgid "Pipelines"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "Connecting the input and output of several commands."
- msgstr ""
- #. type: node
- #: bashref.texi:590 bashref.texi:676
- #, no-wrap
- msgid "Lists"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "How to execute commands sequentially."
- msgstr ""
- #. type: subsection
- #: bashref.texi:590 bashref.texi:732 bashref.texi:733
- #, no-wrap
- msgid "Compound Commands"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "Shell commands for control flow."
- msgstr ""
- #. type: subsection
- #: bashref.texi:590 bashref.texi:1165 bashref.texi:1166
- #, no-wrap
- msgid "Coprocesses"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "Two-way communication between commands."
- msgstr ""
- #. type: subsection
- #: bashref.texi:590 bashref.texi:1211 bashref.texi:1212
- #, no-wrap
- msgid "GNU Parallel"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:590
- msgid "Running commands in parallel."
- msgstr ""
- #. type: cindex
- #: bashref.texi:594
- #, no-wrap
- msgid "commands, simple"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:601
- msgid ""
- "A simple command is the kind of command encountered most often. It's just a "
- "sequence of words separated by @code{blank}s, terminated by one of the "
- "shell's control operators (@pxref{Definitions}). The first word generally "
- "specifies a command to be executed, with the rest of the words being that "
- "command's arguments."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:606
- msgid ""
- "The return status (@pxref{Exit Status}) of a simple command is its exit "
- "status as provided by the @sc{posix} 1003.1 @code{waitpid} function, or "
- "128+@var{n} if the command was terminated by signal @var{n}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:609
- #, no-wrap
- msgid "pipeline"
- msgstr ""
- #. type: cindex
- #: bashref.texi:610
- #, no-wrap
- msgid "commands, pipelines"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:614
- msgid ""
- "A @code{pipeline} is a sequence of one or more commands separated by one of "
- "the control operators @samp{|} or @samp{|&}."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:615
- #, no-wrap
- msgid "time"
- msgstr ""
- #. type: item
- #: bashref.texi:616 bashref.texi:1632
- #, no-wrap
- msgid "!"
- msgstr ""
- #. type: cindex
- #: bashref.texi:617
- #, no-wrap
- msgid "command timing"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:619
- msgid "The format for a pipeline is"
- msgstr ""
- #. type: example
- #: bashref.texi:621
- #, no-wrap
- msgid "[time [-p]] [!] @var{command1} [ | or |& @var{command2} ] @dots{}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:629
- msgid ""
- "The output of each command in the pipeline is connected via a pipe to the "
- "input of the next command. That is, each command reads the previous "
- "command's output. This connection is performed before any redirections "
- "specified by the command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:636
- msgid ""
- "If @samp{|&} is used, @var{command1}'s standard error, in addition to its "
- "standard output, is connected to @var{command2}'s standard input through the "
- "pipe; it is shorthand for @code{2>&1 |}. This implicit redirection of the "
- "standard error to the standard output is performed after any redirections "
- "specified by the command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:652
- msgid ""
- "The reserved word @code{time} causes timing statistics to be printed for the "
- "pipeline once it finishes. The statistics currently consist of elapsed "
- "(wall-clock) time and user and system time consumed by the command's "
- "execution. The @option{-p} option changes the output format to that "
- "specified by @sc{posix}. When the shell is in @sc{posix} mode (@pxref{Bash "
- "POSIX Mode}), it does not recognize @code{time} as a reserved word if the "
- "next token begins with a @samp{-}. The @env{TIMEFORMAT} variable may be set "
- "to a format string that specifies how the timing information should be "
- "displayed. @xref{Bash Variables}, for a description of the available "
- "formats. The use of @code{time} as a reserved word permits the timing of "
- "shell builtins, shell functions, and pipelines. An external @code{time} "
- "command cannot time these easily."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:658
- msgid ""
- "When the shell is in @sc{posix} mode (@pxref{Bash POSIX Mode}), @code{time} "
- "may be followed by a newline. In this case, the shell displays the total "
- "user and system time consumed by the shell and its children. The "
- "@env{TIMEFORMAT} variable may be used to specify the format of the time "
- "information."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:661
- msgid ""
- "If the pipeline is not executed asynchronously (@pxref{Lists}), the shell "
- "waits for all commands in the pipeline to complete."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:675
- msgid ""
- "Each command in a pipeline is executed in its own subshell (@pxref{Command "
- "Execution Environment}). The exit status of a pipeline is the exit status "
- "of the last command in the pipeline, unless the @code{pipefail} option is "
- "enabled (@pxref{The Set Builtin}). If @code{pipefail} is enabled, the "
- "pipeline's return status is the value of the last (rightmost) command to "
- "exit with a non-zero status, or zero if all commands exit successfully. If "
- "the reserved word @samp{!} precedes the pipeline, the exit status is the "
- "logical negation of the exit status as described above. The shell waits for "
- "all commands in the pipeline to terminate before returning a value."
- msgstr ""
- #. type: subsection
- #: bashref.texi:677
- #, no-wrap
- msgid "Lists of Commands"
- msgstr ""
- #. type: cindex
- #: bashref.texi:678
- #, no-wrap
- msgid "commands, lists"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:684
- msgid ""
- "A @code{list} is a sequence of one or more pipelines separated by one of the "
- "operators @samp{;}, @samp{&}, @samp{&&}, or @samp{||}, and optionally "
- "terminated by one of @samp{;}, @samp{&}, or a @code{newline}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:688
- msgid ""
- "Of these list operators, @samp{&&} and @samp{||} have equal precedence, "
- "followed by @samp{;} and @samp{&}, which have equal precedence."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:691
- msgid ""
- "A sequence of one or more newlines may appear in a @code{list} to delimit "
- "commands, equivalent to a semicolon."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:700
- msgid ""
- "If a command is terminated by the control operator @samp{&}, the shell "
- "executes the command asynchronously in a subshell. This is known as "
- "executing the command in the @var{background}. The shell does not wait for "
- "the command to finish, and the return status is 0 (true). When job control "
- "is not active (@pxref{Job Control}), the standard input for asynchronous "
- "commands, in the absence of any explicit redirections, is redirected from "
- "@code{/dev/null}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:704
- msgid ""
- "Commands separated by a @samp{;} are executed sequentially; the shell waits "
- "for each command to terminate in turn. The return status is the exit status "
- "of the last command executed."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:709
- msgid ""
- "@sc{and} and @sc{or} lists are sequences of one or more pipelines separated "
- "by the control operators @samp{&&} and @samp{||}, respectively. @sc{and} "
- "and @sc{or} lists are executed with left associativity."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:711
- msgid "An @sc{and} list has the form"
- msgstr ""
- #. type: example
- #: bashref.texi:713
- #, no-wrap
- msgid "@var{command1} && @var{command2}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:718
- msgid ""
- "@var{command2} is executed if, and only if, @var{command1} returns an exit "
- "status of zero."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:720
- msgid "An @sc{or} list has the form"
- msgstr ""
- #. type: example
- #: bashref.texi:722
- #, no-wrap
- msgid "@var{command1} || @var{command2}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:727
- msgid ""
- "@var{command2} is executed if, and only if, @var{command1} returns a non-"
- "zero exit status."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:731
- msgid ""
- "The return status of @sc{and} and @sc{or} lists is the exit status of the "
- "last command executed in the list."
- msgstr ""
- #. type: cindex
- #: bashref.texi:734
- #, no-wrap
- msgid "commands, compound"
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:740 bashref.texi:755 bashref.texi:756
- #, no-wrap
- msgid "Looping Constructs"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:740
- msgid "Shell commands for iterative action."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:740 bashref.texi:831 bashref.texi:832
- #, no-wrap
- msgid "Conditional Constructs"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:740
- msgid "Shell commands for conditional execution."
- msgstr ""
- #. type: node
- #: bashref.texi:740 bashref.texi:1121
- #, no-wrap
- msgid "Command Grouping"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:740
- msgid "Ways to group commands."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:747
- msgid ""
- "Compound commands are the shell programming constructs. Each construct "
- "begins with a reserved word or control operator and is terminated by a "
- "corresponding reserved word or operator. Any redirections "
- "(@pxref{Redirections}) associated with a compound command apply to all "
- "commands within that compound command unless explicitly overridden."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:751
- msgid ""
- "In most cases a list of commands in a compound command's description may be "
- "separated from the rest of the command by one or more newlines, and may be "
- "followed by a newline in place of a semicolon."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:754
- msgid ""
- "Bash provides looping constructs, conditional commands, and mechanisms to "
- "group commands and execute them as a unit."
- msgstr ""
- #. type: cindex
- #: bashref.texi:757
- #, no-wrap
- msgid "commands, looping"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:760
- msgid "Bash supports the following looping constructs."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:763
- msgid ""
- "Note that wherever a @samp{;} appears in the description of a command's "
- "syntax, it may be replaced with one or more newlines."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:765 bashref.texi:766
- #, no-wrap
- msgid "until"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:767
- #, no-wrap
- msgid "do"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:768
- #, no-wrap
- msgid "done"
- msgstr ""
- #. type: table
- #: bashref.texi:770
- msgid "The syntax of the @code{until} command is:"
- msgstr ""
- #. type: example
- #: bashref.texi:773
- #, no-wrap
- msgid "until @var{test-commands}; do @var{consequent-commands}; done\n"
- msgstr ""
- #. type: table
- #: bashref.texi:779
- msgid ""
- "Execute @var{consequent-commands} as long as @var{test-commands} has an exit "
- "status which is not zero. The return status is the exit status of the last "
- "command executed in @var{consequent-commands}, or zero if none was executed."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:780 bashref.texi:781
- #, no-wrap
- msgid "while"
- msgstr ""
- #. type: table
- #: bashref.texi:783
- msgid "The syntax of the @code{while} command is:"
- msgstr ""
- #. type: example
- #: bashref.texi:786
- #, no-wrap
- msgid "while @var{test-commands}; do @var{consequent-commands}; done\n"
- msgstr ""
- #. type: table
- #: bashref.texi:792
- msgid ""
- "Execute @var{consequent-commands} as long as @var{test-commands} has an exit "
- "status of zero. The return status is the exit status of the last command "
- "executed in @var{consequent-commands}, or zero if none was executed."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:793 bashref.texi:794
- #, no-wrap
- msgid "for"
- msgstr ""
- #. type: table
- #: bashref.texi:796
- msgid "The syntax of the @code{for} command is:"
- msgstr ""
- #. type: example
- #: bashref.texi:799
- #, no-wrap
- msgid "for @var{name} [ [in [@var{words} @dots{}] ] ; ] do @var{commands}; done\n"
- msgstr ""
- #. type: table
- #: bashref.texi:810
- msgid ""
- "Expand @var{words}, and execute @var{commands} once for each member in the "
- "resultant list, with @var{name} bound to the current member. If @samp{in "
- "@var{words}} is not present, the @code{for} command executes the "
- "@var{commands} once for each positional parameter that is set, as if "
- "@samp{in \"$@@\"} had been specified (@pxref{Special Parameters}). The "
- "return status is the exit status of the last command that executes. If "
- "there are no items in the expansion of @var{words}, no commands are "
- "executed, and the return status is zero."
- msgstr ""
- #. type: table
- #: bashref.texi:812
- msgid "An alternate form of the @code{for} command is also supported:"
- msgstr ""
- #. type: example
- #: bashref.texi:815
- #, no-wrap
- msgid "for (( @var{expr1} ; @var{expr2} ; @var{expr3} )) ; do @var{commands} ; done\n"
- msgstr ""
- #. type: table
- #: bashref.texi:826
- msgid ""
- "First, the arithmetic expression @var{expr1} is evaluated according to the "
- "rules described below (@pxref{Shell Arithmetic}). The arithmetic expression "
- "@var{expr2} is then evaluated repeatedly until it evaluates to zero. Each "
- "time @var{expr2} evaluates to a non-zero value, @var{commands} are executed "
- "and the arithmetic expression @var{expr3} is evaluated. If any expression "
- "is omitted, it behaves as if it evaluates to 1. The return value is the "
- "exit status of the last command in @var{commands} that is executed, or false "
- "if any of the expressions is invalid."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:830
- msgid ""
- "The @code{break} and @code{continue} builtins (@pxref{Bourne Shell "
- "Builtins}) may be used to control loop execution."
- msgstr ""
- #. type: cindex
- #: bashref.texi:833
- #, no-wrap
- msgid "commands, conditional"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:836 bashref.texi:837
- #, no-wrap
- msgid "if"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:838
- #, no-wrap
- msgid "then"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:839
- #, no-wrap
- msgid "else"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:840
- #, no-wrap
- msgid "elif"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:841
- #, no-wrap
- msgid "fi"
- msgstr ""
- #. type: table
- #: bashref.texi:843
- msgid "The syntax of the @code{if} command is:"
- msgstr ""
- #. type: example
- #: bashref.texi:851
- #, no-wrap
- msgid ""
- "if @var{test-commands}; then\n"
- " @var{consequent-commands};\n"
- "[elif @var{more-test-commands}; then\n"
- " @var{more-consequents};]\n"
- "[else @var{alternate-consequents};]\n"
- "fi\n"
- msgstr ""
- #. type: table
- #: bashref.texi:864
- msgid ""
- "The @var{test-commands} list is executed, and if its return status is zero, "
- "the @var{consequent-commands} list is executed. If @var{test-commands} "
- "returns a non-zero status, each @code{elif} list is executed in turn, and if "
- "its exit status is zero, the corresponding @var{more-consequents} is "
- "executed and the command completes. If @samp{else @var{alternate-"
- "consequents}} is present, and the final command in the final @code{if} or "
- "@code{elif} clause has a non-zero exit status, then @var{alternate-"
- "consequents} is executed. The return status is the exit status of the last "
- "command executed, or zero if no condition tested true."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:865 bashref.texi:866
- #, no-wrap
- msgid "case"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:867
- #, no-wrap
- msgid "in"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:868
- #, no-wrap
- msgid "esac"
- msgstr ""
- #. type: table
- #: bashref.texi:870
- msgid "The syntax of the @code{case} command is:"
- msgstr ""
- #. type: example
- #: bashref.texi:873
- #, no-wrap
- msgid "case @var{word} in [ [(] @var{pattern} [| @var{pattern}]@dots{}) @var{command-list} ;;]@dots{} esac\n"
- msgstr ""
- #. type: table
- #: bashref.texi:885
- msgid ""
- "@code{case} will selectively execute the @var{command-list} corresponding to "
- "the first @var{pattern} that matches @var{word}. If the @code{nocasematch} "
- "shell option (see the description of @code{shopt} in @ref{The Shopt "
- "Builtin}) is enabled, the match is performed without regard to the case of "
- "alphabetic characters. The @samp{|} is used to separate multiple patterns, "
- "and the @samp{)} operator terminates a pattern list. A list of patterns and "
- "an associated command-list is known as a @var{clause}."
- msgstr ""
- #. type: table
- #: bashref.texi:891
- msgid ""
- "Each clause must be terminated with @samp{;;}, @samp{;&}, or @samp{;;&}. "
- "The @var{word} undergoes tilde expansion, parameter expansion, command "
- "substitution, arithmetic expansion, and quote removal before matching is "
- "attempted. Each @var{pattern} undergoes tilde expansion, parameter "
- "expansion, command substitution, and arithmetic expansion."
- msgstr ""
- #. type: table
- #: bashref.texi:898
- msgid ""
- "There may be an arbitrary number of @code{case} clauses, each terminated by "
- "a @samp{;;}, @samp{;&}, or @samp{;;&}. The first pattern that matches "
- "determines the command-list that is executed. It's a common idiom to use "
- "@samp{*} as the final pattern to define the default case, since that pattern "
- "will always match."
- msgstr ""
- #. type: table
- #: bashref.texi:901
- msgid ""
- "Here is an example using @code{case} in a script that could be used to "
- "describe one interesting feature of an animal:"
- msgstr ""
- #. type: example
- #: bashref.texi:912
- #, no-wrap
- msgid ""
- "echo -n \"Enter the name of an animal: \"\n"
- "read ANIMAL\n"
- "echo -n \"The $ANIMAL has \"\n"
- "case $ANIMAL in\n"
- " horse | dog | cat) echo -n \"four\";;\n"
- " man | kangaroo ) echo -n \"two\";;\n"
- " *) echo -n \"an unknown number of\";;\n"
- "esac\n"
- "echo \" legs.\"\n"
- msgstr ""
- #. type: table
- #: bashref.texi:923
- msgid ""
- "If the @samp{;;} operator is used, no subsequent matches are attempted after "
- "the first pattern match. Using @samp{;&} in place of @samp{;;} causes "
- "execution to continue with the @var{command-list} associated with the next "
- "clause, if any. Using @samp{;;&} in place of @samp{;;} causes the shell to "
- "test the patterns in the next clause, if any, and execute any associated "
- "@var{command-list} on a successful match."
- msgstr ""
- #. type: table
- #: bashref.texi:926
- msgid ""
- "The return status is zero if no @var{pattern} is matched. Otherwise, the "
- "return status is the exit status of the @var{command-list} executed."
- msgstr ""
- #. type: rwindex
- #: bashref.texi:927 bashref.texi:928
- #, no-wrap
- msgid "select"
- msgstr ""
- #. type: table
- #: bashref.texi:932
- msgid ""
- "The @code{select} construct allows the easy generation of menus. It has "
- "almost the same syntax as the @code{for} command:"
- msgstr ""
- #. type: example
- #: bashref.texi:935
- #, no-wrap
- msgid "select @var{name} [in @var{words} @dots{}]; do @var{commands}; done\n"
- msgstr ""
- #. type: table
- #: bashref.texi:950
- msgid ""
- "The list of words following @code{in} is expanded, generating a list of "
- "items. The set of expanded words is printed on the standard error output "
- "stream, each preceded by a number. If the @samp{in @var{words}} is omitted, "
- "the positional parameters are printed, as if @samp{in \"$@@\"} had been "
- "specified. The @env{PS3} prompt is then displayed and a line is read from "
- "the standard input. If the line consists of a number corresponding to one "
- "of the displayed words, then the value of @var{name} is set to that word. "
- "If the line is empty, the words and prompt are displayed again. If "
- "@code{EOF} is read, the @code{select} command completes. Any other value "
- "read causes @var{name} to be set to null. The line read is saved in the "
- "variable @env{REPLY}."
- msgstr ""
- #. type: table
- #: bashref.texi:954
- msgid ""
- "The @var{commands} are executed after each selection until a @code{break} "
- "command is executed, at which point the @code{select} command completes."
- msgstr ""
- #. type: table
- #: bashref.texi:958
- msgid ""
- "Here is an example that allows the user to pick a filename from the current "
- "directory, and displays the name and index of the file selected."
- msgstr ""
- #. type: example
- #: bashref.texi:965
- #, no-wrap
- msgid ""
- "select fname in *;\n"
- "do\n"
- "\techo you picked $fname \\($REPLY\\)\n"
- "\tbreak;\n"
- "done\n"
- msgstr ""
- #. type: item
- #: bashref.texi:967
- #, no-wrap
- msgid "((@dots{}))"
- msgstr ""
- #. type: example
- #: bashref.texi:970
- #, no-wrap
- msgid "(( @var{expression} ))\n"
- msgstr ""
- #. type: table
- #: bashref.texi:976
- msgid ""
- "The arithmetic @var{expression} is evaluated according to the rules "
- "described below (@pxref{Shell Arithmetic}). If the value of the expression "
- "is non-zero, the return status is 0; otherwise the return status is 1. This "
- "is exactly equivalent to"
- msgstr ""
- #. type: example
- #: bashref.texi:978
- #, no-wrap
- msgid "let \"@var{expression}\"\n"
- msgstr ""
- #. type: table
- #: bashref.texi:981
- msgid "@xref{Bash Builtins}, for a full description of the @code{let} builtin."
- msgstr ""
- #. type: item
- #: bashref.texi:982
- #, no-wrap
- msgid "[[@dots{}]]"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:983
- #, no-wrap
- msgid "[["
- msgstr ""
- #. type: rwindex
- #: bashref.texi:984
- #, no-wrap
- msgid "]]"
- msgstr ""
- #. type: example
- #: bashref.texi:987
- #, no-wrap
- msgid "[[ @var{expression} ]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:999
- msgid ""
- "Return a status of 0 or 1 depending on the evaluation of the conditional "
- "expression @var{expression}. Expressions are composed of the primaries "
- "described below in @ref{Bash Conditional Expressions}. Word splitting and "
- "filename expansion are not performed on the words between the @code{[[} and "
- "@code{]]}; tilde expansion, parameter and variable expansion, arithmetic "
- "expansion, command substitution, process substitution, and quote removal are "
- "performed. Conditional operators such as @samp{-f} must be unquoted to be "
- "recognized as primaries."
- msgstr ""
- #. type: table
- #: bashref.texi:1002
- msgid ""
- "When used with @code{[[}, the @samp{<} and @samp{>} operators sort "
- "lexicographically using the current locale."
- msgstr ""
- #. type: table
- #: bashref.texi:1016
- msgid ""
- "When the @samp{==} and @samp{!=} operators are used, the string to the right "
- "of the operator is considered a pattern and matched according to the rules "
- "described below in @ref{Pattern Matching}, as if the @code{extglob} shell "
- "option were enabled. The @samp{=} operator is identical to @samp{==}. If "
- "the @code{nocasematch} shell option (see the description of @code{shopt} in "
- "@ref{The Shopt Builtin}) is enabled, the match is performed without regard "
- "to the case of alphabetic characters. The return value is 0 if the string "
- "matches (@samp{==}) or does not match (@samp{!=})the pattern, and 1 "
- "otherwise. Any part of the pattern may be quoted to force the quoted "
- "portion to be matched as a string."
- msgstr ""
- #. type: table
- #: bashref.texi:1041
- msgid ""
- "An additional binary operator, @samp{=~}, is available, with the same "
- "precedence as @samp{==} and @samp{!=}. When it is used, the string to the "
- "right of the operator is considered an extended regular expression and "
- "matched accordingly (as in @i{regex}3)). The return value is 0 if the "
- "string matches the pattern, and 1 otherwise. If the regular expression is "
- "syntactically incorrect, the conditional expression's return value is 2. If "
- "the @code{nocasematch} shell option (see the description of @code{shopt} in "
- "@ref{The Shopt Builtin}) is enabled, the match is performed without regard "
- "to the case of alphabetic characters. Any part of the pattern may be quoted "
- "to force the quoted portion to be matched as a string. Bracket expressions "
- "in regular expressions must be treated carefully, since normal quoting "
- "characters lose their meanings between brackets. If the pattern is stored "
- "in a shell variable, quoting the variable expansion forces the entire "
- "pattern to be matched as a string. Substrings matched by parenthesized "
- "subexpressions within the regular expression are saved in the array variable "
- "@code{BASH_REMATCH}. The element of @code{BASH_REMATCH} with index 0 is the "
- "portion of the string matching the entire regular expression. The element "
- "of @code{BASH_REMATCH} with index @var{n} is the portion of the string "
- "matching the @var{n}th parenthesized subexpression."
- msgstr ""
- #. type: table
- #: bashref.texi:1047
- msgid ""
- "For example, the following will match a line (stored in the shell variable "
- "@var{line}) if there is a sequence of characters in the value consisting of "
- "any number, including zero, of space characters, zero or one instances of "
- "@samp{a}, then a @samp{b}:"
- msgstr ""
- #. type: example
- #: bashref.texi:1049
- #, no-wrap
- msgid "[[ $line =~ [[:space:]]*(a)?b ]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:1054
- msgid ""
- "That means values like @samp{aab} and @samp{ aaaaaab} will match, as will a "
- "line containing a @samp{b} anywhere in its value."
- msgstr ""
- #. type: table
- #: bashref.texi:1063
- msgid ""
- "Storing the regular expression in a shell variable is often a useful way to "
- "avoid problems with quoting characters that are special to the shell. It is "
- "sometimes difficult to specify a regular expression literally without using "
- "quotes, or to keep track of the quoting used by regular expressions while "
- "paying attention to the shell's quote removal. Using a shell variable to "
- "store the pattern decreases these problems. For example, the following is "
- "equivalent to the above:"
- msgstr ""
- #. type: example
- #: bashref.texi:1066
- #, no-wrap
- msgid ""
- "pattern='[[:space:]]*(a)?b'\n"
- "[[ $line =~ $pattern ]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:1078
- msgid ""
- "If you want to match a character that's special to the regular expression "
- "grammar, it has to be quoted to remove its special meaning. This means that "
- "in the pattern @samp{xxx.txt}, the @samp{.} matches any character in the "
- "string (its usual regular expression meaning), but in the pattern "
- "@samp{\"xxx.txt\"} it can only match a literal @samp{.}. Shell programmers "
- "should take special care with backslashes, since backslashes are used both "
- "by the shell and regular expressions to remove the special meaning from the "
- "following character. The following two sets of commands are @emph{not} "
- "equivalent:"
- msgstr ""
- #. type: example
- #: bashref.texi:1080
- #, no-wrap
- msgid ""
- "pattern='\\.'\n"
- "\n"
- msgstr ""
- #. type: example
- #: bashref.texi:1083
- #, no-wrap
- msgid ""
- "[[ . =~ $pattern ]]\n"
- "[[ . =~ \\. ]]\n"
- "\n"
- msgstr ""
- #. type: example
- #: bashref.texi:1086
- #, no-wrap
- msgid ""
- "[[ . =~ \"$pattern\" ]]\n"
- "[[ . =~ '\\.' ]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:1096
- msgid ""
- "The first two matches will succeed, but the second two will not, because in "
- "the second two the backslash will be part of the pattern to be matched. In "
- "the first two examples, the backslash removes the special meaning from "
- "@samp{.}, so the literal @samp{.} matches. If the string in the first "
- "examples were anything other than @samp{.}, say @samp{a}, the pattern would "
- "not match, because the quoted @samp{.} in the pattern loses its special "
- "meaning of matching any single character."
- msgstr ""
- #. type: table
- #: bashref.texi:1099
- msgid ""
- "Expressions may be combined using the following operators, listed in "
- "decreasing order of precedence:"
- msgstr ""
- #. type: item
- #: bashref.texi:1101
- #, no-wrap
- msgid "( @var{expression} )"
- msgstr ""
- #. type: table
- #: bashref.texi:1104
- msgid ""
- "Returns the value of @var{expression}. This may be used to override the "
- "normal precedence of operators."
- msgstr ""
- #. type: item
- #: bashref.texi:1105
- #, no-wrap
- msgid "! @var{expression}"
- msgstr ""
- #. type: table
- #: bashref.texi:1107
- msgid "True if @var{expression} is false."
- msgstr ""
- #. type: item
- #: bashref.texi:1108
- #, no-wrap
- msgid "@var{expression1} && @var{expression2}"
- msgstr ""
- #. type: table
- #: bashref.texi:1110
- msgid "True if both @var{expression1} and @var{expression2} are true."
- msgstr ""
- #. type: item
- #: bashref.texi:1111
- #, no-wrap
- msgid "@var{expression1} || @var{expression2}"
- msgstr ""
- #. type: table
- #: bashref.texi:1113
- msgid "True if either @var{expression1} or @var{expression2} is true."
- msgstr ""
- #. type: table
- #: bashref.texi:1119
- msgid ""
- "The @code{&&} and @code{||} operators do not evaluate @var{expression2} if "
- "the value of @var{expression1} is sufficient to determine the return value "
- "of the entire conditional expression."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:1122
- #, no-wrap
- msgid "Grouping Commands"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1123
- #, no-wrap
- msgid "commands, grouping"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1129
- msgid ""
- "Bash provides two ways to group a list of commands to be executed as a "
- "unit. When commands are grouped, redirections may be applied to the entire "
- "command list. For example, the output of all the commands in the list may "
- "be redirected to a single stream."
- msgstr ""
- #. type: item
- #: bashref.texi:1131
- #, no-wrap
- msgid "()"
- msgstr ""
- #. type: example
- #: bashref.texi:1134
- #, no-wrap
- msgid "( @var{list} )\n"
- msgstr ""
- #. type: table
- #: bashref.texi:1141
- msgid ""
- "Placing a list of commands between parentheses causes a subshell environment "
- "to be created (@pxref{Command Execution Environment}), and each of the "
- "commands in @var{list} to be executed in that subshell. Since the "
- "@var{list} is executed in a subshell, variable assignments do not remain in "
- "effect after the subshell completes."
- msgstr ""
- #. type: item
- #: bashref.texi:1142
- #, no-wrap
- msgid "@{@}"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:1143
- #, no-wrap
- msgid "@{"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:1144
- #, no-wrap
- msgid "@}"
- msgstr ""
- #. type: example
- #: bashref.texi:1147
- #, no-wrap
- msgid "@{ @var{list}; @}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:1152
- msgid ""
- "Placing a list of commands between curly braces causes the list to be "
- "executed in the current shell context. No subshell is created. The "
- "semicolon (or newline) following @var{list} is required."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1161
- msgid ""
- "In addition to the creation of a subshell, there is a subtle difference "
- "between these two constructs due to historical reasons. The braces are "
- "@code{reserved words}, so they must be separated from the @var{list} by "
- "@code{blank}s or other shell metacharacters. The parentheses are "
- "@code{operators}, and are recognized as separate tokens by the shell even if "
- "they are not separated from the @var{list} by whitespace."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1164
- msgid ""
- "The exit status of both of these constructs is the exit status of @var{list}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1167
- #, no-wrap
- msgid "coprocess"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1174
- msgid ""
- "A @code{coprocess} is a shell command preceded by the @code{coproc} reserved "
- "word. A coprocess is executed asynchronously in a subshell, as if the "
- "command had been terminated with the @samp{&} control operator, with a two-"
- "way pipe established between the executing shell and the coprocess."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1176
- msgid "The format for a coprocess is:"
- msgstr ""
- #. type: example
- #: bashref.texi:1178
- #, no-wrap
- msgid "coproc [@var{NAME}] @var{command} [@var{redirections}]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1186
- msgid ""
- "This creates a coprocess named @var{NAME}. If @var{NAME} is not supplied, "
- "the default name is @var{COPROC}. @var{NAME} must not be supplied if "
- "@var{command} is a simple command (@pxref{Simple Commands}); otherwise, it "
- "is interpreted as the first word of the simple command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1201
- msgid ""
- "When the coprocess is executed, the shell creates an array variable "
- "(@pxref{Arrays}) named @env{NAME} in the context of the executing shell. "
- "The standard output of @var{command} is connected via a pipe to a file "
- "descriptor in the executing shell, and that file descriptor is assigned to "
- "@env{NAME}[0]. The standard input of @var{command} is connected via a pipe "
- "to a file descriptor in the executing shell, and that file descriptor is "
- "assigned to @env{NAME}[1]. This pipe is established before any redirections "
- "specified by the command (@pxref{Redirections}). The file descriptors can "
- "be utilized as arguments to shell commands and redirections using standard "
- "word expansions. The file descriptors are not available in subshells."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1206
- msgid ""
- "The process ID of the shell spawned to execute the coprocess is available as "
- "the value of the variable @env{NAME}_PID. The @code{wait} builtin command "
- "may be used to wait for the coprocess to terminate."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1210
- msgid ""
- "Since the coprocess is created as an asynchronous command, the @code{coproc} "
- "command always returns success. The return status of a coprocess is the "
- "exit status of @var{command}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1216
- msgid ""
- "There are ways to run commands in parallel that are not built into Bash. "
- "GNU Parallel is a tool to do just that."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1224
- msgid ""
- "GNU Parallel, as its name suggests, can be used to build and run commands in "
- "parallel. You may run the same command with different arguments, whether "
- "they are filenames, usernames, hostnames, or lines read from files. GNU "
- "Parallel provides shorthand references to many of the most common operations "
- "(input lines, various portions of the input line, different ways to specify "
- "the input source, and so on). Parallel can replace @code{xargs} or feed "
- "commands from its input sources to several different instances of Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1227
- msgid ""
- "For a complete description, refer to the GNU Parallel documentation. A few "
- "examples should provide a brief introduction to its use."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1230
- msgid ""
- "For example, it is easy to replace @code{xargs} to gzip all html files in "
- "the current directory and its subdirectories:"
- msgstr ""
- #. type: example
- #: bashref.texi:1232
- #, no-wrap
- msgid "find . -type f -name '*.html' -print | parallel gzip\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1236
- msgid ""
- "If you need to protect special characters such as newlines in file names, "
- "use find's @option{-print0} option and parallel's @option{-0} option."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1239
- msgid ""
- "You can use Parallel to move files from the current directory when the "
- "number of files is too large to process with one @code{mv} invocation:"
- msgstr ""
- #. type: example
- #: bashref.texi:1241
- #, no-wrap
- msgid "ls | parallel mv @{@} destdir\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1247
- msgid ""
- "As you can see, the @{@} is replaced with each line read from standard "
- "input. While using @code{ls} will work in most instances, it is not "
- "sufficient to deal with all filenames. If you need to accommodate special "
- "characters in filenames, you can use"
- msgstr ""
- #. type: example
- #: bashref.texi:1250
- #, no-wrap
- msgid "find . -depth 1 \\! -name '.*' -print0 | parallel -0 mv @{@} destdir\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1254
- msgid "as alluded to above."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1258
- msgid ""
- "This will run as many @code{mv} commands as there are files in the current "
- "directory. You can emulate a parallel @code{xargs} by adding the @option{-"
- "X} option:"
- msgstr ""
- #. type: example
- #: bashref.texi:1260
- #, no-wrap
- msgid "find . -depth 1 \\! -name '.*' -print0 | parallel -0 -X mv @{@} destdir\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1264
- msgid ""
- "GNU Parallel can replace certain common idioms that operate on lines read "
- "from a file (in this case, filenames listed one per line):"
- msgstr ""
- #. type: example
- #: bashref.texi:1269
- #, no-wrap
- msgid ""
- "\twhile IFS= read -r x; do\n"
- "\t\tdo-something1 \"$x\" \"config-$x\"\n"
- "\t\tdo-something2 < \"$x\"\n"
- "\tdone < file | process-output\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1273
- msgid "with a more compact syntax reminiscent of lambdas:"
- msgstr ""
- #. type: example
- #: bashref.texi:1275
- #, no-wrap
- msgid "cat list | parallel \"do-something1 @{@} config-@{@} ; do-something2 < @{@}\" | process-output\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1279
- msgid ""
- "Parallel provides a built-in mechanism to remove filename extensions, which "
- "lends itself to batch file transformations or renaming:"
- msgstr ""
- #. type: example
- #: bashref.texi:1281
- #, no-wrap
- msgid "ls *.gz | parallel -j+0 \"zcat @{@} | bzip2 >@{.@}.bz2 && rm @{@}\"\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1289
- msgid ""
- "This will recompress all files in the current directory with names ending "
- "in .gz using bzip2, running one job per CPU (-j+0) in parallel. (We use "
- "@code{ls} for brevity here; using @code{find} as above is more robust in the "
- "face of filenames containing unexpected characters.) Parallel can take "
- "arguments from the command line; the above can also be written as"
- msgstr ""
- #. type: example
- #: bashref.texi:1292
- #, no-wrap
- msgid "parallel \"zcat @{@} | bzip2 >@{.@}.bz2 && rm @{@}\" ::: *.gz\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1296
- msgid ""
- "If a command generates output, you may want to preserve the input order in "
- "the output. For instance, the following command"
- msgstr ""
- #. type: example
- #: bashref.texi:1298
- #, no-wrap
- msgid "@{ echo foss.org.my ; echo debian.org; echo freenetproject.org; @} | parallel traceroute\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1302
- msgid ""
- "will display as output the traceroute invocation that finishes first. "
- "Adding the @option{-k} option"
- msgstr ""
- #. type: example
- #: bashref.texi:1304
- #, no-wrap
- msgid "@{ echo foss.org.my ; echo debian.org; echo freenetproject.org; @} | parallel -k traceroute\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1307
- msgid ""
- "will ensure that the output of @code{traceroute foss.org.my} is displayed "
- "first."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1314
- msgid ""
- "Finally, Parallel can be used to run a sequence of shell commands in "
- "parallel, similar to @samp{cat file | bash}. It is not uncommon to take a "
- "list of filenames, create a series of shell commands to operate on them, and "
- "feed that list of commnds to a shell. Parallel can speed this up. Assuming "
- "that @file{file} contains a list of shell commands, one per line,"
- msgstr ""
- #. type: example
- #: bashref.texi:1317
- #, no-wrap
- msgid "parallel -j 10 < file\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1322
- msgid ""
- "will evaluate the commands using the shell (since no explicit command is "
- "supplied as an argument), in blocks of ten shell jobs at a time."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1325
- #, no-wrap
- msgid "shell function"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1326
- #, no-wrap
- msgid "functions, shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1335
- msgid ""
- "Shell functions are a way to group commands for later execution using a "
- "single name for the group. They are executed just like a \"regular\" "
- "command. When the name of a shell function is used as a simple command "
- "name, the list of commands associated with that function name is executed. "
- "Shell functions are executed in the current shell context; no new process is "
- "created to interpret them."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1337
- msgid "Functions are declared using this syntax:"
- msgstr ""
- #. type: rwindex
- #: bashref.texi:1337
- #, no-wrap
- msgid "function"
- msgstr ""
- #. type: example
- #: bashref.texi:1340
- #, no-wrap
- msgid "@var{name} () @var{compound-command} [ @var{redirections} ]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1343 bashref.texi:1788 bashref.texi:2253 bashref.texi:2316
- msgid "or"
- msgstr ""
- #. type: example
- #: bashref.texi:1346
- #, no-wrap
- msgid "function @var{name} [()] @var{compound-command} [ @var{redirections} ]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1365
- msgid ""
- "This defines a shell function named @var{name}. The reserved word "
- "@code{function} is optional. If the @code{function} reserved word is "
- "supplied, the parentheses are optional. The @var{body} of the function is "
- "the compound command @var{compound-command} (@pxref{Compound Commands}). "
- "That command is usually a @var{list} enclosed between @{ and @}, but may be "
- "any compound command listed above, with one exception: If the "
- "@code{function} reserved word is used, but the parentheses are not supplied, "
- "the braces are required. @var{compound-command} is executed whenever "
- "@var{name} is specified as the name of a command. When the shell is in "
- "@sc{posix} mode (@pxref{Bash POSIX Mode}), @var{name} may not be the same as "
- "one of the special builtins (@pxref{Special Builtins}). Any redirections "
- "(@pxref{Redirections}) associated with the shell function are performed when "
- "the function is executed."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1368
- msgid ""
- "A function definition may be deleted using the @option{-f} option to the "
- "@code{unset} builtin (@pxref{Bourne Shell Builtins})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1373
- msgid ""
- "The exit status of a function definition is zero unless a syntax error "
- "occurs or a readonly function with the same name already exists. When "
- "executed, the exit status of a function is the exit status of the last "
- "command executed in the body."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1382
- msgid ""
- "Note that for historical reasons, in the most common usage the curly braces "
- "that surround the body of the function must be separated from the body by "
- "@code{blank}s or newlines. This is because the braces are reserved words "
- "and are only recognized as such when they are separated from the command "
- "list by whitespace or another shell metacharacter. Also, when using the "
- "braces, the @var{list} must be terminated by a semicolon, a @samp{&}, or a "
- "newline."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1391
- msgid ""
- "When a function is executed, the arguments to the function become the "
- "positional parameters during its execution (@pxref{Positional Parameters}). "
- "The special parameter @samp{#} that expands to the number of positional "
- "parameters is updated to reflect the change. Special parameter @code{0} is "
- "unchanged. The first element of the @env{FUNCNAME} variable is set to the "
- "name of the function while the function is executing."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1405
- msgid ""
- "All other aspects of the shell execution environment are identical between a "
- "function and its caller with these exceptions: the @env{DEBUG} and "
- "@env{RETURN} traps are not inherited unless the function has been given the "
- "@code{trace} attribute using the @code{declare} builtin or the @code{-o "
- "functrace} option has been enabled with the @code{set} builtin, (in which "
- "case all functions inherit the @env{DEBUG} and @env{RETURN} traps), and the "
- "@env{ERR} trap is not inherited unless the @code{-o errtrace} shell option "
- "has been enabled. @xref{Bourne Shell Builtins}, for the description of the "
- "@code{trap} builtin."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1410
- msgid ""
- "The @env{FUNCNEST} variable, if set to a numeric value greater than 0, "
- "defines a maximum function nesting level. Function invocations that exceed "
- "the limit cause the entire command to abort."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1424
- msgid ""
- "If the builtin command @code{return} is executed in a function, the function "
- "completes and execution resumes with the next command after the function "
- "call. Any command associated with the @code{RETURN} trap is executed before "
- "execution resumes. When a function completes, the values of the positional "
- "parameters and the special parameter @samp{#} are restored to the values "
- "they had prior to the function's execution. If a numeric argument is given "
- "to @code{return}, that is the function's return status; otherwise the "
- "function's return status is the exit status of the last command executed "
- "before the @code{return}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1428
- msgid ""
- "Variables local to the function may be declared with the @code{local} "
- "builtin. These variables are visible only to the function and the commands "
- "it invokes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1444
- msgid ""
- "Function names and definitions may be listed with the @option{-f} option to "
- "the @code{declare} (@code{typeset}) builtin command (@pxref{Bash "
- "Builtins}). The @option{-F} option to @code{declare} or @code{typeset} will "
- "list the function names only (and optionally the source file and line "
- "number, if the @code{extdebug} shell option is enabled). Functions may be "
- "exported so that subshells automatically have them defined with the @option{-"
- "f} option to the @code{export} builtin (@pxref{Bourne Shell Builtins}). "
- "Note that shell functions and variables with the same name may result in "
- "multiple identically-named entries in the environment passed to the shell's "
- "children. Care should be taken in cases where this may cause a problem."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1449
- msgid ""
- "Functions may be recursive. The @code{FUNCNEST} variable may be used to "
- "limit the depth of the function call stack and restrict the number of "
- "function invocations. By default, no limit is placed on the number of "
- "recursive calls."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1452
- #, no-wrap
- msgid "parameters"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1453
- #, no-wrap
- msgid "variable, shell"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1454
- #, no-wrap
- msgid "shell variable"
- msgstr ""
- #. type: subsection
- #: bashref.texi:1459 bashref.texi:1551 bashref.texi:1552
- #, no-wrap
- msgid "Positional Parameters"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1459
- msgid "The shell's command-line arguments."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1459 bashref.texi:1571 bashref.texi:1572
- #, no-wrap
- msgid "Special Parameters"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1459
- msgid "Parameters denoted by special characters."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1468
- msgid ""
- "A @var{parameter} is an entity that stores values. It can be a @code{name}, "
- "a number, or one of the special characters listed below. A @var{variable} "
- "is a parameter denoted by a @code{name}. A variable has a @var{value} and "
- "zero or more @var{attributes}. Attributes are assigned using the "
- "@code{declare} builtin command (see the description of the @code{declare} "
- "builtin in @ref{Bash Builtins})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1472
- msgid ""
- "A parameter is set if it has been assigned a value. The null string is a "
- "valid value. Once a variable is set, it may be unset only by using the "
- "@code{unset} builtin command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1474
- msgid "A variable may be assigned to by a statement of the form"
- msgstr ""
- #. type: example
- #: bashref.texi:1476
- #, no-wrap
- msgid "@var{name}=[@var{value}]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1496
- msgid ""
- "If @var{value} is not given, the variable is assigned the null string. All "
- "@var{value}s undergo tilde expansion, parameter and variable expansion, "
- "command substitution, arithmetic expansion, and quote removal (detailed "
- "below). If the variable has its @code{integer} attribute set, then "
- "@var{value} is evaluated as an arithmetic expression even if the "
- "@code{$((@dots{}))} expansion is not used (@pxref{Arithmetic Expansion}). "
- "Word splitting is not performed, with the exception of @code{\"$@@\"} as "
- "explained below. Filename expansion is not performed. Assignment "
- "statements may also appear as arguments to the @code{alias}, @code{declare}, "
- "@code{typeset}, @code{export}, @code{readonly}, and @code{local} builtin "
- "commands (@var{declaration} commands). When in @sc{posix} mode (@pxref{Bash "
- "POSIX Mode}), these builtins may appear in a command after one or more "
- "instances of the @code{command} builtin and retain these assignment "
- "statement properties."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1514
- msgid ""
- "In the context where an assignment statement is assigning a value to a shell "
- "variable or array index (@pxref{Arrays}), the @samp{+=} operator can be used "
- "to append to or add to the variable's previous value. This includes "
- "arguments to builtin commands such as @code{declare} that accept assignment "
- "statements (@var{declaration} commands). When @samp{+=} is applied to a "
- "variable for which the @var{integer} attribute has been set, @var{value} is "
- "evaluated as an arithmetic expression and added to the variable's current "
- "value, which is also evaluated. When @samp{+=} is applied to an array "
- "variable using compound assignment (@pxref{Arrays}), the variable's value is "
- "not unset (as it is when using @samp{=}), and new values are appended to the "
- "array beginning at one greater than the array's maximum index (for indexed "
- "arrays), or added as additional key-value pairs in an associative array. "
- "When applied to a string-valued variable, @var{value} is expanded and "
- "appended to the variable's value."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1529
- msgid ""
- "A variable can be assigned the @var{nameref} attribute using the @option{-n} "
- "option to the @code{declare} or @code{local} builtin commands (@pxref{Bash "
- "Builtins}) to create a @var{nameref}, or a reference to another variable. "
- "This allows variables to be manipulated indirectly. Whenever the nameref "
- "variable is referenced, assigned to, unset, or has its attributes modified "
- "(other than using or changing the nameref attribute itself), the operation "
- "is actually performed on the variable specified by the nameref variable's "
- "value. A nameref is commonly used within shell functions to refer to a "
- "variable whose name is passed as an argument to the function. For instance, "
- "if a variable name is passed to a shell function as its first argument, "
- "running"
- msgstr ""
- #. type: example
- #: bashref.texi:1531
- #, no-wrap
- msgid "declare -n ref=$1\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1538
- msgid ""
- "inside the function creates a nameref variable @var{ref} whose value is the "
- "variable name passed as the first argument. References and assignments to "
- "@var{ref}, and changes to its attributes, are treated as references, "
- "assignments, and attribute modifications to the variable whose name was "
- "passed as @code{$1}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1550
- msgid ""
- "If the control variable in a @code{for} loop has the nameref attribute, the "
- "list of words can be a list of shell variables, and a name reference will be "
- "established for each word in the list, in turn, when the loop is executed. "
- "Array variables cannot be given the nameref attribute. However, nameref "
- "variables can reference array variables and subscripted array variables. "
- "Namerefs can be unset using the @option{-n} option to the @code{unset} "
- "builtin (@pxref{Bourne Shell Builtins}). Otherwise, if @code{unset} is "
- "executed with the name of a nameref variable as an argument, the variable "
- "referenced by the nameref variable will be unset."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1553
- #, no-wrap
- msgid "parameters, positional"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1567
- msgid ""
- "A @var{positional parameter} is a parameter denoted by one or more digits, "
- "other than the single digit @code{0}. Positional parameters are assigned "
- "from the shell's arguments when it is invoked, and may be reassigned using "
- "the @code{set} builtin command. Positional parameter @code{N} may be "
- "referenced as @code{$@{N@}}, or as @code{$N} when @code{N} consists of a "
- "single digit. Positional parameters may not be assigned to with assignment "
- "statements. The @code{set} and @code{shift} builtins are used to set and "
- "unset them (@pxref{Shell Builtin Commands}). The positional parameters are "
- "temporarily replaced when a shell function is executed (@pxref{Shell "
- "Functions})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1570
- msgid ""
- "When a positional parameter consisting of more than a single digit is "
- "expanded, it must be enclosed in braces."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1573
- #, no-wrap
- msgid "parameters, special"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1577
- msgid ""
- "The shell treats several parameters specially. These parameters may only be "
- "referenced; assignment to them is not allowed."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1579 bashref.texi:5396 bashref.texi:5461 bashref.texi:7888
- msgid "@vtable @code"
- msgstr ""
- #. type: item
- #: bashref.texi:1580 bashref.texi:2456
- #, no-wrap
- msgid "*"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1581
- #, no-wrap
- msgid "$*"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1596
- msgid ""
- "($*) Expands to the positional parameters, starting from one. When the "
- "expansion is not within double quotes, each positional parameter expands to "
- "a separate word. In contexts where it is performed, those words are subject "
- "to further word splitting and pathname expansion. When the expansion occurs "
- "within double quotes, it expands to a single word with the value of each "
- "parameter separated by the first character of the @env{IFS} special "
- "variable. That is, @code{\"$*\"} is equivalent to @code{\"$1@var{c}$2@var{c}"
- "@dots{}\"}, where @var{c} is the first character of the value of the "
- "@code{IFS} variable. If @env{IFS} is unset, the parameters are separated by "
- "spaces. If @env{IFS} is null, the parameters are joined without intervening "
- "separators."
- msgstr ""
- #. type: item
- #: bashref.texi:1597
- #, no-wrap
- msgid "@@"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1598
- #, no-wrap
- msgid "$@@"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1610
- msgid ""
- "($@@) Expands to the positional parameters, starting from one. When the "
- "expansion occurs within double quotes, each parameter expands to a separate "
- "word. That is, @code{\"$@@\"} is equivalent to @code{\"$1\" \"$2\" "
- "@dots{}}. If the double-quoted expansion occurs within a word, the "
- "expansion of the first parameter is joined with the beginning part of the "
- "original word, and the expansion of the last parameter is joined with the "
- "last part of the original word. When there are no positional parameters, "
- "@code{\"$@@\"} and @code{$@@} expand to nothing (i.e., they are removed)."
- msgstr ""
- #. type: item
- #: bashref.texi:1611
- #, no-wrap
- msgid "#"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1612
- #, no-wrap
- msgid "$#"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1614
- msgid "($#) Expands to the number of positional parameters in decimal."
- msgstr ""
- #. type: item
- #: bashref.texi:1615 bashref.texi:2464
- #, no-wrap
- msgid "?"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1616
- #, no-wrap
- msgid "$?"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1619
- msgid ""
- "($?) Expands to the exit status of the most recently executed foreground "
- "pipeline."
- msgstr ""
- #. type: item
- #: bashref.texi:1620 bashref.texi:4939
- #, no-wrap
- msgid "-"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1621
- #, no-wrap
- msgid "$-"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1626
- msgid ""
- "($-, a hyphen.) Expands to the current option flags as specified upon "
- "invocation, by the @code{set} builtin command, or those set by the shell "
- "itself (such as the @option{-i} option)."
- msgstr ""
- #. type: item
- #: bashref.texi:1627
- #, no-wrap
- msgid "$"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1628
- #, no-wrap
- msgid "$$"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1631
- msgid ""
- "($$) Expands to the process @sc{id} of the shell. In a @code{()} subshell, "
- "it expands to the process @sc{id} of the invoking shell, not the subshell."
- msgstr ""
- #. type: vindex
- #: bashref.texi:1633
- #, no-wrap
- msgid "$!"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1637
- msgid ""
- "($!) Expands to the process @sc{id} of the job most recently placed into the "
- "background, whether executed as an asynchronous command or using the "
- "@code{bg} builtin (@pxref{Job Control Builtins})."
- msgstr ""
- #. type: item
- #: bashref.texi:1638
- #, no-wrap
- msgid "0"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1639
- #, no-wrap
- msgid "$0"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1647
- msgid ""
- "($0) Expands to the name of the shell or shell script. This is set at shell "
- "initialization. If Bash is invoked with a file of commands (@pxref{Shell "
- "Scripts}), @code{$0} is set to the name of that file. If Bash is started "
- "with the @option{-c} option (@pxref{Invoking Bash}), then @code{$0} is set "
- "to the first argument after the string to be executed, if one is present. "
- "Otherwise, it is set to the filename used to invoke Bash, as given by "
- "argument zero."
- msgstr ""
- #. type: item
- #: bashref.texi:1648
- #, no-wrap
- msgid "_"
- msgstr ""
- #. type: vindex
- #: bashref.texi:1649
- #, no-wrap
- msgid "$_"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1659
- msgid ""
- "($_, an underscore.) At shell startup, set to the absolute pathname used to "
- "invoke the shell or shell script being executed as passed in the environment "
- "or argument list. Subsequently, expands to the last argument to the "
- "previous command, after expansion. Also set to the full pathname used to "
- "invoke each command executed and placed in the environment exported to that "
- "command. When checking mail, this parameter holds the name of the mail file."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1663
- #, no-wrap
- msgid "expansion"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1667
- msgid ""
- "Expansion is performed on the command line after it has been split into "
- "@code{token}s. There are seven kinds of expansion performed:"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1669 bashref.texi:1722
- #, no-wrap
- msgid "brace expansion"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1670 bashref.texi:1794
- #, no-wrap
- msgid "tilde expansion"
- msgstr ""
- #. type: item
- #: bashref.texi:1671
- #, no-wrap
- msgid "parameter and variable expansion"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1672 bashref.texi:2243
- #, no-wrap
- msgid "command substitution"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1673 bashref.texi:2283
- #, no-wrap
- msgid "arithmetic expansion"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1674 bashref.texi:2341
- #, no-wrap
- msgid "word splitting"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1675 bashref.texi:2390
- #, no-wrap
- msgid "filename expansion"
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:1720 bashref.texi:1721
- #, no-wrap
- msgid "Brace Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "Expansion of expressions within braces."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:1792 bashref.texi:1793
- #, no-wrap
- msgid "Tilde Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "Expansion of the ~ character."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:1862 bashref.texi:1863
- #, no-wrap
- msgid "Shell Parameter Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "How Bash expands variables to their values."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2241 bashref.texi:2242
- #, no-wrap
- msgid "Command Substitution"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "Using the output of a command as an argument."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2280 bashref.texi:2281
- #, no-wrap
- msgid "Arithmetic Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "How to use arithmetic in shell expansions."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2304 bashref.texi:2305
- #, no-wrap
- msgid "Process Substitution"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "A way to write and read to and from a command."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2339 bashref.texi:2340
- #, no-wrap
- msgid "Word Splitting"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "How the results of expansion are split into separate arguments."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2383 bashref.texi:2384
- #, no-wrap
- msgid "Filename Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "A shorthand for specifying filenames matching patterns."
- msgstr ""
- #. type: subsection
- #: bashref.texi:1691 bashref.texi:2536 bashref.texi:2537
- #, no-wrap
- msgid "Quote Removal"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:1691
- msgid "How and when quote characters are removed from words."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1699
- msgid ""
- "The order of expansions is: brace expansion; tilde expansion, parameter and "
- "variable expansion, arithmetic expansion, and command substitution (done in "
- "a left-to-right fashion); word splitting; and filename expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1705
- msgid ""
- "On systems that can support it, there is an additional expansion available: "
- "@var{process substitution}. This is performed at the same time as tilde, "
- "parameter, variable, and arithmetic expansion and command substitution."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1709
- msgid ""
- "After these expansions are performed, quote characters present in the "
- "original word are removed unless they have been quoted themselves "
- "(@var{quote removal})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1716
- msgid ""
- "Only brace expansion, word splitting, and filename expansion can change the "
- "number of words of the expansion; other expansions expand a single word to a "
- "single word. The only exceptions to this are the expansions of @code{\"$@@"
- "\"} (@pxref{Special Parameters}) and @code{\"$@{@var{name}[@@]@}\"} "
- "(@pxref{Arrays})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1719
- msgid ""
- "After all expansions, @code{quote removal} (@pxref{Quote Removal}) is "
- "performed."
- msgstr ""
- #. type: cindex
- #: bashref.texi:1723
- #, no-wrap
- msgid "expansion, brace"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1736
- msgid ""
- "Brace expansion is a mechanism by which arbitrary strings may be generated. "
- "This mechanism is similar to @var{filename expansion} (@pxref{Filename "
- "Expansion}), but the filenames generated need not exist. Patterns to be "
- "brace expanded take the form of an optional @var{preamble}, followed by "
- "either a series of comma-separated strings or a sequence expression between "
- "a pair of braces, followed by an optional @var{postscript}. The preamble is "
- "prefixed to each string contained within the braces, and the postscript is "
- "then appended to each resulting string, expanding left to right."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1741
- msgid ""
- "Brace expansions may be nested. The results of each expanded string are not "
- "sorted; left to right order is preserved. For example,"
- msgstr ""
- #. type: example
- #: bashref.texi:1744
- #, no-wrap
- msgid ""
- "bash$ echo a@{d,c,b@}e\n"
- "ade ace abe\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1762
- msgid ""
- "A sequence expression takes the form @code{@{@var{x}..@var{y}[.."
- "@var{incr}]@}}, where @var{x} and @var{y} are either integers or single "
- "characters, and @var{incr}, an optional increment, is an integer. When "
- "integers are supplied, the expression expands to each number between @var{x} "
- "and @var{y}, inclusive. Supplied integers may be prefixed with @samp{0} to "
- "force each term to have the same width. When either @var{x} or @var{y} "
- "begins with a zero, the shell attempts to force all generated terms to "
- "contain the same number of digits, zero-padding where necessary. When "
- "characters are supplied, the expression expands to each character "
- "lexicographically between @var{x} and @var{y}, inclusive, using the default "
- "C locale. Note that both @var{x} and @var{y} must be of the same type. "
- "When the increment is supplied, it is used as the difference between each "
- "term. The default increment is 1 or -1 as appropriate."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1770
- msgid ""
- "Brace expansion is performed before any other expansions, and any characters "
- "special to other expansions are preserved in the result. It is strictly "
- "textual. Bash does not apply any syntactic interpretation to the context of "
- "the expansion or the text between the braces. To avoid conflicts with "
- "parameter expansion, the string @samp{$@{} is not considered eligible for "
- "brace expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1775
- msgid ""
- "A correctly-formed brace expansion must contain unquoted opening and closing "
- "braces, and at least one unquoted comma or a valid sequence expression. Any "
- "incorrectly formed brace expansion is left unchanged."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1780
- msgid ""
- "A @{ or @samp{,} may be quoted with a backslash to prevent its being "
- "considered part of a brace expression. To avoid conflicts with parameter "
- "expansion, the string @samp{$@{} is not considered eligible for brace "
- "expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1784
- msgid ""
- "This construct is typically used as shorthand when the common prefix of the "
- "strings to be generated is longer than in the above example:"
- msgstr ""
- #. type: example
- #: bashref.texi:1786
- #, no-wrap
- msgid "mkdir /usr/local/src/bash/@{old,new,dist,bugs@}\n"
- msgstr ""
- #. type: example
- #: bashref.texi:1790
- #, no-wrap
- msgid "chown root /usr/@{ucb/@{ex,edit@},lib/@{ex?.?*,how_ex@}@}\n"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1795
- #, no-wrap
- msgid "expansion, tilde"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1809
- msgid ""
- "If a word begins with an unquoted tilde character (@samp{~}), all of the "
- "characters up to the first unquoted slash (or all characters, if there is no "
- "unquoted slash) are considered a @var{tilde-prefix}. If none of the "
- "characters in the tilde-prefix are quoted, the characters in the tilde-"
- "prefix following the tilde are treated as a possible @var{login name}. If "
- "this login name is the null string, the tilde is replaced with the value of "
- "the @env{HOME} shell variable. If @env{HOME} is unset, the home directory "
- "of the user executing the shell is substituted instead. Otherwise, the "
- "tilde-prefix is replaced with the home directory associated with the "
- "specified login name."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1814
- msgid ""
- "If the tilde-prefix is @samp{~+}, the value of the shell variable @env{PWD} "
- "replaces the tilde-prefix. If the tilde-prefix is @samp{~-}, the value of "
- "the shell variable @env{OLDPWD}, if it is set, is substituted."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1823
- msgid ""
- "If the characters following the tilde in the tilde-prefix consist of a "
- "number @var{N}, optionally prefixed by a @samp{+} or a @samp{-}, the tilde-"
- "prefix is replaced with the corresponding element from the directory stack, "
- "as it would be displayed by the @code{dirs} builtin invoked with the "
- "characters following tilde in the tilde-prefix as an argument (@pxref{The "
- "Directory Stack}). If the tilde-prefix, sans the tilde, consists of a "
- "number without a leading @samp{+} or @samp{-}, @samp{+} is assumed."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1826
- msgid ""
- "If the login name is invalid, or the tilde expansion fails, the word is left "
- "unchanged."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1833
- msgid ""
- "Each variable assignment is checked for unquoted tilde-prefixes immediately "
- "following a @samp{:} or the first @samp{=}. In these cases, tilde expansion "
- "is also performed. Consequently, one may use filenames with tildes in "
- "assignments to @env{PATH}, @env{MAILPATH}, and @env{CDPATH}, and the shell "
- "assigns the expanded value."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1835
- msgid "The following table shows how Bash treats unquoted tilde-prefixes:"
- msgstr ""
- #. type: item
- #: bashref.texi:1837
- #, no-wrap
- msgid "~"
- msgstr ""
- #. type: table
- #: bashref.texi:1839
- msgid "The value of @code{$HOME}"
- msgstr ""
- #. type: item
- #: bashref.texi:1839
- #, no-wrap
- msgid "~/foo"
- msgstr ""
- #. type: file{#1}
- #: bashref.texi:1841
- msgid "$HOME/foo"
- msgstr ""
- #. type: item
- #: bashref.texi:1842
- #, no-wrap
- msgid "~fred/foo"
- msgstr ""
- #. type: table
- #: bashref.texi:1845
- msgid ""
- "The subdirectory @code{foo} of the home directory of the user @code{fred}"
- msgstr ""
- #. type: item
- #: bashref.texi:1846
- #, no-wrap
- msgid "~+/foo"
- msgstr ""
- #. type: file{#1}
- #: bashref.texi:1848
- msgid "$PWD/foo"
- msgstr ""
- #. type: item
- #: bashref.texi:1849
- #, no-wrap
- msgid "~-/foo"
- msgstr ""
- #. type: file{#1}
- #: bashref.texi:1851
- msgid "$@{OLDPWD-'~-'@}/foo"
- msgstr ""
- #. type: item
- #: bashref.texi:1852
- #, no-wrap
- msgid "~@var{N}"
- msgstr ""
- #. type: table
- #: bashref.texi:1854 bashref.texi:1857
- msgid "The string that would be displayed by @samp{dirs +@var{N}}"
- msgstr ""
- #. type: item
- #: bashref.texi:1855
- #, no-wrap
- msgid "~+@var{N}"
- msgstr ""
- #. type: item
- #: bashref.texi:1858
- #, no-wrap
- msgid "~-@var{N}"
- msgstr ""
- #. type: table
- #: bashref.texi:1860
- msgid "The string that would be displayed by @samp{dirs -@var{N}}"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1864
- #, no-wrap
- msgid "parameter expansion"
- msgstr ""
- #. type: cindex
- #: bashref.texi:1865
- #, no-wrap
- msgid "expansion, parameter"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1873
- msgid ""
- "The @samp{$} character introduces parameter expansion, command substitution, "
- "or arithmetic expansion. The parameter name or symbol to be expanded may be "
- "enclosed in braces, which are optional but serve to protect the variable to "
- "be expanded from characters immediately following it which could be "
- "interpreted as part of the name."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1878
- msgid ""
- "When braces are used, the matching ending brace is the first @samp{@}} not "
- "escaped by a backslash or within a quoted string, and not within an embedded "
- "arithmetic expansion, command substitution, or parameter expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1887
- msgid ""
- "The basic form of parameter expansion is $@{@var{parameter}@}. The value of "
- "@var{parameter} is substituted. The @var{parameter} is a shell parameter as "
- "described above (@pxref{Shell Parameters}) or an array reference "
- "(@pxref{Arrays}). The braces are required when @var{parameter} is a "
- "positional parameter with more than one digit, or when @var{parameter} is "
- "followed by a character that is not to be interpreted as part of its name."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1904
- msgid ""
- "If the first character of @var{parameter} is an exclamation point (!), and "
- "@var{parameter} is not a @var{nameref}, it introduces a level of variable "
- "indirection. Bash uses the value of the variable formed from the rest of "
- "@var{parameter} as the name of the variable; this variable is then expanded "
- "and that value is used in the rest of the substitution, rather than the "
- "value of @var{parameter} itself. This is known as @code{indirect "
- "expansion}. If @var{parameter} is a nameref, this expands to the name of "
- "the variable referenced by @var{parameter} instead of performing the "
- "complete indirect expansion. The exceptions to this are the expansions of "
- "$@{!@var{prefix}*@} and $@{!@var{name}[@@]@} described below. The "
- "exclamation point must immediately follow the left brace in order to "
- "introduce indirection."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1907
- msgid ""
- "In each of the cases below, @var{word} is subject to tilde expansion, "
- "parameter expansion, command substitution, and arithmetic expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:1914
- msgid ""
- "When not performing substring expansion, using the form described below (e."
- "g., @samp{:-}), Bash tests for a parameter that is unset or null. Omitting "
- "the colon results in a test only for a parameter that is unset. Put another "
- "way, if the colon is included, the operator tests for both @var{parameter}'s "
- "existence and that its value is not null; if the colon is omitted, the "
- "operator tests only for existence."
- msgstr ""
- #. type: item
- #: bashref.texi:1917
- #, no-wrap
- msgid "$@{@var{parameter}:@minus{}@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:1921
- msgid ""
- "If @var{parameter} is unset or null, the expansion of @var{word} is "
- "substituted. Otherwise, the value of @var{parameter} is substituted."
- msgstr ""
- #. type: item
- #: bashref.texi:1922
- #, no-wrap
- msgid "$@{@var{parameter}:=@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:1929
- msgid ""
- "If @var{parameter} is unset or null, the expansion of @var{word} is assigned "
- "to @var{parameter}. The value of @var{parameter} is then substituted. "
- "Positional parameters and special parameters may not be assigned to in this "
- "way."
- msgstr ""
- #. type: item
- #: bashref.texi:1930
- #, no-wrap
- msgid "$@{@var{parameter}:?@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:1937
- msgid ""
- "If @var{parameter} is null or unset, the expansion of @var{word} (or a "
- "message to that effect if @var{word} is not present) is written to the "
- "standard error and the shell, if it is not interactive, exits. Otherwise, "
- "the value of @var{parameter} is substituted."
- msgstr ""
- #. type: item
- #: bashref.texi:1938
- #, no-wrap
- msgid "$@{@var{parameter}:+@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:1942
- msgid ""
- "If @var{parameter} is null or unset, nothing is substituted, otherwise the "
- "expansion of @var{word} is substituted."
- msgstr ""
- #. type: item
- #: bashref.texi:1943
- #, no-wrap
- msgid "$@{@var{parameter}:@var{offset}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:1944
- #, no-wrap
- msgid "$@{@var{parameter}:@var{offset}:@var{length}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:1956
- msgid ""
- "This is referred to as Substring Expansion. It expands to up to "
- "@var{length} characters of the value of @var{parameter} starting at the "
- "character specified by @var{offset}. If @var{parameter} is @samp{@@}, an "
- "indexed array subscripted by @samp{@@} or @samp{*}, or an associative array "
- "name, the results differ as described below. If @var{length} is omitted, it "
- "expands to the substring of the value of @var{parameter} starting at the "
- "character specified by @var{offset} and extending to the end of the value. "
- "@var{length} and @var{offset} are arithmetic expressions (@pxref{Shell "
- "Arithmetic})."
- msgstr ""
- #. type: table
- #: bashref.texi:1967
- msgid ""
- "If @var{offset} evaluates to a number less than zero, the value is used as "
- "an offset in characters from the end of the value of @var{parameter}. If "
- "@var{length} evaluates to a number less than zero, it is interpreted as an "
- "offset in characters from the end of the value of @var{parameter} rather "
- "than a number of characters, and the expansion is the characters between "
- "@var{offset} and that result. Note that a negative offset must be separated "
- "from the colon by at least one space to avoid being confused with the "
- "@samp{:-} expansion."
- msgstr ""
- #. type: table
- #: bashref.texi:1970
- msgid ""
- "Here are some examples illustrating substring expansion on parameters and "
- "subscripted arrays:"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:1976
- #, no-wrap
- msgid ""
- "$ string=01234567890abcdefgh\n"
- "$ echo ${string:7}\n"
- "7890abcdefgh\n"
- "$ echo ${string:7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:1984
- #, no-wrap
- msgid ""
- "$ echo ${string:7:2}\n"
- "78\n"
- "$ echo ${string:7:-2}\n"
- "7890abcdef\n"
- "$ echo ${string: -7}\n"
- "bcdefgh\n"
- "$ echo ${string: -7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:1993
- #, no-wrap
- msgid ""
- "$ echo ${string: -7:2}\n"
- "bc\n"
- "$ echo ${string: -7:-2}\n"
- "bcdef\n"
- "$ set -- 01234567890abcdefgh\n"
- "$ echo ${1:7}\n"
- "7890abcdefgh\n"
- "$ echo ${1:7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2001
- #, no-wrap
- msgid ""
- "$ echo ${1:7:2}\n"
- "78\n"
- "$ echo ${1:7:-2}\n"
- "7890abcdef\n"
- "$ echo ${1: -7}\n"
- "bcdefgh\n"
- "$ echo ${1: -7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2010
- #, no-wrap
- msgid ""
- "$ echo ${1: -7:2}\n"
- "bc\n"
- "$ echo ${1: -7:-2}\n"
- "bcdef\n"
- "$ array[0]=01234567890abcdefgh\n"
- "$ echo ${array[0]:7}\n"
- "7890abcdefgh\n"
- "$ echo ${array[0]:7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2018
- #, no-wrap
- msgid ""
- "$ echo ${array[0]:7:2}\n"
- "78\n"
- "$ echo ${array[0]:7:-2}\n"
- "7890abcdef\n"
- "$ echo ${array[0]: -7}\n"
- "bcdefgh\n"
- "$ echo ${array[0]: -7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2023
- #, no-wrap
- msgid ""
- "$ echo ${array[0]: -7:2}\n"
- "bc\n"
- "$ echo ${array[0]: -7:-2}\n"
- "bcdef\n"
- msgstr ""
- #. type: table
- #: bashref.texi:2031
- msgid ""
- "If @var{parameter} is @samp{@@}, the result is @var{length} positional "
- "parameters beginning at @var{offset}. A negative @var{offset} is taken "
- "relative to one greater than the greatest positional parameter, so an offset "
- "of -1 evaluates to the last positional parameter. It is an expansion error "
- "if @var{length} evaluates to a number less than zero."
- msgstr ""
- #. type: table
- #: bashref.texi:2034
- msgid ""
- "The following examples illustrate substring expansion using positional "
- "parameters:"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2040
- #, no-wrap
- msgid ""
- "$ set -- 1 2 3 4 5 6 7 8 9 0 a b c d e f g h\n"
- "$ echo ${@:7}\n"
- "7 8 9 0 a b c d e f g h\n"
- "$ echo ${@:7:0}\n"
- "\n"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2052
- #, no-wrap
- msgid ""
- "$ echo ${@:7:2}\n"
- "7 8\n"
- "$ echo ${@:7:-2}\n"
- "bash: -2: substring expression < 0\n"
- "$ echo ${@: -7:2}\n"
- "b c\n"
- "$ echo ${@:0}\n"
- "./bash 1 2 3 4 5 6 7 8 9 0 a b c d e f g h\n"
- "$ echo ${@:0:2}\n"
- "./bash 1\n"
- "$ echo ${@: -7:0}\n"
- "\n"
- msgstr ""
- #. type: table
- #: bashref.texi:2061
- msgid ""
- "If @var{parameter} is an indexed array name subscripted by @samp{@@} or "
- "@samp{*}, the result is the @var{length} members of the array beginning with "
- "@code{$@{@var{parameter}[@var{offset}]@}}. A negative @var{offset} is taken "
- "relative to one greater than the maximum index of the specified array. It "
- "is an expansion error if @var{length} evaluates to a number less than zero."
- msgstr ""
- #. type: table
- #: bashref.texi:2064
- msgid ""
- "These examples show how you can use substring expansion with indexed arrays:"
- msgstr ""
- #. type: verbatim
- #: bashref.texi:2080
- #, no-wrap
- msgid ""
- "$ array=(0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h)\n"
- "$ echo ${array[@]:7}\n"
- "7 8 9 0 a b c d e f g h\n"
- "$ echo ${array[@]:7:2}\n"
- "7 8\n"
- "$ echo ${array[@]: -7:2}\n"
- "b c\n"
- "$ echo ${array[@]: -7:-2}\n"
- "bash: -2: substring expression < 0\n"
- "$ echo ${array[@]:0}\n"
- "0 1 2 3 4 5 6 7 8 9 0 a b c d e f g h\n"
- "$ echo ${array[@]:0:2}\n"
- "0 1\n"
- "$ echo ${array[@]: -7:0}\n"
- "\n"
- msgstr ""
- #. type: table
- #: bashref.texi:2085
- msgid ""
- "Substring expansion applied to an associative array produces undefined "
- "results."
- msgstr ""
- #. type: table
- #: bashref.texi:2090
- msgid ""
- "Substring indexing is zero-based unless the positional parameters are used, "
- "in which case the indexing starts at 1 by default. If @var{offset} is 0, "
- "and the positional parameters are used, @code{$@@} is prefixed to the list."
- msgstr ""
- #. type: item
- #: bashref.texi:2091
- #, no-wrap
- msgid "$@{!@var{prefix}*@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2092
- #, no-wrap
- msgid "$@{!@var{prefix}@@@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2097
- msgid ""
- "Expands to the names of variables whose names begin with @var{prefix}, "
- "separated by the first character of the @env{IFS} special variable. When "
- "@samp{@@} is used and the expansion appears within double quotes, each "
- "variable name expands to a separate word."
- msgstr ""
- #. type: item
- #: bashref.texi:2098
- #, no-wrap
- msgid "$@{!@var{name}[@@]@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2099
- #, no-wrap
- msgid "$@{!@var{name}[*]@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2106
- msgid ""
- "If @var{name} is an array variable, expands to the list of array indices "
- "(keys) assigned in @var{name}. If @var{name} is not an array, expands to 0 "
- "if @var{name} is set and null otherwise. When @samp{@@} is used and the "
- "expansion appears within double quotes, each key expands to a separate word."
- msgstr ""
- #. type: item
- #: bashref.texi:2107
- #, no-wrap
- msgid "$@{#@var{parameter}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2119
- msgid ""
- "The length in characters of the expanded value of @var{parameter} is "
- "substituted. If @var{parameter} is @samp{*} or @samp{@@}, the value "
- "substituted is the number of positional parameters. If @var{parameter} is "
- "an array name subscripted by @samp{*} or @samp{@@}, the value substituted is "
- "the number of elements in the array. If @var{parameter} is an indexed array "
- "name subscripted by a negative number, that number is interpreted as "
- "relative to one greater than the maximum index of @var{parameter}, so "
- "negative indices count back from the end of the array, and an index of -1 "
- "references the last element."
- msgstr ""
- #. type: item
- #: bashref.texi:2120
- #, no-wrap
- msgid "$@{@var{parameter}#@var{word}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2121
- #, no-wrap
- msgid "$@{@var{parameter}##@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2136
- msgid ""
- "The @var{word} is expanded to produce a pattern just as in filename "
- "expansion (@pxref{Filename Expansion}). If the pattern matches the "
- "beginning of the expanded value of @var{parameter}, then the result of the "
- "expansion is the expanded value of @var{parameter} with the shortest "
- "matching pattern (the @samp{#} case) or the longest matching pattern (the "
- "@samp{##} case) deleted. If @var{parameter} is @samp{@@} or @samp{*}, the "
- "pattern removal operation is applied to each positional parameter in turn, "
- "and the expansion is the resultant list. If @var{parameter} is an array "
- "variable subscripted with @samp{@@} or @samp{*}, the pattern removal "
- "operation is applied to each member of the array in turn, and the expansion "
- "is the resultant list."
- msgstr ""
- #. type: item
- #: bashref.texi:2137
- #, no-wrap
- msgid "$@{@var{parameter}%@var{word}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2138
- #, no-wrap
- msgid "$@{@var{parameter}%%@var{word}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2152
- msgid ""
- "The @var{word} is expanded to produce a pattern just as in filename "
- "expansion. If the pattern matches a trailing portion of the expanded value "
- "of @var{parameter}, then the result of the expansion is the value of "
- "@var{parameter} with the shortest matching pattern (the @samp{%} case) or "
- "the longest matching pattern (the @samp{%%} case) deleted. If "
- "@var{parameter} is @samp{@@} or @samp{*}, the pattern removal operation is "
- "applied to each positional parameter in turn, and the expansion is the "
- "resultant list. If @var{parameter} is an array variable subscripted with "
- "@samp{@@} or @samp{*}, the pattern removal operation is applied to each "
- "member of the array in turn, and the expansion is the resultant list."
- msgstr ""
- #. type: item
- #: bashref.texi:2153
- #, no-wrap
- msgid "$@{@var{parameter}/@var{pattern}/@var{string}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2178
- msgid ""
- "The @var{pattern} is expanded to produce a pattern just as in filename "
- "expansion. @var{Parameter} is expanded and the longest match of "
- "@var{pattern} against its value is replaced with @var{string}. If "
- "@var{pattern} begins with @samp{/}, all matches of @var{pattern} are "
- "replaced with @var{string}. Normally only the first match is replaced. If "
- "@var{pattern} begins with @samp{#}, it must match at the beginning of the "
- "expanded value of @var{parameter}. If @var{pattern} begins with @samp{%}, "
- "it must match at the end of the expanded value of @var{parameter}. If "
- "@var{string} is null, matches of @var{pattern} are deleted and the @code{/} "
- "following @var{pattern} may be omitted. If the @code{nocasematch} shell "
- "option (see the description of @code{shopt} in @ref{The Shopt Builtin}) is "
- "enabled, the match is performed without regard to the case of alphabetic "
- "characters. If @var{parameter} is @samp{@@} or @samp{*}, the substitution "
- "operation is applied to each positional parameter in turn, and the expansion "
- "is the resultant list. If @var{parameter} is an array variable subscripted "
- "with @samp{@@} or @samp{*}, the substitution operation is applied to each "
- "member of the array in turn, and the expansion is the resultant list."
- msgstr ""
- #. type: item
- #: bashref.texi:2179
- #, no-wrap
- msgid "$@{@var{parameter}^@var{pattern}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2180
- #, no-wrap
- msgid "$@{@var{parameter}^^@var{pattern}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2181
- #, no-wrap
- msgid "$@{@var{parameter},@var{pattern}@}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:2182
- #, no-wrap
- msgid "$@{@var{parameter},,@var{pattern}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2204
- msgid ""
- "This expansion modifies the case of alphabetic characters in "
- "@var{parameter}. The @var{pattern} is expanded to produce a pattern just as "
- "in filename expansion. Each character in the expanded value of "
- "@var{parameter} is tested against @var{pattern}, and, if it matches the "
- "pattern, its case is converted. The pattern should not attempt to match "
- "more than one character. The @samp{^} operator converts lowercase letters "
- "matching @var{pattern} to uppercase; the @samp{,} operator converts matching "
- "uppercase letters to lowercase. The @samp{^^} and @samp{,,} expansions "
- "convert each matched character in the expanded value; the @samp{^} and "
- "@samp{,} expansions match and convert only the first character in the "
- "expanded value. If @var{pattern} is omitted, it is treated like a @samp{?}, "
- "which matches every character. If @var{parameter} is @samp{@@} or @samp{*}, "
- "the case modification operation is applied to each positional parameter in "
- "turn, and the expansion is the resultant list. If @var{parameter} is an "
- "array variable subscripted with @samp{@@} or @samp{*}, the case modification "
- "operation is applied to each member of the array in turn, and the expansion "
- "is the resultant list."
- msgstr ""
- #. type: item
- #: bashref.texi:2205
- #, no-wrap
- msgid "$@{@var{parameter}@@@var{operator}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:2209
- msgid ""
- "The expansion is either a transformation of the value of @var{parameter} or "
- "information about @var{parameter} itself, depending on the value of "
- "@var{operator}. Each @var{operator} is a single letter:"
- msgstr ""
- #. type: item
- #: bashref.texi:2211
- #, no-wrap
- msgid "Q"
- msgstr ""
- #. type: table
- #: bashref.texi:2214
- msgid ""
- "The expansion is a string that is the value of @var{parameter} quoted in a "
- "format that can be reused as input."
- msgstr ""
- #. type: item
- #: bashref.texi:2214
- #, no-wrap
- msgid "E"
- msgstr ""
- #. type: table
- #: bashref.texi:2217
- msgid ""
- "The expansion is a string that is the value of @var{parameter} with "
- "backslash escape sequences expanded as with the @code{$'@dots{}'} quoting "
- "mechansim."
- msgstr ""
- #. type: item
- #: bashref.texi:2217
- #, no-wrap
- msgid "P"
- msgstr ""
- #. type: table
- #: bashref.texi:2220
- msgid ""
- "The expansion is a string that is the result of expanding the value of "
- "@var{parameter} as if it were a prompt string (@pxref{Controlling the "
- "Prompt})."
- msgstr ""
- #. type: item
- #: bashref.texi:2220
- #, no-wrap
- msgid "A"
- msgstr ""
- #. type: table
- #: bashref.texi:2224
- msgid ""
- "The expansion is a string in the form of an assignment statement or "
- "@code{declare} command that, if evaluated, will recreate @var{parameter} "
- "with its attributes and value."
- msgstr ""
- #. type: item
- #: bashref.texi:2224
- #, no-wrap
- msgid "a"
- msgstr ""
- #. type: table
- #: bashref.texi:2227
- msgid ""
- "The expansion is a string consisting of flag values representing "
- "@var{parameter}'s attributes."
- msgstr ""
- #. type: table
- #: bashref.texi:2236
- msgid ""
- "If @var{parameter} is @samp{@@} or @samp{*}, the operation is applied to "
- "each positional parameter in turn, and the expansion is the resultant list. "
- "If @var{parameter} is an array variable subscripted with @samp{@@} or "
- "@samp{*}, the operation is applied to each member of the array in turn, and "
- "the expansion is the resultant list."
- msgstr ""
- #. type: table
- #: bashref.texi:2239
- msgid ""
- "The result of the expansion is subject to word splitting and pathname "
- "expansion as described below."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2248
- msgid ""
- "Command substitution allows the output of a command to replace the command "
- "itself. Command substitution occurs when a command is enclosed as follows:"
- msgstr ""
- #. type: example
- #: bashref.texi:2250
- #, no-wrap
- msgid "$(@var{command})\n"
- msgstr ""
- #. type: example
- #: bashref.texi:2255
- #, no-wrap
- msgid "`@var{command}`\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2265
- msgid ""
- "Bash performs the expansion by executing @var{command} in a subshell "
- "environment and replacing the command substitution with the standard output "
- "of the command, with any trailing newlines deleted. Embedded newlines are "
- "not deleted, but they may be removed during word splitting. The command "
- "substitution @code{$(cat @var{file})} can be replaced by the equivalent but "
- "faster @code{$(< @var{file})}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2273
- msgid ""
- "When the old-style backquote form of substitution is used, backslash retains "
- "its literal meaning except when followed by @samp{$}, @samp{`}, or "
- "@samp{\\}. The first backquote not preceded by a backslash terminates the "
- "command substitution. When using the @code{$(@var{command})} form, all "
- "characters between the parentheses make up the command; none are treated "
- "specially."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2276
- msgid ""
- "Command substitutions may be nested. To nest when using the backquoted "
- "form, escape the inner backquotes with backslashes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2279
- msgid ""
- "If the substitution appears within double quotes, word splitting and "
- "filename expansion are not performed on the results."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2282
- #, no-wrap
- msgid "expansion, arithmetic"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2287
- msgid ""
- "Arithmetic expansion allows the evaluation of an arithmetic expression and "
- "the substitution of the result. The format for arithmetic expansion is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2290
- #, no-wrap
- msgid "$(( @var{expression} ))\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2298
- msgid ""
- "The expression is treated as if it were within double quotes, but a double "
- "quote inside the parentheses is not treated specially. All tokens in the "
- "expression undergo parameter and variable expansion, command substitution, "
- "and quote removal. The result is treated as the arithmetic expression to be "
- "evaluated. Arithmetic expansions may be nested."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2303
- msgid ""
- "The evaluation is performed according to the rules listed below "
- "(@pxref{Shell Arithmetic}). If the expression is invalid, Bash prints a "
- "message indicating failure to the standard error and no substitution occurs."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2306
- #, no-wrap
- msgid "process substitution"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2311
- msgid ""
- "Process substitution allows a process's input or output to be referred to "
- "using a filename. It takes the form of"
- msgstr ""
- #. type: example
- #: bashref.texi:2313
- #, no-wrap
- msgid "<(@var{list})\n"
- msgstr ""
- #. type: example
- #: bashref.texi:2318
- #, no-wrap
- msgid ">(@var{list})\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2334
- msgid ""
- "The process @var{list} is run asynchronously, and its input or output "
- "appears as a filename. This filename is passed as an argument to the "
- "current command as the result of the expansion. If the @code{>(@var{list})} "
- "form is used, writing to the file will provide input for @var{list}. If the "
- "@code{<(@var{list})} form is used, the file passed as an argument should be "
- "read to obtain the output of @var{list}. Note that no space may appear "
- "between the @code{<} or @code{>} and the left parenthesis, otherwise the "
- "construct would be interpreted as a redirection. Process substitution is "
- "supported on systems that support named pipes (@sc{fifo}s) or the @file{/dev/"
- "fd} method of naming open files."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2338
- msgid ""
- "When available, process substitution is performed simultaneously with "
- "parameter and variable expansion, command substitution, and arithmetic "
- "expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2346
- msgid ""
- "The shell scans the results of parameter expansion, command substitution, "
- "and arithmetic expansion that did not occur within double quotes for word "
- "splitting."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2366
- msgid ""
- "The shell treats each character of @env{$IFS} as a delimiter, and splits the "
- "results of the other expansions into words using these characters as field "
- "terminators. If @env{IFS} is unset, or its value is exactly "
- "@code{<space><tab><newline>}, the default, then sequences of "
- "@code{ <space>}, @code{<tab>}, and @code{<newline>} at the beginning and end "
- "of the results of the previous expansions are ignored, and any sequence of "
- "@env{IFS} characters not at the beginning or end serves to delimit words. "
- "If @env{IFS} has a value other than the default, then sequences of the "
- "whitespace characters @code{space}, @code{tab}, and @code{newline} are "
- "ignored at the beginning and end of the word, as long as the whitespace "
- "character is in the value of @env{IFS} (an @env{IFS} whitespace character). "
- "Any character in @env{IFS} that is not @env{IFS} whitespace, along with any "
- "adjacent @env{IFS} whitespace characters, delimits a field. A sequence of "
- "@env{IFS} whitespace characters is also treated as a delimiter. If the "
- "value of @env{IFS} is null, no word splitting occurs."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2379
- msgid ""
- "Explicit null arguments (@code{\"\"} or @code{''}) are retained and passed "
- "to commands as empty strings. Unquoted implicit null arguments, resulting "
- "from the expansion of parameters that have no values, are removed. If a "
- "parameter with no value is expanded within double quotes, a null argument "
- "results and is retained and passed to a command as an empty string. When a "
- "quoted null argument appears as part of a word whose expansion is non-null, "
- "the null argument is removed. That is, the word @code{-d''} becomes @code{-"
- "d} after word splitting and null argument removal."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2382
- msgid "Note that if no expansion occurs, no splitting is performed."
- msgstr ""
- #. type: subsubsection
- #: bashref.texi:2387 bashref.texi:2441 bashref.texi:2442
- #, no-wrap
- msgid "Pattern Matching"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2387
- msgid "How the shell matches patterns."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2388
- #, no-wrap
- msgid "expansion, filename"
- msgstr ""
- #. type: cindex
- #: bashref.texi:2389
- #, no-wrap
- msgid "expansion, pathname"
- msgstr ""
- #. type: cindex
- #: bashref.texi:2391
- #, no-wrap
- msgid "pathname expansion"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2409
- msgid ""
- "After word splitting, unless the @option{-f} option has been set (@pxref{The "
- "Set Builtin}), Bash scans each word for the characters @samp{*}, @samp{?}, "
- "and @samp{[}. If one of these characters appears, then the word is regarded "
- "as a @var{pattern}, and replaced with an alphabetically sorted list of "
- "filenames matching the pattern (@pxref{Pattern Matching}). If no matching "
- "filenames are found, and the shell option @code{nullglob} is disabled, the "
- "word is left unchanged. If the @code{nullglob} option is set, and no "
- "matches are found, the word is removed. If the @code{failglob} shell option "
- "is set, and no matches are found, an error message is printed and the "
- "command is not executed. If the shell option @code{nocaseglob} is enabled, "
- "the match is performed without regard to the case of alphabetic characters."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2416
- msgid ""
- "When a pattern is used for filename expansion, the character @samp{.} at the "
- "start of a filename or immediately following a slash must be matched "
- "explicitly, unless the shell option @code{dotglob} is set. When matching a "
- "filename, the slash character must always be matched explicitly. In other "
- "cases, the @samp{.} character is not treated specially."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2420
- msgid ""
- "See the description of @code{shopt} in @ref{The Shopt Builtin}, for a "
- "description of the @code{nocaseglob}, @code{nullglob}, @code{failglob}, and "
- "@code{dotglob} options."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2440
- msgid ""
- "The @env{GLOBIGNORE} shell variable may be used to restrict the set of "
- "filenames matching a pattern. If @env{GLOBIGNORE} is set, each matching "
- "filename that also matches one of the patterns in @env{GLOBIGNORE} is "
- "removed from the list of matches. If the @code{nocaseglob} option is set, "
- "the matching against the patterns in @env{GLOBIGNORE} is performed without "
- "regard to case. The filenames @file{.} and @file{..} are always ignored "
- "when @env{GLOBIGNORE} is set and not null. However, setting "
- "@env{GLOBIGNORE} to a non-null value has the effect of enabling the "
- "@code{dotglob} shell option, so all other filenames beginning with a "
- "@samp{.} will match. To get the old behavior of ignoring filenames "
- "beginning with a @samp{.}, make @samp{.*} one of the patterns in "
- "@env{GLOBIGNORE}. The @code{dotglob} option is disabled when "
- "@env{GLOBIGNORE} is unset."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2443
- #, no-wrap
- msgid "pattern matching"
- msgstr ""
- #. type: cindex
- #: bashref.texi:2444
- #, no-wrap
- msgid "matching, pattern"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2453
- msgid ""
- "Any character that appears in a pattern, other than the special pattern "
- "characters described below, matches itself. The @sc{nul} character may not "
- "occur in a pattern. A backslash escapes the following character; the "
- "escaping backslash is discarded when matching. The special pattern "
- "characters must be quoted if they are to be matched literally."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2455
- msgid "The special pattern characters have the following meanings:"
- msgstr ""
- #. type: table
- #: bashref.texi:2464
- msgid ""
- "Matches any string, including the null string. When the @code{globstar} "
- "shell option is enabled, and @samp{*} is used in a filename expansion "
- "context, two adjacent @samp{*}s used as a single pattern will match all "
- "files and zero or more directories and subdirectories. If followed by a "
- "@samp{/}, two adjacent @samp{*}s will match only directories and "
- "subdirectories."
- msgstr ""
- #. type: table
- #: bashref.texi:2466
- msgid "Matches any single character."
- msgstr ""
- #. type: item
- #: bashref.texi:2466
- #, no-wrap
- msgid "[@dots{}]"
- msgstr ""
- #. type: table
- #: bashref.texi:2480
- msgid ""
- "Matches any one of the enclosed characters. A pair of characters separated "
- "by a hyphen denotes a @var{range expression}; any character that falls "
- "between those two characters, inclusive, using the current locale's "
- "collating sequence and character set, is matched. If the first character "
- "following the @samp{[} is a @samp{!} or a @samp{^} then any character not "
- "enclosed is matched. A @samp{@minus{}} may be matched by including it as "
- "the first or last character in the set. A @samp{]} may be matched by "
- "including it as the first character in the set. The sorting order of "
- "characters in range expressions is determined by the current locale and the "
- "values of the @env{LC_COLLATE} and @env{LC_ALL} shell variables, if set."
- msgstr ""
- #. type: table
- #: bashref.texi:2489
- msgid ""
- "For example, in the default C locale, @samp{[a-dx-z]} is equivalent to "
- "@samp{[abcdxyz]}. Many locales sort characters in dictionary order, and in "
- "these locales @samp{[a-dx-z]} is typically not equivalent to "
- "@samp{[abcdxyz]}; it might be equivalent to @samp{[aBbCcDdxXyYz]}, for "
- "example. To obtain the traditional interpretation of ranges in bracket "
- "expressions, you can force the use of the C locale by setting the "
- "@env{LC_COLLATE} or @env{LC_ALL} environment variable to the value @samp{C}, "
- "or enable the @code{globasciiranges} shell option."
- msgstr ""
- #. type: table
- #: bashref.texi:2494
- msgid ""
- "Within @samp{[} and @samp{]}, @var{character classes} can be specified using "
- "the syntax @code{[:}@var{class}@code{:]}, where @var{class} is one of the "
- "following classes defined in the @sc{posix} standard:"
- msgstr ""
- #. type: example
- #: bashref.texi:2497
- #, no-wrap
- msgid ""
- "alnum alpha ascii blank cntrl digit graph lower\n"
- "print punct space upper word xdigit\n"
- msgstr ""
- #. type: table
- #: bashref.texi:2502
- msgid ""
- "A character class matches any character belonging to that class. The "
- "@code{word} character class matches letters, digits, and the character "
- "@samp{_}."
- msgstr ""
- #. type: table
- #: bashref.texi:2507
- msgid ""
- "Within @samp{[} and @samp{]}, an @var{equivalence class} can be specified "
- "using the syntax @code{[=}@var{c}@code{=]}, which matches all characters "
- "with the same collation weight (as defined by the current locale) as the "
- "character @var{c}."
- msgstr ""
- #. type: table
- #: bashref.texi:2510
- msgid ""
- "Within @samp{[} and @samp{]}, the syntax @code{[.}@var{symbol}@code{.]} "
- "matches the collating symbol @var{symbol}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2518
- msgid ""
- "If the @code{extglob} shell option is enabled using the @code{shopt} "
- "builtin, several extended pattern matching operators are recognized. In the "
- "following description, a @var{pattern-list} is a list of one or more "
- "patterns separated by a @samp{|}. Composite patterns may be formed using "
- "one or more of the following sub-patterns:"
- msgstr ""
- #. type: item
- #: bashref.texi:2520
- #, no-wrap
- msgid "?(@var{pattern-list})"
- msgstr ""
- #. type: table
- #: bashref.texi:2522
- msgid "Matches zero or one occurrence of the given patterns."
- msgstr ""
- #. type: item
- #: bashref.texi:2523
- #, no-wrap
- msgid "*(@var{pattern-list})"
- msgstr ""
- #. type: table
- #: bashref.texi:2525
- msgid "Matches zero or more occurrences of the given patterns."
- msgstr ""
- #. type: item
- #: bashref.texi:2526
- #, no-wrap
- msgid "+(@var{pattern-list})"
- msgstr ""
- #. type: table
- #: bashref.texi:2528
- msgid "Matches one or more occurrences of the given patterns."
- msgstr ""
- #. type: item
- #: bashref.texi:2529
- #, no-wrap
- msgid "@@(@var{pattern-list})"
- msgstr ""
- #. type: table
- #: bashref.texi:2531
- msgid "Matches one of the given patterns."
- msgstr ""
- #. type: item
- #: bashref.texi:2532
- #, no-wrap
- msgid "!(@var{pattern-list})"
- msgstr ""
- #. type: table
- #: bashref.texi:2534
- msgid "Matches anything except one of the given patterns."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2542
- msgid ""
- "After the preceding expansions, all unquoted occurrences of the characters "
- "@samp{\\}, @samp{'}, and @samp{\"} that did not result from one of the above "
- "expansions are removed."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2545
- #, no-wrap
- msgid "redirection"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2560
- msgid ""
- "Before a command is executed, its input and output may be @var{redirected} "
- "using a special notation interpreted by the shell. Redirection allows "
- "commands' file handles to be duplicated, opened, closed, made to refer to "
- "different files, and can change the files the command reads from and writes "
- "to. Redirection may also be used to modify file handles in the current "
- "shell execution environment. The following redirection operators may "
- "precede or appear anywhere within a simple command or may follow a command. "
- "Redirections are processed in the order they appear, from left to right."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2568
- msgid ""
- "Each redirection that may be preceded by a file descriptor number may "
- "instead be preceded by a word of the form @{@var{varname}@}. In this case, "
- "for each redirection operator except >&- and <&-, the shell will allocate a "
- "file descriptor greater than 10 and assign it to @{@var{varname}@}. If >&- "
- "or <&- is preceded by @{@var{varname}@}, the value of @var{varname} defines "
- "the file descriptor to close."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2575
- msgid ""
- "In the following descriptions, if the file descriptor number is omitted, and "
- "the first character of the redirection operator is @samp{<}, the redirection "
- "refers to the standard input (file descriptor 0). If the first character of "
- "the redirection operator is @samp{>}, the redirection refers to the standard "
- "output (file descriptor 1)."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2581
- msgid ""
- "The word following the redirection operator in the following descriptions, "
- "unless otherwise noted, is subjected to brace expansion, tilde expansion, "
- "parameter expansion, command substitution, arithmetic expansion, quote "
- "removal, filename expansion, and word splitting. If it expands to more than "
- "one word, Bash reports an error."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2584
- msgid ""
- "Note that the order of redirections is significant. For example, the command"
- msgstr ""
- #. type: example
- #: bashref.texi:2586
- #, no-wrap
- msgid "ls > @var{dirlist} 2>&1\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2590
- msgid ""
- "directs both standard output (file descriptor 1) and standard error (file "
- "descriptor 2) to the file @var{dirlist}, while the command"
- msgstr ""
- #. type: example
- #: bashref.texi:2592
- #, no-wrap
- msgid "ls 2>&1 > @var{dirlist}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2597
- msgid ""
- "directs only the standard output to file @var{dirlist}, because the standard "
- "error was made a copy of the standard output before the standard output was "
- "redirected to @var{dirlist}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2603
- msgid ""
- "Bash handles several filenames specially when they are used in redirections, "
- "as described in the following table. If the operating system on which Bash "
- "is running provides these special files, bash will use them; otherwise it "
- "will emulate them internally with the behavior described below."
- msgstr ""
- #. type: item
- #: bashref.texi:2605
- #, no-wrap
- msgid "/dev/fd/@var{fd}"
- msgstr ""
- #. type: table
- #: bashref.texi:2607
- msgid "If @var{fd} is a valid integer, file descriptor @var{fd} is duplicated."
- msgstr ""
- #. type: item
- #: bashref.texi:2608
- #, no-wrap
- msgid "/dev/stdin"
- msgstr ""
- #. type: table
- #: bashref.texi:2610
- msgid "File descriptor 0 is duplicated."
- msgstr ""
- #. type: item
- #: bashref.texi:2611
- #, no-wrap
- msgid "/dev/stdout"
- msgstr ""
- #. type: table
- #: bashref.texi:2613
- msgid "File descriptor 1 is duplicated."
- msgstr ""
- #. type: item
- #: bashref.texi:2614
- #, no-wrap
- msgid "/dev/stderr"
- msgstr ""
- #. type: table
- #: bashref.texi:2616
- msgid "File descriptor 2 is duplicated."
- msgstr ""
- #. type: item
- #: bashref.texi:2617
- #, no-wrap
- msgid "/dev/tcp/@var{host}/@var{port}"
- msgstr ""
- #. type: table
- #: bashref.texi:2621
- msgid ""
- "If @var{host} is a valid hostname or Internet address, and @var{port} is an "
- "integer port number or service name, Bash attempts to open the corresponding "
- "TCP socket."
- msgstr ""
- #. type: item
- #: bashref.texi:2622
- #, no-wrap
- msgid "/dev/udp/@var{host}/@var{port}"
- msgstr ""
- #. type: table
- #: bashref.texi:2626
- msgid ""
- "If @var{host} is a valid hostname or Internet address, and @var{port} is an "
- "integer port number or service name, Bash attempts to open the corresponding "
- "UDP socket."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2629
- msgid "A failure to open or create a file causes the redirection to fail."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2633
- msgid ""
- "Redirections using file descriptors greater than 9 should be used with care, "
- "as they may conflict with file descriptors the shell uses internally."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2634
- #, no-wrap
- msgid "Redirecting Input"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2640
- msgid ""
- "Redirection of input causes the file whose name results from the expansion "
- "of @var{word} to be opened for reading on file descriptor @code{n}, or the "
- "standard input (file descriptor 0) if @code{n} is not specified."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2642
- msgid "The general format for redirecting input is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2644
- #, no-wrap
- msgid "[@var{n}]<@var{word}\n"
- msgstr ""
- #. type: subsection
- #: bashref.texi:2646
- #, no-wrap
- msgid "Redirecting Output"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2653
- msgid ""
- "Redirection of output causes the file whose name results from the expansion "
- "of @var{word} to be opened for writing on file descriptor @var{n}, or the "
- "standard output (file descriptor 1) if @var{n} is not specified. If the "
- "file does not exist it is created; if it does exist it is truncated to zero "
- "size."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2655
- msgid "The general format for redirecting output is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2657
- #, no-wrap
- msgid "[@var{n}]>[|]@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2666
- msgid ""
- "If the redirection operator is @samp{>}, and the @code{noclobber} option to "
- "the @code{set} builtin has been enabled, the redirection will fail if the "
- "file whose name results from the expansion of @var{word} exists and is a "
- "regular file. If the redirection operator is @samp{>|}, or the redirection "
- "operator is @samp{>} and the @code{noclobber} option is not enabled, the "
- "redirection is attempted even if the file named by @var{word} exists."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2667
- #, no-wrap
- msgid "Appending Redirected Output"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2674
- msgid ""
- "Redirection of output in this fashion causes the file whose name results "
- "from the expansion of @var{word} to be opened for appending on file "
- "descriptor @var{n}, or the standard output (file descriptor 1) if @var{n} is "
- "not specified. If the file does not exist it is created."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2676
- msgid "The general format for appending output is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2678
- #, no-wrap
- msgid "[@var{n}]>>@var{word}\n"
- msgstr ""
- #. type: subsection
- #: bashref.texi:2680
- #, no-wrap
- msgid "Redirecting Standard Output and Standard Error"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2686
- msgid ""
- "This construct allows both the standard output (file descriptor 1) and the "
- "standard error output (file descriptor 2) to be redirected to the file "
- "whose name is the expansion of @var{word}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2689
- msgid ""
- "There are two formats for redirecting standard output and standard error:"
- msgstr ""
- #. type: example
- #: bashref.texi:2691
- #, no-wrap
- msgid "&>@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2694
- msgid "and"
- msgstr ""
- #. type: example
- #: bashref.texi:2696
- #, no-wrap
- msgid ">&@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2700
- msgid ""
- "Of the two forms, the first is preferred. This is semantically equivalent to"
- msgstr ""
- #. type: example
- #: bashref.texi:2702
- #, no-wrap
- msgid ">@var{word} 2>&1\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2706
- msgid ""
- "When using the second form, @var{word} may not expand to a number or "
- "@samp{-}. If it does, other redirection operators apply (see Duplicating "
- "File Descriptors below) for compatibility reasons."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2707
- #, no-wrap
- msgid "Appending Standard Output and Standard Error"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2713
- msgid ""
- "This construct allows both the standard output (file descriptor 1) and the "
- "standard error output (file descriptor 2) to be appended to the file whose "
- "name is the expansion of @var{word}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2715
- msgid "The format for appending standard output and standard error is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2717
- #, no-wrap
- msgid "&>>@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2720
- msgid "This is semantically equivalent to"
- msgstr ""
- #. type: example
- #: bashref.texi:2722
- #, no-wrap
- msgid ">>@var{word} 2>&1\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2724
- msgid "(see Duplicating File Descriptors below)."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2725
- #, no-wrap
- msgid "Here Documents"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2731
- msgid ""
- "This type of redirection instructs the shell to read input from the current "
- "source until a line containing only @var{word} (with no trailing blanks) is "
- "seen. All of the lines read up to that point are then used as the standard "
- "input (or file descriptor @var{n} if @var{n} is specified) for a command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2733
- msgid "The format of here-documents is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2737
- #, no-wrap
- msgid ""
- "[@var{n}]<<[@minus{}]@var{word}\n"
- " @var{here-document}\n"
- "@var{delimiter}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2750
- msgid ""
- "No parameter and variable expansion, command substitution, arithmetic "
- "expansion, or filename expansion is performed on @var{word}. If any part of "
- "@var{word} is quoted, the @var{delimiter} is the result of quote removal on "
- "@var{word}, and the lines in the here-document are not expanded. If "
- "@var{word} is unquoted, all lines of the here-document are subjected to "
- "parameter expansion, command substitution, and arithmetic expansion, the "
- "character sequence @code{\\newline} is ignored, and @samp{\\} must be used "
- "to quote the characters @samp{\\}, @samp{$}, and @samp{`}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2756
- msgid ""
- "If the redirection operator is @samp{<<-}, then all leading tab characters "
- "are stripped from input lines and the line containing @var{delimiter}. This "
- "allows here-documents within shell scripts to be indented in a natural "
- "fashion."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2757
- #, no-wrap
- msgid "Here Strings"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2759
- msgid "A variant of here documents, the format is:"
- msgstr ""
- #. type: example
- #: bashref.texi:2761
- #, no-wrap
- msgid "[@var{n}]<<< @var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2771
- msgid ""
- "The @var{word} undergoes brace expansion, tilde expansion, parameter and "
- "variable expansion, command substitution, arithmetic expansion, and quote "
- "removal. Pathname expansion and word splitting are not performed. The "
- "result is supplied as a single string, with a newline appended, to the "
- "command on its standard input (or file descriptor @var{n} if @var{n} is "
- "specified)."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2772
- #, no-wrap
- msgid "Duplicating File Descriptors"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2774 bashref.texi:2805 bashref.texi:2823
- msgid "The redirection operator"
- msgstr ""
- #. type: example
- #: bashref.texi:2776
- #, no-wrap
- msgid "[@var{n}]<&@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2787
- msgid ""
- "is used to duplicate input file descriptors. If @var{word} expands to one "
- "or more digits, the file descriptor denoted by @var{n} is made to be a copy "
- "of that file descriptor. If the digits in @var{word} do not specify a file "
- "descriptor open for input, a redirection error occurs. If @var{word} "
- "evaluates to @samp{-}, file descriptor @var{n} is closed. If @var{n} is not "
- "specified, the standard input (file descriptor 0) is used."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2789
- msgid "The operator"
- msgstr ""
- #. type: example
- #: bashref.texi:2791
- #, no-wrap
- msgid "[@var{n}]>&@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2802
- msgid ""
- "is used similarly to duplicate output file descriptors. If @var{n} is not "
- "specified, the standard output (file descriptor 1) is used. If the digits "
- "in @var{word} do not specify a file descriptor open for output, a "
- "redirection error occurs. If @var{word} evaluates to @samp{-}, file "
- "descriptor @var{n} is closed. As a special case, if @var{n} is omitted, and "
- "@var{word} does not expand to one or more digits or @samp{-}, the standard "
- "output and standard error are redirected as described previously."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2803
- #, no-wrap
- msgid "Moving File Descriptors"
- msgstr ""
- #. type: example
- #: bashref.texi:2807
- #, no-wrap
- msgid "[@var{n}]<&@var{digit}-\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2812
- msgid ""
- "moves the file descriptor @var{digit} to file descriptor @var{n}, or the "
- "standard input (file descriptor 0) if @var{n} is not specified. @var{digit} "
- "is closed after being duplicated to @var{n}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2814
- msgid "Similarly, the redirection operator"
- msgstr ""
- #. type: example
- #: bashref.texi:2816
- #, no-wrap
- msgid "[@var{n}]>&@var{digit}-\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2820
- msgid ""
- "moves the file descriptor @var{digit} to file descriptor @var{n}, or the "
- "standard output (file descriptor 1) if @var{n} is not specified."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2821
- #, no-wrap
- msgid "Opening File Descriptors for Reading and Writing"
- msgstr ""
- #. type: example
- #: bashref.texi:2825
- #, no-wrap
- msgid "[@var{n}]<>@var{word}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2831
- msgid ""
- "causes the file whose name is the expansion of @var{word} to be opened for "
- "both reading and writing on file descriptor @var{n}, or on file descriptor 0 "
- "if @var{n} is not specified. If the file does not exist, it is created."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:2849 bashref.texi:2850
- #, no-wrap
- msgid "Simple Command Expansion"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid "How Bash expands simple commands before executing them."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:2894 bashref.texi:2895
- #, no-wrap
- msgid "Command Search and Execution"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid "How Bash finds commands and runs them."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:2950 bashref.texi:2951
- #, no-wrap
- msgid "Command Execution Environment"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid ""
- "The environment in which Bash executes commands that are not shell builtins."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:3046 bashref.texi:3047
- #, no-wrap
- msgid "Environment"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid "The environment given to a command."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:3084 bashref.texi:3085
- #, no-wrap
- msgid "Exit Status"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid "The status returned by commands and how Bash interprets it."
- msgstr ""
- #. type: subsection
- #: bashref.texi:2847 bashref.texi:3122 bashref.texi:3123
- #, no-wrap
- msgid "Signals"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:2847
- msgid "What happens when Bash or a command it runs receives a signal."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2851
- #, no-wrap
- msgid "command expansion"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2855
- msgid ""
- "When a simple command is executed, the shell performs the following "
- "expansions, assignments, and redirections, from left to right."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2861
- msgid ""
- "The words that the parser has marked as variable assignments (those "
- "preceding the command name) and redirections are saved for later processing."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2868
- msgid ""
- "The words that are not variable assignments or redirections are expanded "
- "(@pxref{Shell Expansions}). If any words remain after expansion, the first "
- "word is taken to be the name of the command and the remaining words are the "
- "arguments."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2871
- msgid "Redirections are performed as described above (@pxref{Redirections})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2876
- msgid ""
- "The text after the @samp{=} in each variable assignment undergoes tilde "
- "expansion, parameter expansion, command substitution, arithmetic expansion, "
- "and quote removal before being assigned to the variable."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2883
- msgid ""
- "If no command name results, the variable assignments affect the current "
- "shell environment. Otherwise, the variables are added to the environment of "
- "the executed command and do not affect the current shell environment. If "
- "any of the assignments attempts to assign a value to a readonly variable, an "
- "error occurs, and the command exits with a non-zero status."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2887
- msgid ""
- "If no command name results, redirections are performed, but do not affect "
- "the current shell environment. A redirection error causes the command to "
- "exit with a non-zero status."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2893
- msgid ""
- "If there is a command name left after expansion, execution proceeds as "
- "described below. Otherwise, the command exits. If one of the expansions "
- "contained a command substitution, the exit status of the command is the exit "
- "status of the last command substitution performed. If there were no command "
- "substitutions, the command exits with a status of zero."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2896
- #, no-wrap
- msgid "command execution"
- msgstr ""
- #. type: cindex
- #: bashref.texi:2897
- #, no-wrap
- msgid "command search"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2902
- msgid ""
- "After a command has been split into words, if it results in a simple command "
- "and an optional list of arguments, the following actions are taken."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2908
- msgid ""
- "If the command name contains no slashes, the shell attempts to locate it. "
- "If there exists a shell function by that name, that function is invoked as "
- "described in @ref{Shell Functions}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2913
- msgid ""
- "If the name does not match a function, the shell searches for it in the list "
- "of shell builtins. If a match is found, that builtin is invoked."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2930
- msgid ""
- "If the name is neither a shell function nor a builtin, and contains no "
- "slashes, Bash searches each element of @env{$PATH} for a directory "
- "containing an executable file by that name. Bash uses a hash table to "
- "remember the full pathnames of executable files to avoid multiple @env{PATH} "
- "searches (see the description of @code{hash} in @ref{Bourne Shell "
- "Builtins}). A full search of the directories in @env{$PATH} is performed "
- "only if the command is not found in the hash table. If the search is "
- "unsuccessful, the shell searches for a defined shell function named "
- "@code{command_not_found_handle}. If that function exists, it is invoked "
- "with the original command and the original command's arguments as its "
- "arguments, and the function's exit status becomes the exit status of the "
- "shell. If that function is not defined, the shell prints an error message "
- "and returns an exit status of 127."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2937
- msgid ""
- "If the search is successful, or if the command name contains one or more "
- "slashes, the shell executes the named program in a separate execution "
- "environment. Argument 0 is set to the name given, and the remaining "
- "arguments to the command are set to the arguments supplied, if any."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2943
- msgid ""
- "If this execution fails because the file is not in executable format, and "
- "the file is not a directory, it is assumed to be a @var{shell script} and "
- "the shell executes it as described in @ref{Shell Scripts}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:2947
- msgid ""
- "If the command was not begun asynchronously, the shell waits for the command "
- "to complete and collects its exit status."
- msgstr ""
- #. type: cindex
- #: bashref.texi:2952
- #, no-wrap
- msgid "execution environment"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:2956
- msgid ""
- "The shell has an @var{execution environment}, which consists of the "
- "following:"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2961
- msgid ""
- "open files inherited by the shell at invocation, as modified by redirections "
- "supplied to the @code{exec} builtin"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2965
- msgid ""
- "the current working directory as set by @code{cd}, @code{pushd}, or "
- "@code{popd}, or inherited by the shell at invocation"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2969
- msgid ""
- "the file creation mode mask as set by @code{umask} or inherited from the "
- "shell's parent"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2972
- msgid "current traps set by @code{trap}"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2976
- msgid ""
- "shell parameters that are set by variable assignment or with @code{set} or "
- "inherited from the shell's parent in the environment"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2980
- msgid ""
- "shell functions defined during execution or inherited from the shell's "
- "parent in the environment"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2984
- msgid ""
- "options enabled at invocation (either by default or with command-line "
- "arguments) or by @code{set}"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2987
- msgid "options enabled by @code{shopt} (@pxref{The Shopt Builtin})"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2990
- msgid "shell aliases defined with @code{alias} (@pxref{Aliases})"
- msgstr ""
- #. type: itemize
- #: bashref.texi:2995
- msgid ""
- "various process @sc{id}s, including those of background jobs "
- "(@pxref{Lists}), the value of @code{$$}, and the value of @env{$PPID}"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3003
- msgid ""
- "When a simple command other than a builtin or shell function is to be "
- "executed, it is invoked in a separate execution environment that consists of "
- "the following. Unless otherwise noted, the values are inherited from the "
- "shell."
- msgstr ""
- #. type: itemize
- #: bashref.texi:3008
- msgid ""
- "the shell's open files, plus any modifications and additions specified by "
- "redirections to the command"
- msgstr ""
- #. type: itemize
- #: bashref.texi:3011
- msgid "the current working directory"
- msgstr ""
- #. type: itemize
- #: bashref.texi:3014
- msgid "the file creation mode mask"
- msgstr ""
- #. type: itemize
- #: bashref.texi:3018
- msgid ""
- "shell variables and functions marked for export, along with variables "
- "exported for the command, passed in the environment (@pxref{Environment})"
- msgstr ""
- #. type: itemize
- #: bashref.texi:3022
- msgid ""
- "traps caught by the shell are reset to the values inherited from the shell's "
- "parent, and traps ignored by the shell are ignored"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3027
- msgid ""
- "A command invoked in this separate environment cannot affect the shell's "
- "execution environment."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3036
- msgid ""
- "Command substitution, commands grouped with parentheses, and asynchronous "
- "commands are invoked in a subshell environment that is a duplicate of the "
- "shell environment, except that traps caught by the shell are reset to the "
- "values that the shell inherited from its parent at invocation. Builtin "
- "commands that are invoked as part of a pipeline are also executed in a "
- "subshell environment. Changes made to the subshell environment cannot "
- "affect the shell's execution environment."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3040
- msgid ""
- "Subshells spawned to execute command substitutions inherit the value of the "
- "@option{-e} option from the parent shell. When not in @sc{posix} mode, Bash "
- "clears the @option{-e} option in such subshells."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3045
- msgid ""
- "If a command is followed by a @samp{&} and job control is not active, the "
- "default standard input for the command is the empty file @file{/dev/null}. "
- "Otherwise, the invoked command inherits the file descriptors of the calling "
- "shell as modified by redirections."
- msgstr ""
- #. type: cindex
- #: bashref.texi:3048
- #, no-wrap
- msgid "environment"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3053
- msgid ""
- "When a program is invoked it is given an array of strings called the "
- "@var{environment}. This is a list of name-value pairs, of the form "
- "@code{name=value}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3069
- msgid ""
- "Bash provides several ways to manipulate the environment. On invocation, "
- "the shell scans its own environment and creates a parameter for each name "
- "found, automatically marking it for @var{export} to child processes. "
- "Executed commands inherit the environment. The @code{export} and "
- "@samp{declare -x} commands allow parameters and functions to be added to and "
- "deleted from the environment. If the value of a parameter in the "
- "environment is modified, the new value becomes part of the environment, "
- "replacing the old. The environment inherited by any executed command "
- "consists of the shell's initial environment, whose values may be modified in "
- "the shell, less any pairs removed by the @code{unset} and @samp{export -n} "
- "commands, plus any additions via the @code{export} and @samp{declare -x} "
- "commands."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3075
- msgid ""
- "The environment for any simple command or function may be augmented "
- "temporarily by prefixing it with parameter assignments, as described in "
- "@ref{Shell Parameters}. These assignment statements affect only the "
- "environment seen by that command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3079
- msgid ""
- "If the @option{-k} option is set (@pxref{The Set Builtin}), then all "
- "parameter assignments are placed in the environment for a command, not just "
- "those that precede the command name."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3083
- msgid ""
- "When Bash invokes an external command, the variable @samp{$_} is set to the "
- "full pathname of the command and passed to that command in its environment."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3095
- msgid ""
- "The exit status of an executed command is the value returned by the "
- "@var{waitpid} system call or equivalent function. Exit statuses fall "
- "between 0 and 255, though, as explained below, the shell may use values "
- "above 125 specially. Exit statuses from shell builtins and compound "
- "commands are also limited to this range. Under certain circumstances, the "
- "shell will use special values to indicate specific failure modes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3104
- msgid ""
- "For the shell's purposes, a command which exits with a zero exit status has "
- "succeeded. A non-zero exit status indicates failure. This seemingly "
- "counter-intuitive scheme is used so there is one well-defined way to "
- "indicate success and a variety of ways to indicate various failure modes. "
- "When a command terminates on a fatal signal whose number is @var{N}, Bash "
- "uses the value 128+@var{N} as the exit status."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3108
- msgid ""
- "If a command is not found, the child process created to execute it returns a "
- "status of 127. If a command is found but is not executable, the return "
- "status is 126."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3111
- msgid ""
- "If a command fails because of an error during expansion or redirection, the "
- "exit status is greater than zero."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3115
- msgid ""
- "The exit status is used by the Bash conditional commands (@pxref{Conditional "
- "Constructs}) and some of the list constructs (@pxref{Lists})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3121
- msgid ""
- "All of the Bash builtins return an exit status of zero if they succeed and a "
- "non-zero status on failure, so they may be used by the conditional and list "
- "constructs. All builtins return an exit status of 2 to indicate incorrect "
- "usage, generally invalid options or missing arguments."
- msgstr ""
- #. type: cindex
- #: bashref.texi:3124
- #, no-wrap
- msgid "signal handling"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3134
- msgid ""
- "When Bash is interactive, in the absence of any traps, it ignores "
- "@code{SIGTERM} (so that @samp{kill 0} does not kill an interactive shell), "
- "and @code{SIGINT} is caught and handled (so that the @code{wait} builtin is "
- "interruptible). When Bash receives a @code{SIGINT}, it breaks out of any "
- "executing loops. In all cases, Bash ignores @code{SIGQUIT}. If job control "
- "is in effect (@pxref{Job Control}), Bash ignores @code{SIGTTIN}, "
- "@code{SIGTTOU}, and @code{SIGTSTP}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3143
- msgid ""
- "Non-builtin commands started by Bash have signal handlers set to the values "
- "inherited by the shell from its parent. When job control is not in effect, "
- "asynchronous commands ignore @code{SIGINT} and @code{SIGQUIT} in addition to "
- "these inherited handlers. Commands run as a result of command substitution "
- "ignore the keyboard-generated job control signals @code{SIGTTIN}, "
- "@code{SIGTTOU}, and @code{SIGTSTP}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3154
- msgid ""
- "The shell exits by default upon receipt of a @code{SIGHUP}. Before exiting, "
- "an interactive shell resends the @code{SIGHUP} to all jobs, running or "
- "stopped. Stopped jobs are sent @code{SIGCONT} to ensure that they receive "
- "the @code{SIGHUP}. To prevent the shell from sending the @code{SIGHUP} "
- "signal to a particular job, it should be removed from the jobs table with "
- "the @code{disown} builtin (@pxref{Job Control Builtins}) or marked to not "
- "receive @code{SIGHUP} using @code{disown -h}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3158
- msgid ""
- "If the @code{huponexit} shell option has been set with @code{shopt} "
- "(@pxref{The Shopt Builtin}), Bash sends a @code{SIGHUP} to all jobs when an "
- "interactive login shell exits."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3167
- msgid ""
- "If Bash is waiting for a command to complete and receives a signal for which "
- "a trap has been set, the trap will not be executed until the command "
- "completes. When Bash is waiting for an asynchronous command via the "
- "@code{wait} builtin, the reception of a signal for which a trap has been set "
- "will cause the @code{wait} builtin to return immediately with an exit status "
- "greater than 128, immediately after which the trap is executed."
- msgstr ""
- #. type: cindex
- #: bashref.texi:3170
- #, no-wrap
- msgid "shell script"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3180
- msgid ""
- "A shell script is a text file containing shell commands. When such a file "
- "is used as the first non-option argument when invoking Bash, and neither the "
- "@option{-c} nor @option{-s} option is supplied (@pxref{Invoking Bash}), Bash "
- "reads and executes commands from the file, then exits. This mode of "
- "operation creates a non-interactive shell. The shell first searches for the "
- "file in the current directory, and looks in the directories in @env{$PATH} "
- "if not found there."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3187
- msgid ""
- "When Bash runs a shell script, it sets the special parameter @code{0} to the "
- "name of the file, rather than the name of the shell, and the positional "
- "parameters are set to the remaining arguments, if any are given. If no "
- "additional arguments are supplied, the positional parameters are unset."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3192
- msgid ""
- "A shell script may be made executable by using the @code{chmod} command to "
- "turn on the execute bit. When Bash finds such a file while searching the "
- "@env{$PATH} for a command, it spawns a subshell to execute it. In other "
- "words, executing"
- msgstr ""
- #. type: example
- #: bashref.texi:3194
- #, no-wrap
- msgid "filename @var{arguments}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3197
- msgid "is equivalent to executing"
- msgstr ""
- #. type: example
- #: bashref.texi:3199
- #, no-wrap
- msgid "bash filename @var{arguments}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3208
- msgid ""
- "if @code{filename} is an executable shell script. This subshell "
- "reinitializes itself, so that the effect is as if a new shell had been "
- "invoked to interpret the script, with the exception that the locations of "
- "commands remembered by the parent (see the description of @code{hash} in "
- "@ref{Bourne Shell Builtins}) are retained by the child."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3215
- msgid ""
- "Most versions of Unix make this a part of the operating system's command "
- "execution mechanism. If the first line of a script begins with the two "
- "characters @samp{#!}, the remainder of the line specifies an interpreter for "
- "the program. Thus, you can specify Bash, @code{awk}, Perl, or some other "
- "interpreter and write the rest of the script file in that language."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3223
- msgid ""
- "The arguments to the interpreter consist of a single optional argument "
- "following the interpreter name on the first line of the script file, "
- "followed by the name of the script file, followed by the rest of the "
- "arguments. Bash will perform this action on operating systems that do not "
- "handle it themselves. Note that some older versions of Unix limit the "
- "interpreter name and argument to a maximum of 32 characters."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3228
- msgid ""
- "Bash scripts often begin with @code{#! /bin/bash} (assuming that Bash has "
- "been installed in @file{/bin}), since this ensures that Bash will be used to "
- "interpret the script, even if it is executed under another shell."
- msgstr ""
- #. type: section
- #: bashref.texi:3240 bashref.texi:3275 bashref.texi:3276
- #, no-wrap
- msgid "Bourne Shell Builtins"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:3240
- msgid "Builtin commands inherited from the Bourne Shell."
- msgstr ""
- #. type: node
- #: bashref.texi:3240 bashref.texi:3825
- #, no-wrap
- msgid "Bash Builtins"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:3240
- msgid "Table of builtins specific to Bash."
- msgstr ""
- #. type: section
- #: bashref.texi:3240 bashref.texi:4657 bashref.texi:4658
- #, no-wrap
- msgid "Modifying Shell Behavior"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:3240
- msgid "Builtins to modify shell attributes and optional behavior."
- msgstr ""
- #. type: section
- #: bashref.texi:3240 bashref.texi:5346 bashref.texi:5347
- #, no-wrap
- msgid "Special Builtins"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:3240
- msgid "Builtin commands classified specially by POSIX."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3248
- msgid ""
- "Builtin commands are contained within the shell itself. When the name of a "
- "builtin command is used as the first word of a simple command (@pxref{Simple "
- "Commands}), the shell executes the command directly, without invoking "
- "another program. Builtin commands are necessary to implement functionality "
- "impossible or inconvenient to obtain with separate utilities."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3252
- msgid ""
- "This section briefly describes the builtins which Bash inherits from the "
- "Bourne Shell, as well as the builtin commands which are unique to or have "
- "been extended in Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3259
- msgid ""
- "Several builtin commands are described in other chapters: builtin commands "
- "which provide the Bash interface to the job control facilities (@pxref{Job "
- "Control Builtins}), the directory stack (@pxref{Directory Stack Builtins}), "
- "the command history (@pxref{Bash History Builtins}), and the programmable "
- "completion facilities (@pxref{Programmable Completion Builtins})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3261
- msgid "Many of the builtins have been extended by @sc{posix} or Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3274
- msgid ""
- "Unless otherwise noted, each builtin command documented as accepting options "
- "preceded by @samp{-} accepts @samp{--} to signify the end of the options. "
- "The @code{:}, @code{true}, @code{false}, and @code{test} builtins do not "
- "accept options and do not treat @samp{--} specially. The @code{exit}, "
- "@code{logout}, @code{return}, @code{break}, @code{continue}, @code{let}, and "
- "@code{shift} builtins accept and process arguments beginning with @samp{-} "
- "without requiring @samp{--}. Other builtins that accept arguments but are "
- "not specified as accepting options interpret arguments beginning with "
- "@samp{-} as invalid options and require @samp{--} to prevent this "
- "interpretation."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3280
- msgid ""
- "The following shell builtin commands are inherited from the Bourne Shell. "
- "These commands are implemented as specified by the @sc{posix} standard."
- msgstr ""
- #. type: item
- #: bashref.texi:3282
- #, no-wrap
- msgid ": @r{(a colon)}"
- msgstr ""
- #. type: btindex
- #: bashref.texi:3283
- #, no-wrap
- msgid ":"
- msgstr ""
- #. type: example
- #: bashref.texi:3286
- #, no-wrap
- msgid ": [@var{arguments}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3290
- msgid ""
- "Do nothing beyond expanding @var{arguments} and performing redirections. "
- "The return status is zero."
- msgstr ""
- #. type: item
- #: bashref.texi:3291
- #, no-wrap
- msgid ". @r{(a period)}"
- msgstr ""
- #. type: btindex
- #: bashref.texi:3292
- #, no-wrap
- msgid "."
- msgstr ""
- #. type: example
- #: bashref.texi:3295
- #, no-wrap
- msgid ". @var{filename} [@var{arguments}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3315
- msgid ""
- "Read and execute commands from the @var{filename} argument in the current "
- "shell context. If @var{filename} does not contain a slash, the @env{PATH} "
- "variable is used to find @var{filename}. When Bash is not in @sc{posix} "
- "mode, the current directory is searched if @var{filename} is not found in "
- "@env{$PATH}. If any @var{arguments} are supplied, they become the "
- "positional parameters when @var{filename} is executed. Otherwise the "
- "positional parameters are unchanged. If the @option{-T} option is enabled, "
- "@code{source} inherits any trap on @code{DEBUG}; if it is not, any "
- "@code{DEBUG} trap string is saved and restored around the call to "
- "@code{source}, and @code{source} unsets the @code{DEBUG} trap while it "
- "executes. If @option{-T} is not set, and the sourced file changes the "
- "@code{DEBUG} trap, the new value is retained when @code{source} completes. "
- "The return status is the exit status of the last command executed, or zero "
- "if no commands are executed. If @var{filename} is not found, or cannot be "
- "read, the return status is non-zero. This builtin is equivalent to "
- "@code{source}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3316 bashref.texi:3317
- #, no-wrap
- msgid "break"
- msgstr ""
- #. type: example
- #: bashref.texi:3320
- #, no-wrap
- msgid "break [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3326
- msgid ""
- "Exit from a @code{for}, @code{while}, @code{until}, or @code{select} loop. "
- "If @var{n} is supplied, the @var{n}th enclosing loop is exited. @var{n} "
- "must be greater than or equal to 1. The return status is zero unless "
- "@var{n} is not greater than or equal to 1."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3327 bashref.texi:3328
- #, no-wrap
- msgid "cd"
- msgstr ""
- #. type: example
- #: bashref.texi:3331
- #, no-wrap
- msgid "cd [-L|[-P [-e]] [-@@] [@var{directory}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3343
- msgid ""
- "Change the current working directory to @var{directory}. If @var{directory} "
- "is not supplied, the value of the @env{HOME} shell variable is used. Any "
- "additional arguments following @var{directory} are ignored. If the shell "
- "variable @env{CDPATH} exists, it is used as a search path: each directory "
- "name in @env{CDPATH} is searched for @var{directory}, with alternative "
- "directory names in @env{CDPATH} separated by a colon (@samp{:}). If "
- "@var{directory} begins with a slash, @env{CDPATH} is not used."
- msgstr ""
- #. type: table
- #: bashref.texi:3347
- msgid ""
- "The @option{-P} option means to not follow symbolic links: symbolic links "
- "are resolved while @code{cd} is traversing @var{directory} and before "
- "processing an instance of @samp{..} in @var{directory}."
- msgstr ""
- #. type: table
- #: bashref.texi:3351
- msgid ""
- "By default, or when the @option{-L} option is supplied, symbolic links in "
- "@var{directory} are resolved after @code{cd} processes an instance of "
- "@samp{..} in @var{directory}."
- msgstr ""
- #. type: table
- #: bashref.texi:3355
- msgid ""
- "If @samp{..} appears in @var{directory}, it is processed by removing the "
- "immediately preceding pathname component, back to a slash or the beginning "
- "of @var{directory}."
- msgstr ""
- #. type: table
- #: bashref.texi:3360
- msgid ""
- "If the @option{-e} option is supplied with @option{-P} and the current "
- "working directory cannot be successfully determined after a successful "
- "directory change, @code{cd} will return an unsuccessful status."
- msgstr ""
- #. type: table
- #: bashref.texi:3363
- msgid ""
- "On systems that support it, the @option{-@@} option presents the extended "
- "attributes associated with a file as a directory."
- msgstr ""
- #. type: table
- #: bashref.texi:3366
- msgid ""
- "If @var{directory} is @samp{-}, it is converted to @env{$OLDPWD} before the "
- "directory change is attempted."
- msgstr ""
- #. type: table
- #: bashref.texi:3371
- msgid ""
- "If a non-empty directory name from @env{CDPATH} is used, or if @samp{-} is "
- "the first argument, and the directory change is successful, the absolute "
- "pathname of the new working directory is written to the standard output."
- msgstr ""
- #. type: table
- #: bashref.texi:3374
- msgid ""
- "The return status is zero if the directory is successfully changed, non-zero "
- "otherwise."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3375 bashref.texi:3376
- #, no-wrap
- msgid "continue"
- msgstr ""
- #. type: example
- #: bashref.texi:3379
- #, no-wrap
- msgid "continue [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3387
- msgid ""
- "Resume the next iteration of an enclosing @code{for}, @code{while}, "
- "@code{until}, or @code{select} loop. If @var{n} is supplied, the execution "
- "of the @var{n}th enclosing loop is resumed. @var{n} must be greater than or "
- "equal to 1. The return status is zero unless @var{n} is not greater than or "
- "equal to 1."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3388 bashref.texi:3389
- #, no-wrap
- msgid "eval"
- msgstr ""
- #. type: example
- #: bashref.texi:3392
- #, no-wrap
- msgid "eval [@var{arguments}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3399
- msgid ""
- "The arguments are concatenated together into a single command, which is then "
- "read and executed, and its exit status returned as the exit status of "
- "@code{eval}. If there are no arguments or only empty arguments, the return "
- "status is zero."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3400 bashref.texi:3401
- #, no-wrap
- msgid "exec"
- msgstr ""
- #. type: example
- #: bashref.texi:3404
- #, no-wrap
- msgid "exec [-cl] [-a @var{name}] [@var{command} [@var{arguments}]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3423
- msgid ""
- "If @var{command} is supplied, it replaces the shell without creating a new "
- "process. If the @option{-l} option is supplied, the shell places a dash at "
- "the beginning of the zeroth argument passed to @var{command}. This is what "
- "the @code{login} program does. The @option{-c} option causes @var{command} "
- "to be executed with an empty environment. If @option{-a} is supplied, the "
- "shell passes @var{name} as the zeroth argument to @var{command}. If "
- "@var{command} cannot be executed for some reason, a non-interactive shell "
- "exits, unless the @code{execfail} shell option is enabled. In that case, it "
- "returns failure. An interactive shell returns failure if the file cannot be "
- "executed. If no @var{command} is specified, redirections may be used to "
- "affect the current shell environment. If there are no redirection errors, "
- "the return status is zero; otherwise the return status is non-zero."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3424 bashref.texi:3425
- #, no-wrap
- msgid "exit"
- msgstr ""
- #. type: example
- #: bashref.texi:3428
- #, no-wrap
- msgid "exit [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3433
- msgid ""
- "Exit the shell, returning a status of @var{n} to the shell's parent. If "
- "@var{n} is omitted, the exit status is that of the last command executed. "
- "Any trap on @code{EXIT} is executed before the shell terminates."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3434 bashref.texi:3435
- #, no-wrap
- msgid "export"
- msgstr ""
- #. type: example
- #: bashref.texi:3438
- #, no-wrap
- msgid "export [-fn] [-p] [@var{name}[=@var{value}]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3449
- msgid ""
- "Mark each @var{name} to be passed to child processes in the environment. If "
- "the @option{-f} option is supplied, the @var{name}s refer to shell "
- "functions; otherwise the names refer to shell variables. The @option{-n} "
- "option means to no longer mark each @var{name} for export. If no "
- "@var{names} are supplied, or if the @option{-p} option is given, a list of "
- "names of all exported variables is displayed. The @option{-p} option "
- "displays output in a form that may be reused as input. If a variable name "
- "is followed by =@var{value}, the value of the variable is set to @var{value}."
- msgstr ""
- #. type: table
- #: bashref.texi:3453
- msgid ""
- "The return status is zero unless an invalid option is supplied, one of the "
- "names is not a valid shell variable name, or @option{-f} is supplied with a "
- "name that is not a shell function."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3454 bashref.texi:3455
- #, no-wrap
- msgid "getopts"
- msgstr ""
- #. type: example
- #: bashref.texi:3458
- #, no-wrap
- msgid "getopts @var{optstring} @var{name} [@var{args}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3478
- msgid ""
- "@code{getopts} is used by shell scripts to parse positional parameters. "
- "@var{optstring} contains the option characters to be recognized; if a "
- "character is followed by a colon, the option is expected to have an "
- "argument, which should be separated from it by whitespace. The colon "
- "(@samp{:}) and question mark (@samp{?}) may not be used as option "
- "characters. Each time it is invoked, @code{getopts} places the next option "
- "in the shell variable @var{name}, initializing @var{name} if it does not "
- "exist, and the index of the next argument to be processed into the variable "
- "@env{OPTIND}. @env{OPTIND} is initialized to 1 each time the shell or a "
- "shell script is invoked. When an option requires an argument, "
- "@code{getopts} places that argument into the variable @env{OPTARG}. The "
- "shell does not reset @env{OPTIND} automatically; it must be manually reset "
- "between multiple calls to @code{getopts} within the same shell invocation if "
- "a new set of parameters is to be used."
- msgstr ""
- #. type: table
- #: bashref.texi:3483
- msgid ""
- "When the end of options is encountered, @code{getopts} exits with a return "
- "value greater than zero. @env{OPTIND} is set to the index of the first non-"
- "option argument, and @var{name} is set to @samp{?}."
- msgstr ""
- #. type: table
- #: bashref.texi:3487
- msgid ""
- "@code{getopts} normally parses the positional parameters, but if more "
- "arguments are given in @var{args}, @code{getopts} parses those instead."
- msgstr ""
- #. type: table
- #: bashref.texi:3496
- msgid ""
- "@code{getopts} can report errors in two ways. If the first character of "
- "@var{optstring} is a colon, @var{silent} error reporting is used. In normal "
- "operation, diagnostic messages are printed when invalid options or missing "
- "option arguments are encountered. If the variable @env{OPTERR} is set to 0, "
- "no error messages will be displayed, even if the first character of "
- "@code{optstring} is not a colon."
- msgstr ""
- #. type: table
- #: bashref.texi:3502
- msgid ""
- "If an invalid option is seen, @code{getopts} places @samp{?} into @var{name} "
- "and, if not silent, prints an error message and unsets @env{OPTARG}. If "
- "@code{getopts} is silent, the option character found is placed in "
- "@env{OPTARG} and no diagnostic message is printed."
- msgstr ""
- #. type: table
- #: bashref.texi:3508
- msgid ""
- "If a required argument is not found, and @code{getopts} is not silent, a "
- "question mark (@samp{?}) is placed in @var{name}, @code{OPTARG} is unset, "
- "and a diagnostic message is printed. If @code{getopts} is silent, then a "
- "colon (@samp{:}) is placed in @var{name} and @env{OPTARG} is set to the "
- "option character found."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3509 bashref.texi:3510
- #, no-wrap
- msgid "hash"
- msgstr ""
- #. type: example
- #: bashref.texi:3513
- #, no-wrap
- msgid "hash [-r] [-p @var{filename}] [-dt] [@var{name}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3536
- msgid ""
- "Each time @code{hash} is invoked, it remembers the full pathnames of the "
- "commands specified as @var{name} arguments, so they need not be searched for "
- "on subsequent invocations. The commands are found by searching through the "
- "directories listed in @env{$PATH}. Any previously-remembered pathname is "
- "discarded. The @option{-p} option inhibits the path search, and "
- "@var{filename} is used as the location of @var{name}. The @option{-r} "
- "option causes the shell to forget all remembered locations. The @option{-d} "
- "option causes the shell to forget the remembered location of each "
- "@var{name}. If the @option{-t} option is supplied, the full pathname to "
- "which each @var{name} corresponds is printed. If multiple @var{name} "
- "arguments are supplied with @option{-t} the @var{name} is printed before the "
- "hashed full pathname. The @option{-l} option causes output to be displayed "
- "in a format that may be reused as input. If no arguments are given, or if "
- "only @option{-l} is supplied, information about remembered commands is "
- "printed. The return status is zero unless a @var{name} is not found or an "
- "invalid option is supplied."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3537 bashref.texi:3538
- #, no-wrap
- msgid "pwd"
- msgstr ""
- #. type: example
- #: bashref.texi:3541
- #, no-wrap
- msgid "pwd [-LP]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3551
- msgid ""
- "Print the absolute pathname of the current working directory. If the "
- "@option{-P} option is supplied, the pathname printed will not contain "
- "symbolic links. If the @option{-L} option is supplied, the pathname printed "
- "may contain symbolic links. The return status is zero unless an error is "
- "encountered while determining the name of the current directory or an "
- "invalid option is supplied."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3552 bashref.texi:3553
- #, no-wrap
- msgid "readonly"
- msgstr ""
- #. type: example
- #: bashref.texi:3556
- #, no-wrap
- msgid "readonly [-aAf] [-p] [@var{name}[=@var{value}]] @dots{}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3577
- msgid ""
- "Mark each @var{name} as readonly. The values of these names may not be "
- "changed by subsequent assignment. If the @option{-f} option is supplied, "
- "each @var{name} refers to a shell function. The @option{-a} option means "
- "each @var{name} refers to an indexed array variable; the @option{-A} option "
- "means each @var{name} refers to an associative array variable. If both "
- "options are supplied, @option{-A} takes precedence. If no @var{name} "
- "arguments are given, or if the @option{-p} option is supplied, a list of all "
- "readonly names is printed. The other options may be used to restrict the "
- "output to a subset of the set of readonly names. The @option{-p} option "
- "causes output to be displayed in a format that may be reused as input. If a "
- "variable name is followed by =@var{value}, the value of the variable is set "
- "to @var{value}. The return status is zero unless an invalid option is "
- "supplied, one of the @var{name} arguments is not a valid shell variable or "
- "function name, or the @option{-f} option is supplied with a name that is not "
- "a shell function."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3578 bashref.texi:3579
- #, no-wrap
- msgid "return"
- msgstr ""
- #. type: example
- #: bashref.texi:3582
- #, no-wrap
- msgid "return [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3605
- msgid ""
- "Cause a shell function to stop executing and return the value @var{n} to its "
- "caller. If @var{n} is not supplied, the return value is the exit status of "
- "the last command executed in the function. If @code{return} is executed by "
- "a trap handler, the last command used to determine the status is the last "
- "command executed before the trap handler. if @code{return} is executed "
- "during a @code{DEBUG} trap, the last command used to determine the status is "
- "the last command executed by the trap handler before @code{return} was "
- "invoked. @code{return} may also be used to terminate execution of a script "
- "being executed with the @code{.} (@code{source}) builtin, returning either "
- "@var{n} or the exit status of the last command executed within the script as "
- "the exit status of the script. If @var{n} is supplied, the return value is "
- "its least significant 8 bits. Any command associated with the @code{RETURN} "
- "trap is executed before execution resumes after the function or script. The "
- "return status is non-zero if @code{return} is supplied a non-numeric "
- "argument or is used outside a function and not during the execution of a "
- "script by @code{.} or @code{source}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3606 bashref.texi:3607
- #, no-wrap
- msgid "shift"
- msgstr ""
- #. type: example
- #: bashref.texi:3610
- #, no-wrap
- msgid "shift [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3623
- msgid ""
- "Shift the positional parameters to the left by @var{n}. The positional "
- "parameters from @var{n}+1 @dots{} @code{$#} are renamed to @code{$1} @dots{} "
- "@code{$#}-@var{n}. Parameters represented by the numbers @code{$#} to "
- "@code{$#}-@var{n}+1 are unset. @var{n} must be a non-negative number less "
- "than or equal to @code{$#}. If @var{n} is zero or greater than @code{$#}, "
- "the positional parameters are not changed. If @var{n} is not supplied, it "
- "is assumed to be 1. The return status is zero unless @var{n} is greater "
- "than @code{$#} or less than zero, non-zero otherwise."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3624 bashref.texi:3626
- #, no-wrap
- msgid "test"
- msgstr ""
- #. type: btindex
- #: bashref.texi:3625 bashref.texi:3627
- #, no-wrap
- msgid "["
- msgstr ""
- #. type: example
- #: bashref.texi:3630
- #, no-wrap
- msgid "test @var{expr}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3639
- msgid ""
- "Evaluate a conditional expression @var{expr} and return a status of 0 (true) "
- "or 1 (false). Each operator and operand must be a separate argument. "
- "Expressions are composed of the primaries described below in @ref{Bash "
- "Conditional Expressions}. @code{test} does not accept any options, nor does "
- "it accept and ignore an argument of @option{--} as signifying the end of "
- "options."
- msgstr ""
- #. type: table
- #: bashref.texi:3642
- msgid ""
- "When the @code{[} form is used, the last argument to the command must be a "
- "@code{]}."
- msgstr ""
- #. type: table
- #: bashref.texi:3647
- msgid ""
- "Expressions may be combined using the following operators, listed in "
- "decreasing order of precedence. The evaluation depends on the number of "
- "arguments; see below. Operator precedence is used when there are five or "
- "more arguments."
- msgstr ""
- #. type: item
- #: bashref.texi:3649
- #, no-wrap
- msgid "! @var{expr}"
- msgstr ""
- #. type: table
- #: bashref.texi:3651
- msgid "True if @var{expr} is false."
- msgstr ""
- #. type: item
- #: bashref.texi:3652
- #, no-wrap
- msgid "( @var{expr} )"
- msgstr ""
- #. type: table
- #: bashref.texi:3655
- msgid ""
- "Returns the value of @var{expr}. This may be used to override the normal "
- "precedence of operators."
- msgstr ""
- #. type: item
- #: bashref.texi:3656
- #, no-wrap
- msgid "@var{expr1} -a @var{expr2}"
- msgstr ""
- #. type: table
- #: bashref.texi:3658
- msgid "True if both @var{expr1} and @var{expr2} are true."
- msgstr ""
- #. type: item
- #: bashref.texi:3659
- #, no-wrap
- msgid "@var{expr1} -o @var{expr2}"
- msgstr ""
- #. type: table
- #: bashref.texi:3661
- msgid "True if either @var{expr1} or @var{expr2} is true."
- msgstr ""
- #. type: table
- #: bashref.texi:3665
- msgid ""
- "The @code{test} and @code{[} builtins evaluate conditional expressions using "
- "a set of rules based on the number of arguments."
- msgstr ""
- #. type: item
- #: bashref.texi:3667
- #, no-wrap
- msgid "0 arguments"
- msgstr ""
- #. type: table
- #: bashref.texi:3669
- msgid "The expression is false."
- msgstr ""
- #. type: item
- #: bashref.texi:3670
- #, no-wrap
- msgid "1 argument"
- msgstr ""
- #. type: table
- #: bashref.texi:3672
- msgid "The expression is true if and only if the argument is not null."
- msgstr ""
- #. type: item
- #: bashref.texi:3673
- #, no-wrap
- msgid "2 arguments"
- msgstr ""
- #. type: table
- #: bashref.texi:3681
- msgid ""
- "If the first argument is @samp{!}, the expression is true if and only if the "
- "second argument is null. If the first argument is one of the unary "
- "conditional operators (@pxref{Bash Conditional Expressions}), the expression "
- "is true if the unary test is true. If the first argument is not a valid "
- "unary operator, the expression is false."
- msgstr ""
- #. type: item
- #: bashref.texi:3682
- #, no-wrap
- msgid "3 arguments"
- msgstr ""
- #. type: table
- #: bashref.texi:3696
- msgid ""
- "The following conditions are applied in the order listed. If the second "
- "argument is one of the binary conditional operators (@pxref{Bash Conditional "
- "Expressions}), the result of the expression is the result of the binary test "
- "using the first and third arguments as operands. The @samp{-a} and @samp{-"
- "o} operators are considered binary operators when there are three "
- "arguments. If the first argument is @samp{!}, the value is the negation of "
- "the two-argument test using the second and third arguments. If the first "
- "argument is exactly @samp{(} and the third argument is exactly @samp{)}, the "
- "result is the one-argument test of the second argument. Otherwise, the "
- "expression is false."
- msgstr ""
- #. type: item
- #: bashref.texi:3697
- #, no-wrap
- msgid "4 arguments"
- msgstr ""
- #. type: table
- #: bashref.texi:3702
- msgid ""
- "If the first argument is @samp{!}, the result is the negation of the three-"
- "argument expression composed of the remaining arguments. Otherwise, the "
- "expression is parsed and evaluated according to precedence using the rules "
- "listed above."
- msgstr ""
- #. type: item
- #: bashref.texi:3703
- #, no-wrap
- msgid "5 or more arguments"
- msgstr ""
- #. type: table
- #: bashref.texi:3706
- msgid ""
- "The expression is parsed and evaluated according to precedence using the "
- "rules listed above."
- msgstr ""
- #. type: table
- #: bashref.texi:3710
- msgid ""
- "When used with @code{test} or @samp{[}, the @samp{<} and @samp{>} operators "
- "sort lexicographically using ASCII ordering."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3711 bashref.texi:3712
- #, no-wrap
- msgid "times"
- msgstr ""
- #. type: example
- #: bashref.texi:3715
- #, no-wrap
- msgid "times\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3719
- msgid ""
- "Print out the user and system times used by the shell and its children. The "
- "return status is zero."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3720 bashref.texi:3721
- #, no-wrap
- msgid "trap"
- msgstr ""
- #. type: example
- #: bashref.texi:3724
- #, no-wrap
- msgid "trap [-lp] [@var{arg}] [@var{sigspec} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3743
- msgid ""
- "The commands in @var{arg} are to be read and executed when the shell "
- "receives signal @var{sigspec}. If @var{arg} is absent (and there is a "
- "single @var{sigspec}) or equal to @samp{-}, each specified signal's "
- "disposition is reset to the value it had when the shell was started. If "
- "@var{arg} is the null string, then the signal specified by each "
- "@var{sigspec} is ignored by the shell and commands it invokes. If @var{arg} "
- "is not present and @option{-p} has been supplied, the shell displays the "
- "trap commands associated with each @var{sigspec}. If no arguments are "
- "supplied, or only @option{-p} is given, @code{trap} prints the list of "
- "commands associated with each signal number in a form that may be reused as "
- "shell input. The @option{-l} option causes the shell to print a list of "
- "signal names and their corresponding numbers. Each @var{sigspec} is either "
- "a signal name or a signal number. Signal names are case insensitive and the "
- "@code{SIG} prefix is optional."
- msgstr ""
- #. type: table
- #: bashref.texi:3756
- msgid ""
- "If a @var{sigspec} is @code{0} or @code{EXIT}, @var{arg} is executed when "
- "the shell exits. If a @var{sigspec} is @code{DEBUG}, the command @var{arg} "
- "is executed before every simple command, @code{for} command, @code{case} "
- "command, @code{select} command, every arithmetic @code{for} command, and "
- "before the first command executes in a shell function. Refer to the "
- "description of the @code{extdebug} option to the @code{shopt} builtin "
- "(@pxref{The Shopt Builtin}) for details of its effect on the @code{DEBUG} "
- "trap. If a @var{sigspec} is @code{RETURN}, the command @var{arg} is "
- "executed each time a shell function or a script executed with the @code{.} "
- "or @code{source} builtins finishes executing."
- msgstr ""
- #. type: table
- #: bashref.texi:3773
- msgid ""
- "If a @var{sigspec} is @code{ERR}, the command @var{arg} is executed whenever "
- "a pipeline (which may consist of a single simple command), a list, or a "
- "compound command returns a non-zero exit status, subject to the following "
- "conditions. The @code{ERR} trap is not executed if the failed command is "
- "part of the command list immediately following an @code{until} or "
- "@code{while} keyword, part of the test following the @code{if} or "
- "@code{elif} reserved words, part of a command executed in a @code{&&} or "
- "@code{||} list except the command following the final @code{&&} or "
- "@code{||}, any command in a pipeline but the last, or if the command's "
- "return status is being inverted using @code{!}. These are the same "
- "conditions obeyed by the @code{errexit} (@option{-e}) option."
- msgstr ""
- #. type: table
- #: bashref.texi:3777
- msgid ""
- "Signals ignored upon entry to the shell cannot be trapped or reset. Trapped "
- "signals that are not being ignored are reset to their original values in a "
- "subshell or subshell environment when one is created."
- msgstr ""
- #. type: table
- #: bashref.texi:3780
- msgid ""
- "The return status is zero unless a @var{sigspec} does not specify a valid "
- "signal."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3781 bashref.texi:3782
- #, no-wrap
- msgid "umask"
- msgstr ""
- #. type: example
- #: bashref.texi:3785
- #, no-wrap
- msgid "umask [-p] [-S] [@var{mode}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3798
- msgid ""
- "Set the shell process's file creation mask to @var{mode}. If @var{mode} "
- "begins with a digit, it is interpreted as an octal number; if not, it is "
- "interpreted as a symbolic mode mask similar to that accepted by the "
- "@code{chmod} command. If @var{mode} is omitted, the current value of the "
- "mask is printed. If the @option{-S} option is supplied without a @var{mode} "
- "argument, the mask is printed in a symbolic format. If the @option{-p} "
- "option is supplied, and @var{mode} is omitted, the output is in a form that "
- "may be reused as input. The return status is zero if the mode is "
- "successfully changed or if no @var{mode} argument is supplied, and non-zero "
- "otherwise."
- msgstr ""
- #. type: table
- #: bashref.texi:3802
- msgid ""
- "Note that when the mode is interpreted as an octal number, each number of "
- "the umask is subtracted from @code{7}. Thus, a umask of @code{022} results "
- "in permissions of @code{755}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3803 bashref.texi:3804
- #, no-wrap
- msgid "unset"
- msgstr ""
- #. type: example
- #: bashref.texi:3807
- #, no-wrap
- msgid "unset [-fnv] [@var{name}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3823
- msgid ""
- "Remove each variable or function @var{name}. If the @option{-v} option is "
- "given, each @var{name} refers to a shell variable and that variable is "
- "removed. If the @option{-f} option is given, the @var{name}s refer to shell "
- "functions, and the function definition is removed. If the @option{-n} "
- "option is supplied, and @var{name} is a variable with the @var{nameref} "
- "attribute, @var{name} will be unset rather than the variable it references. "
- "@option{-n} has no effect if the @option{-f} option is supplied. If no "
- "options are supplied, each @var{name} refers to a variable; if there is no "
- "variable by that name, any function with that name is unset. Readonly "
- "variables and functions may not be unset. The return status is zero unless "
- "a @var{name} is readonly."
- msgstr ""
- #. type: section
- #: bashref.texi:3826
- #, no-wrap
- msgid "Bash Builtin Commands"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:3831
- msgid ""
- "This section describes builtin commands which are unique to or have been "
- "extended in Bash. Some of these commands are specified in the @sc{posix} "
- "standard."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3834 bashref.texi:3835
- #, no-wrap
- msgid "alias"
- msgstr ""
- #. type: example
- #: bashref.texi:3838
- #, no-wrap
- msgid "alias [-p] [@var{name}[=@var{value}] @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3847
- msgid ""
- "Without arguments or with the @option{-p} option, @code{alias} prints the "
- "list of aliases on the standard output in a form that allows them to be "
- "reused as input. If arguments are supplied, an alias is defined for each "
- "@var{name} whose @var{value} is given. If no @var{value} is given, the name "
- "and value of the alias is printed. Aliases are described in @ref{Aliases}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3848 bashref.texi:3849
- #, no-wrap
- msgid "bind"
- msgstr ""
- #. type: example
- #: bashref.texi:3857
- #, no-wrap
- msgid ""
- "bind [-m @var{keymap}] [-lpsvPSVX]\n"
- "bind [-m @var{keymap}] [-q @var{function}] [-u @var{function}] [-r @var{keyseq}]\n"
- "bind [-m @var{keymap}] -f @var{filename}\n"
- "bind [-m @var{keymap}] -x @var{keyseq:shell-command}\n"
- "bind [-m @var{keymap}] @var{keyseq:function-name}\n"
- "bind [-m @var{keymap}] @var{keyseq:readline-command}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3867
- msgid ""
- "Display current Readline (@pxref{Command Line Editing}) key and function "
- "bindings, bind a key sequence to a Readline function or macro, or set a "
- "Readline variable. Each non-option argument is a command as it would appear "
- "in a Readline initialization file (@pxref{Readline Init File}), but each "
- "binding or command must be passed as a separate argument; e.g., @samp{\"\\C-x"
- "\\C-r\":re-read-init-file}."
- msgstr ""
- #. type: table
- #: bashref.texi:3869 bashref.texi:4212 bashref.texi:4397
- msgid "Options, if supplied, have the following meanings:"
- msgstr ""
- #. type: item
- #: bashref.texi:3871
- #, no-wrap
- msgid "-m @var{keymap}"
- msgstr ""
- #. type: table
- #: bashref.texi:3885
- msgid ""
- "Use @var{keymap} as the keymap to be affected by the subsequent bindings. "
- "Acceptable @var{keymap} names are @code{emacs}, @code{emacs-standard}, "
- "@code{emacs-meta}, @code{emacs-ctlx}, @code{vi}, @code{vi-move}, @code{vi-"
- "command}, and @code{vi-insert}. @code{vi} is equivalent to @code{vi-"
- "command} (@code{vi-move} is also a synonym); @code{emacs} is equivalent to "
- "@code{emacs-standard}."
- msgstr ""
- #. type: item
- #: bashref.texi:3886 bashref.texi:4053 bashref.texi:4579 bashref.texi:6271
- #: bashref.texi:7106 bashref.texi:7784
- #, no-wrap
- msgid "-l"
- msgstr ""
- #. type: table
- #: bashref.texi:3888
- msgid "List the names of all Readline functions."
- msgstr ""
- #. type: item
- #: bashref.texi:3889 bashref.texi:4589 bashref.texi:4851 bashref.texi:7109
- #: bashref.texi:7791
- #, no-wrap
- msgid "-p"
- msgstr ""
- #. type: table
- #: bashref.texi:3892
- msgid ""
- "Display Readline function names and bindings in such a way that they can be "
- "used as input or in a Readline initialization file."
- msgstr ""
- #. type: item
- #: bashref.texi:3893 bashref.texi:4614 bashref.texi:4902
- #, no-wrap
- msgid "-P"
- msgstr ""
- #. type: table
- #: bashref.texi:3895
- msgid "List current Readline function names and bindings."
- msgstr ""
- #. type: item
- #: bashref.texi:3896 bashref.texi:4607 bashref.texi:4874 bashref.texi:7112
- #, no-wrap
- msgid "-v"
- msgstr ""
- #. type: table
- #: bashref.texi:3899
- msgid ""
- "Display Readline variable names and values in such a way that they can be "
- "used as input or in a Readline initialization file."
- msgstr ""
- #. type: item
- #: bashref.texi:3900
- #, no-wrap
- msgid "-V"
- msgstr ""
- #. type: table
- #: bashref.texi:3902
- msgid "List current Readline variable names and values."
- msgstr ""
- #. type: item
- #: bashref.texi:3903 bashref.texi:4218 bashref.texi:4288 bashref.texi:4445
- #: bashref.texi:4598 bashref.texi:4981 bashref.texi:6285 bashref.texi:7797
- #, no-wrap
- msgid "-s"
- msgstr ""
- #. type: table
- #: bashref.texi:3907
- msgid ""
- "Display Readline key sequences bound to macros and the strings they output "
- "in such a way that they can be used as input or in a Readline initialization "
- "file."
- msgstr ""
- #. type: item
- #: bashref.texi:3908 bashref.texi:4549
- #, no-wrap
- msgid "-S"
- msgstr ""
- #. type: table
- #: bashref.texi:3910
- msgid ""
- "Display Readline key sequences bound to macros and the strings they output."
- msgstr ""
- #. type: item
- #: bashref.texi:3911
- #, no-wrap
- msgid "-f @var{filename}"
- msgstr ""
- #. type: table
- #: bashref.texi:3913
- msgid "Read key bindings from @var{filename}."
- msgstr ""
- #. type: item
- #: bashref.texi:3914
- #, no-wrap
- msgid "-q @var{function}"
- msgstr ""
- #. type: table
- #: bashref.texi:3916
- msgid "Query about which keys invoke the named @var{function}."
- msgstr ""
- #. type: item
- #: bashref.texi:3917
- #, no-wrap
- msgid "-u @var{function}"
- msgstr ""
- #. type: table
- #: bashref.texi:3919
- msgid "Unbind all keys bound to the named @var{function}."
- msgstr ""
- #. type: item
- #: bashref.texi:3920
- #, no-wrap
- msgid "-r @var{keyseq}"
- msgstr ""
- #. type: table
- #: bashref.texi:3922
- msgid "Remove any current binding for @var{keyseq}."
- msgstr ""
- #. type: item
- #: bashref.texi:3923
- #, no-wrap
- msgid "-x @var{keyseq:shell-command}"
- msgstr ""
- #. type: table
- #: bashref.texi:3933
- msgid ""
- "Cause @var{shell-command} to be executed whenever @var{keyseq} is entered. "
- "When @var{shell-command} is executed, the shell sets the "
- "@code{READLINE_LINE} variable to the contents of the Readline line buffer "
- "and the @code{READLINE_POINT} variable to the current location of the "
- "insertion point. If the executed command changes the value of "
- "@code{READLINE_LINE} or @code{READLINE_POINT}, those new values will be "
- "reflected in the editing state."
- msgstr ""
- #. type: item
- #: bashref.texi:3934
- #, no-wrap
- msgid "-X"
- msgstr ""
- #. type: table
- #: bashref.texi:3937
- msgid ""
- "List all key sequences bound to shell commands and the associated commands "
- "in a format that can be reused as input."
- msgstr ""
- #. type: table
- #: bashref.texi:3942
- msgid ""
- "The return status is zero unless an invalid option is supplied or an error "
- "occurs."
- msgstr ""
- #. type: example
- #: bashref.texi:3947
- #, no-wrap
- msgid "builtin [@var{shell-builtin} [@var{args}]]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3955
- msgid ""
- "Run a shell builtin, passing it @var{args}, and return its exit status. "
- "This is useful when defining a shell function with the same name as a shell "
- "builtin, retaining the functionality of the builtin within the function. "
- "The return status is non-zero if @var{shell-builtin} is not a shell builtin "
- "command."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3956 bashref.texi:3957
- #, no-wrap
- msgid "caller"
- msgstr ""
- #. type: example
- #: bashref.texi:3960
- #, no-wrap
- msgid "caller [@var{expr}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3964
- msgid ""
- "Returns the context of any active subroutine call (a shell function or a "
- "script executed with the @code{.} or @code{source} builtins)."
- msgstr ""
- #. type: table
- #: bashref.texi:3972
- msgid ""
- "Without @var{expr}, @code{caller} displays the line number and source "
- "filename of the current subroutine call. If a non-negative integer is "
- "supplied as @var{expr}, @code{caller} displays the line number, subroutine "
- "name, and source file corresponding to that position in the current "
- "execution call stack. This extra information may be used, for example, to "
- "print a stack trace. The current frame is frame 0."
- msgstr ""
- #. type: table
- #: bashref.texi:3976
- msgid ""
- "The return value is 0 unless the shell is not executing a subroutine call or "
- "@var{expr} does not correspond to a valid position in the call stack."
- msgstr ""
- #. type: btindex
- #: bashref.texi:3977 bashref.texi:3978
- #, no-wrap
- msgid "command"
- msgstr ""
- #. type: example
- #: bashref.texi:3981
- #, no-wrap
- msgid "command [-pVv] @var{command} [@var{arguments} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:3995
- msgid ""
- "Runs @var{command} with @var{arguments} ignoring any shell function named "
- "@var{command}. Only shell builtin commands or commands found by searching "
- "the @env{PATH} are executed. If there is a shell function named @code{ls}, "
- "running @samp{command ls} within the function will execute the external "
- "command @code{ls} instead of calling the function recursively. The @option{-"
- "p} option means to use a default value for @env{PATH} that is guaranteed to "
- "find all of the standard utilities. The return status in this case is 127 "
- "if @var{command} cannot be found or an error occurred, and the exit status "
- "of @var{command} otherwise."
- msgstr ""
- #. type: table
- #: bashref.texi:4002
- msgid ""
- "If either the @option{-V} or @option{-v} option is supplied, a description "
- "of @var{command} is printed. The @option{-v} option causes a single word "
- "indicating the command or file name used to invoke @var{command} to be "
- "displayed; the @option{-V} option produces a more verbose description. In "
- "this case, the return status is zero if @var{command} is found, and non-zero "
- "if not."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4003 bashref.texi:4004
- #, no-wrap
- msgid "declare"
- msgstr ""
- #. type: example
- #: bashref.texi:4007
- #, no-wrap
- msgid "declare [-aAfFgilnrtux] [-p] [@var{name}[=@var{value}] @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4011
- msgid ""
- "Declare variables and give them attributes. If no @var{name}s are given, "
- "then display the values of variables instead."
- msgstr ""
- #. type: table
- #: bashref.texi:4016
- msgid ""
- "The @option{-p} option will display the attributes and values of each "
- "@var{name}. When @option{-p} is used with @var{name} arguments, additional "
- "options, other than @option{-f} and @option{-F}, are ignored."
- msgstr ""
- #. type: table
- #: bashref.texi:4023
- msgid ""
- "When @option{-p} is supplied without @var{name} arguments, @code{declare} "
- "will display the attributes and values of all variables having the "
- "attributes specified by the additional options. If no other options are "
- "supplied with @option{-p}, @code{declare} will display the attributes and "
- "values of all shell variables. The @option{-f} option will restrict the "
- "display to shell functions."
- msgstr ""
- #. type: table
- #: bashref.texi:4030
- msgid ""
- "The @option{-F} option inhibits the display of function definitions; only "
- "the function name and attributes are printed. If the @code{extdebug} shell "
- "option is enabled using @code{shopt} (@pxref{The Shopt Builtin}), the source "
- "file name and line number where each @var{name} is defined are displayed as "
- "well. @option{-F} implies @option{-f}."
- msgstr ""
- #. type: table
- #: bashref.texi:4034
- msgid ""
- "The @option{-g} option forces variables to be created or modified at the "
- "global scope, even when @code{declare} is executed in a shell function. It "
- "is ignored in all other cases."
- msgstr ""
- #. type: table
- #: bashref.texi:4037
- msgid ""
- "The following options can be used to restrict output to variables with the "
- "specified attributes or to give variables attributes:"
- msgstr ""
- #. type: item
- #: bashref.texi:4039 bashref.texi:4555 bashref.texi:4692
- #, no-wrap
- msgid "-a"
- msgstr ""
- #. type: table
- #: bashref.texi:4041
- msgid "Each @var{name} is an indexed array variable (@pxref{Arrays})."
- msgstr ""
- #. type: item
- #: bashref.texi:4042
- #, no-wrap
- msgid "-A"
- msgstr ""
- #. type: table
- #: bashref.texi:4044
- msgid "Each @var{name} is an associative array variable (@pxref{Arrays})."
- msgstr ""
- #. type: item
- #: bashref.texi:4045 bashref.texi:4570 bashref.texi:4734
- #, no-wrap
- msgid "-f"
- msgstr ""
- #. type: table
- #: bashref.texi:4047
- msgid "Use function names only."
- msgstr ""
- #. type: item
- #: bashref.texi:4048 bashref.texi:4573 bashref.texi:6267
- #, no-wrap
- msgid "-i"
- msgstr ""
- #. type: table
- #: bashref.texi:4052
- msgid ""
- "The variable is to be treated as an integer; arithmetic evaluation "
- "(@pxref{Shell Arithmetic}) is performed when the variable is assigned a "
- "value."
- msgstr ""
- #. type: table
- #: bashref.texi:4057
- msgid ""
- "When the variable is assigned a value, all upper-case characters are "
- "converted to lower-case. The upper-case attribute is disabled."
- msgstr ""
- #. type: item
- #: bashref.texi:4058 bashref.texi:4283 bashref.texi:4585 bashref.texi:4752
- #: bashref.texi:7138 bashref.texi:7161 bashref.texi:7787
- #, no-wrap
- msgid "-n"
- msgstr ""
- #. type: table
- #: bashref.texi:4067
- msgid ""
- "Give each @var{name} the @var{nameref} attribute, making it a name reference "
- "to another variable. That other variable is defined by the value of "
- "@var{name}. All references, assignments, and attribute modifications to "
- "@var{name}, except for those using or changing the @option{-n} attribute "
- "itself, are performed on the variable referenced by @var{name}'s value. The "
- "nameref attribute cannot be applied to array variables."
- msgstr ""
- #. type: item
- #: bashref.texi:4068 bashref.texi:4439 bashref.texi:4595 bashref.texi:6282
- #: bashref.texi:7794
- #, no-wrap
- msgid "-r"
- msgstr ""
- #. type: table
- #: bashref.texi:4071
- msgid ""
- "Make @var{name}s readonly. These names cannot then be assigned values by "
- "subsequent assignment statements or unset."
- msgstr ""
- #. type: item
- #: bashref.texi:4072 bashref.texi:4290 bashref.texi:4601 bashref.texi:4865
- #, no-wrap
- msgid "-t"
- msgstr ""
- #. type: table
- #: bashref.texi:4077
- msgid ""
- "Give each @var{name} the @code{trace} attribute. Traced functions inherit "
- "the @code{DEBUG} and @code{RETURN} traps from the calling shell. The trace "
- "attribute has no special meaning for variables."
- msgstr ""
- #. type: item
- #: bashref.texi:4078 bashref.texi:4292 bashref.texi:4604 bashref.texi:4868
- #: bashref.texi:4984
- #, no-wrap
- msgid "-u"
- msgstr ""
- #. type: table
- #: bashref.texi:4082
- msgid ""
- "When the variable is assigned a value, all lower-case characters are "
- "converted to upper-case. The lower-case attribute is disabled."
- msgstr ""
- #. type: item
- #: bashref.texi:4083 bashref.texi:4611 bashref.texi:4877
- #, no-wrap
- msgid "-x"
- msgstr ""
- #. type: table
- #: bashref.texi:4086
- msgid ""
- "Mark each @var{name} for export to subsequent commands via the environment."
- msgstr ""
- #. type: table
- #: bashref.texi:4096
- msgid ""
- "Using @samp{+} instead of @samp{-} turns off the attribute instead, with the "
- "exceptions that @samp{+a} may not be used to destroy an array variable and "
- "@samp{+r} will not remove the readonly attribute. When used in a function, "
- "@code{declare} makes each @var{name} local, as with the @code{local} "
- "command, unless the @option{-g} option is used. If a variable name is "
- "followed by =@var{value}, the value of the variable is set to @var{value}."
- msgstr ""
- #. type: table
- #: bashref.texi:4100
- msgid ""
- "When using @option{-a} or @option{-A} and the compound assignment syntax to "
- "create array variables, additional attributes do not take effect until "
- "subsequent assignments."
- msgstr ""
- #. type: table
- #: bashref.texi:4110
- msgid ""
- "The return status is zero unless an invalid option is encountered, an "
- "attempt is made to define a function using @samp{-f foo=bar}, an attempt is "
- "made to assign a value to a readonly variable, an attempt is made to assign "
- "a value to an array variable without using the compound assignment syntax "
- "(@pxref{Arrays}), one of the @var{names} is not a valid shell variable name, "
- "an attempt is made to turn off readonly status for a readonly variable, an "
- "attempt is made to turn off array status for an array variable, or an "
- "attempt is made to display a non-existent function with @option{-f}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4111 bashref.texi:4112
- #, no-wrap
- msgid "echo"
- msgstr ""
- #. type: example
- #: bashref.texi:4115
- #, no-wrap
- msgid "echo [-neE] [@var{arg} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4129
- msgid ""
- "Output the @var{arg}s, separated by spaces, terminated with a newline. The "
- "return status is 0 unless a write error occurs. If @option{-n} is "
- "specified, the trailing newline is suppressed. If the @option{-e} option is "
- "given, interpretation of the following backslash-escaped characters is "
- "enabled. The @option{-E} option disables the interpretation of these escape "
- "characters, even on systems where they are interpreted by default. The "
- "@code{xpg_echo} shell option may be used to dynamically determine whether or "
- "not @code{echo} expands these escape characters by default. @code{echo} "
- "does not interpret @option{--} to mean the end of options."
- msgstr ""
- #. type: table
- #: bashref.texi:4131
- msgid "@code{echo} interprets the following escape sequences:"
- msgstr ""
- #. type: item
- #: bashref.texi:4136
- #, no-wrap
- msgid "\\c"
- msgstr ""
- #. type: table
- #: bashref.texi:4138
- msgid "suppress further output"
- msgstr ""
- #. type: table
- #: bashref.texi:4141
- msgid "escape"
- msgstr ""
- #. type: table
- #: bashref.texi:4145
- msgid "new line"
- msgstr ""
- #. type: item
- #: bashref.texi:4153
- #, no-wrap
- msgid "\\0@var{nnn}"
- msgstr ""
- #. type: table
- #: bashref.texi:4156
- msgid ""
- "the eight-bit character whose value is the octal value @var{nnn} (zero to "
- "three octal digits)"
- msgstr ""
- #. type: btindex
- #: bashref.texi:4167 bashref.texi:4168
- #, no-wrap
- msgid "enable"
- msgstr ""
- #. type: example
- #: bashref.texi:4171
- #, no-wrap
- msgid "enable [-a] [-dnps] [-f @var{filename}] [@var{name} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4181
- msgid ""
- "Enable and disable builtin shell commands. Disabling a builtin allows a "
- "disk command which has the same name as a shell builtin to be executed "
- "without specifying a full pathname, even though the shell normally searches "
- "for builtins before disk commands. If @option{-n} is used, the @var{name}s "
- "become disabled. Otherwise @var{name}s are enabled. For example, to use "
- "the @code{test} binary found via @env{$PATH} instead of the shell builtin "
- "version, type @samp{enable -n test}."
- msgstr ""
- #. type: table
- #: bashref.texi:4187
- msgid ""
- "If the @option{-p} option is supplied, or no @var{name} arguments appear, a "
- "list of shell builtins is printed. With no other arguments, the list "
- "consists of all enabled shell builtins. The @option{-a} option means to "
- "list each builtin with an indication of whether or not it is enabled."
- msgstr ""
- #. type: table
- #: bashref.texi:4191
- msgid ""
- "The @option{-f} option means to load the new builtin command @var{name} from "
- "shared object @var{filename}, on systems that support dynamic loading. The "
- "@option{-d} option will delete a builtin loaded with @option{-f}."
- msgstr ""
- #. type: table
- #: bashref.texi:4196
- msgid ""
- "If there are no options, a list of the shell builtins is displayed. The "
- "@option{-s} option restricts @code{enable} to the @sc{posix} special "
- "builtins. If @option{-s} is used with @option{-f}, the new builtin becomes "
- "a special builtin (@pxref{Special Builtins})."
- msgstr ""
- #. type: table
- #: bashref.texi:4199
- msgid ""
- "The return status is zero unless a @var{name} is not a shell builtin or "
- "there is an error loading a new builtin from a shared object."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4200 bashref.texi:4201
- #, no-wrap
- msgid "help"
- msgstr ""
- #. type: example
- #: bashref.texi:4204
- #, no-wrap
- msgid "help [-dms] [@var{pattern}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4210
- msgid ""
- "Display helpful information about builtin commands. If @var{pattern} is "
- "specified, @code{help} gives detailed help on all commands matching "
- "@var{pattern}, otherwise a list of the builtins is printed."
- msgstr ""
- #. type: item
- #: bashref.texi:4214 bashref.texi:4280 bashref.texi:4564
- #, no-wrap
- msgid "-d"
- msgstr ""
- #. type: table
- #: bashref.texi:4216
- msgid "Display a short description of each @var{pattern}"
- msgstr ""
- #. type: item
- #: bashref.texi:4216 bashref.texi:4582 bashref.texi:4746
- #, no-wrap
- msgid "-m"
- msgstr ""
- #. type: table
- #: bashref.texi:4218
- msgid "Display the description of each @var{pattern} in a manpage-like format"
- msgstr ""
- #. type: table
- #: bashref.texi:4220
- msgid "Display only a short usage synopsis for each @var{pattern}"
- msgstr ""
- #. type: table
- #: bashref.texi:4223
- msgid "The return status is zero unless no command matches @var{pattern}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4224 bashref.texi:4225
- #, no-wrap
- msgid "let"
- msgstr ""
- #. type: example
- #: bashref.texi:4228
- #, no-wrap
- msgid "let @var{expression} [@var{expression} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4235
- msgid ""
- "The @code{let} builtin allows arithmetic to be performed on shell "
- "variables. Each @var{expression} is evaluated according to the rules given "
- "below in @ref{Shell Arithmetic}. If the last @var{expression} evaluates to "
- "0, @code{let} returns 1; otherwise 0 is returned."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4236 bashref.texi:4237
- #, no-wrap
- msgid "local"
- msgstr ""
- #. type: example
- #: bashref.texi:4240
- #, no-wrap
- msgid "local [@var{option}] @var{name}[=@var{value}] @dots{}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4255
- msgid ""
- "For each argument, a local variable named @var{name} is created, and "
- "assigned @var{value}. The @var{option} can be any of the options accepted "
- "by @code{declare}. @code{local} can only be used within a function; it "
- "makes the variable @var{name} have a visible scope restricted to that "
- "function and its children. If @var{name} is @samp{-}, the set of shell "
- "options is made local to the function in which @code{local} is invoked: "
- "shell options changed using the @code{set} builtin inside the function are "
- "restored to their original values when the function returns. The return "
- "status is zero unless @code{local} is used outside a function, an invalid "
- "@var{name} is supplied, or @var{name} is a readonly variable."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4256 bashref.texi:4257
- #, no-wrap
- msgid "logout"
- msgstr ""
- #. type: example
- #: bashref.texi:4260
- #, no-wrap
- msgid "logout [@var{n}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4264
- msgid ""
- "Exit a login shell, returning a status of @var{n} to the shell's parent."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4265 bashref.texi:4266
- #, no-wrap
- msgid "mapfile"
- msgstr ""
- #. type: example
- #: bashref.texi:4270
- #, no-wrap
- msgid ""
- "mapfile [-d @var{delim}] [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}]\n"
- " [-C @var{callback}] [-c @var{quantum}] [@var{array}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4277
- msgid ""
- "Read lines from the standard input into the indexed array variable "
- "@var{array}, or from file descriptor @var{fd} if the @option{-u} option is "
- "supplied. The variable @code{MAPFILE} is the default @var{array}. Options, "
- "if supplied, have the following meanings:"
- msgstr ""
- #. type: table
- #: bashref.texi:4283
- msgid ""
- "The first character of @var{delim} is used to terminate each input line, "
- "rather than newline."
- msgstr ""
- #. type: table
- #: bashref.texi:4285
- msgid ""
- "Copy at most @var{count} lines. If @var{count} is 0, all lines are copied."
- msgstr ""
- #. type: item
- #: bashref.texi:4285
- #, no-wrap
- msgid "-O"
- msgstr ""
- #. type: table
- #: bashref.texi:4288
- msgid ""
- "Begin assigning to @var{array} at index @var{origin}. The default index is "
- "0."
- msgstr ""
- #. type: table
- #: bashref.texi:4290
- msgid "Discard the first @var{count} lines read."
- msgstr ""
- #. type: table
- #: bashref.texi:4292
- msgid "Remove a trailing @var{delim} (default newline) from each line read."
- msgstr ""
- #. type: table
- #: bashref.texi:4294
- msgid "Read lines from file descriptor @var{fd} instead of the standard input."
- msgstr ""
- #. type: item
- #: bashref.texi:4294 bashref.texi:4889
- #, no-wrap
- msgid "-C"
- msgstr ""
- #. type: table
- #: bashref.texi:4297
- msgid ""
- "Evaluate @var{callback} each time @var{quantum}P lines are read. The "
- "@option{-c} option specifies @var{quantum}."
- msgstr ""
- #. type: item
- #: bashref.texi:4297 bashref.texi:4561 bashref.texi:6258 bashref.texi:7104
- #, no-wrap
- msgid "-c"
- msgstr ""
- #. type: table
- #: bashref.texi:4299
- msgid "Specify the number of lines read between each call to @var{callback}."
- msgstr ""
- #. type: table
- #: bashref.texi:4308
- msgid ""
- "If @option{-C} is specified without @option{-c}, the default quantum is "
- "5000. When @var{callback} is evaluated, it is supplied the index of the "
- "next array element to be assigned and the line to be assigned to that "
- "element as additional arguments. @var{callback} is evaluated after the line "
- "is read but before the array element is assigned."
- msgstr ""
- #. type: table
- #: bashref.texi:4311
- msgid ""
- "If not supplied with an explicit origin, @code{mapfile} will clear "
- "@var{array} before assigning to it."
- msgstr ""
- #. type: table
- #: bashref.texi:4315
- msgid ""
- "@code{mapfile} returns successfully unless an invalid option or option "
- "argument is supplied, @var{array} is invalid or unassignable, or @var{array} "
- "is not an indexed array."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4316 bashref.texi:4317
- #, no-wrap
- msgid "printf"
- msgstr ""
- #. type: example
- #: bashref.texi:4320
- #, no-wrap
- msgid "printf [-v @var{var}] @var{format} [@var{arguments}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4326
- msgid ""
- "Write the formatted @var{arguments} to the standard output under the control "
- "of the @var{format}. The @option{-v} option causes the output to be "
- "assigned to the variable @var{var} rather than being printed to the standard "
- "output."
- msgstr ""
- #. type: table
- #: bashref.texi:4334
- msgid ""
- "The @var{format} is a character string which contains three types of "
- "objects: plain characters, which are simply copied to standard output, "
- "character escape sequences, which are converted and copied to the standard "
- "output, and format specifications, each of which causes printing of the next "
- "successive @var{argument}. In addition to the standard @code{printf(1)} "
- "formats, @code{printf} interprets the following extensions:"
- msgstr ""
- #. type: item
- #: bashref.texi:4336
- #, no-wrap
- msgid "%b"
- msgstr ""
- #. type: table
- #: bashref.texi:4340
- msgid ""
- "Causes @code{printf} to expand backslash escape sequences in the "
- "corresponding @var{argument} in the same way as @code{echo -e} (@pxref{Bash "
- "Builtins})."
- msgstr ""
- #. type: item
- #: bashref.texi:4340
- #, no-wrap
- msgid "%q"
- msgstr ""
- #. type: table
- #: bashref.texi:4343
- msgid ""
- "Causes @code{printf} to output the corresponding @var{argument} in a format "
- "that can be reused as shell input."
- msgstr ""
- #. type: item
- #: bashref.texi:4343
- #, no-wrap
- msgid "%(@var{datefmt})T"
- msgstr ""
- #. type: table
- #: bashref.texi:4352
- msgid ""
- "Causes @code{printf} to output the date-time string resulting from using "
- "@var{datefmt} as a format string for @code{strftime}(3). The corresponding "
- "@var{argument} is an integer representing the number of seconds since the "
- "epoch. Two special argument values may be used: -1 represents the current "
- "time, and -2 represents the time the shell was invoked. If no argument is "
- "specified, conversion behaves as if -1 had been given. This is an exception "
- "to the usual @code{printf} behavior."
- msgstr ""
- #. type: table
- #: bashref.texi:4359
- msgid ""
- "Arguments to non-string format specifiers are treated as C language "
- "constants, except that a leading plus or minus sign is allowed, and if the "
- "leading character is a single or double quote, the value is the ASCII value "
- "of the following character."
- msgstr ""
- #. type: table
- #: bashref.texi:4365
- msgid ""
- "The @var{format} is reused as necessary to consume all of the "
- "@var{arguments}. If the @var{format} requires more @var{arguments} than are "
- "supplied, the extra format specifications behave as if a zero value or null "
- "string, as appropriate, had been supplied. The return value is zero on "
- "success, non-zero on failure."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4366 bashref.texi:4367
- #, no-wrap
- msgid "read"
- msgstr ""
- #. type: example
- #: bashref.texi:4371
- #, no-wrap
- msgid ""
- "read [-ers] [-a @var{aname}] [-d @var{delim}] [-i @var{text}] [-n @var{nchars}]\n"
- " [-N @var{nchars}] [-p @var{prompt}] [-t @var{timeout}] [-u @var{fd}] [@var{name} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4395
- msgid ""
- "One line is read from the standard input, or from the file descriptor "
- "@var{fd} supplied as an argument to the @option{-u} option, split into words "
- "as described above in @ref{Word Splitting}, and the first word is assigned "
- "to the first @var{name}, the second word to the second @var{name}, and so "
- "on. If there are more words than names, the remaining words and their "
- "intervening delimiters are assigned to the last @var{name}. If there are "
- "fewer words read from the input stream than names, the remaining names are "
- "assigned empty values. The characters in the value of the @env{IFS} "
- "variable are used to split the line into words using the same rules the "
- "shell uses for expansion (described above in @ref{Word Splitting}). The "
- "backslash character @samp{\\} may be used to remove any special meaning for "
- "the next character read and for line continuation. If no names are "
- "supplied, the line read is assigned to the variable @env{REPLY}. The exit "
- "status is zero, unless end-of-file is encountered, @code{read} times out (in "
- "which case the status is greater than 128), a variable assignment error "
- "(such as assigning to a readonly variable) occurs, or an invalid file "
- "descriptor is supplied as the argument to @option{-u}."
- msgstr ""
- #. type: item
- #: bashref.texi:4399
- #, no-wrap
- msgid "-a @var{aname}"
- msgstr ""
- #. type: table
- #: bashref.texi:4404
- msgid ""
- "The words are assigned to sequential indices of the array variable "
- "@var{aname}, starting at 0. All elements are removed from @var{aname} "
- "before the assignment. Other @var{name} arguments are ignored."
- msgstr ""
- #. type: item
- #: bashref.texi:4405
- #, no-wrap
- msgid "-d @var{delim}"
- msgstr ""
- #. type: table
- #: bashref.texi:4408
- msgid ""
- "The first character of @var{delim} is used to terminate the input line, "
- "rather than newline."
- msgstr ""
- #. type: item
- #: bashref.texi:4409 bashref.texi:4567 bashref.texi:4701
- #, no-wrap
- msgid "-e"
- msgstr ""
- #. type: table
- #: bashref.texi:4413
- msgid ""
- "Readline (@pxref{Command Line Editing}) is used to obtain the line. "
- "Readline uses the current (or default, if line editing was not previously "
- "active) editing settings."
- msgstr ""
- #. type: item
- #: bashref.texi:4414
- #, no-wrap
- msgid "-i @var{text}"
- msgstr ""
- #. type: table
- #: bashref.texi:4417
- msgid ""
- "If Readline is being used to read the line, @var{text} is placed into the "
- "editing buffer before editing begins."
- msgstr ""
- #. type: item
- #: bashref.texi:4418
- #, no-wrap
- msgid "-n @var{nchars}"
- msgstr ""
- #. type: table
- #: bashref.texi:4422
- msgid ""
- "@code{read} returns after reading @var{nchars} characters rather than "
- "waiting for a complete line of input, but honors a delimiter if fewer than "
- "@var{nchars} characters are read before the delimiter."
- msgstr ""
- #. type: item
- #: bashref.texi:4423
- #, no-wrap
- msgid "-N @var{nchars}"
- msgstr ""
- #. type: table
- #: bashref.texi:4433
- msgid ""
- "@code{read} returns after reading exactly @var{nchars} characters rather "
- "than waiting for a complete line of input, unless EOF is encountered or "
- "@code{read} times out. Delimiter characters encountered in the input are "
- "not treated specially and do not cause @code{read} to return until "
- "@var{nchars} characters are read. The result is not split on the characters "
- "in @code{IFS}; the intent is that the variable is assigned exactly the "
- "characters read (with the exception of backslash; see the @option{-r} option "
- "below)."
- msgstr ""
- #. type: item
- #: bashref.texi:4434
- #, no-wrap
- msgid "-p @var{prompt}"
- msgstr ""
- #. type: table
- #: bashref.texi:4438
- msgid ""
- "Display @var{prompt}, without a trailing newline, before attempting to read "
- "any input. The prompt is displayed only if input is coming from a terminal."
- msgstr ""
- #. type: table
- #: bashref.texi:4444
- msgid ""
- "If this option is given, backslash does not act as an escape character. The "
- "backslash is considered to be part of the line. In particular, a backslash-"
- "newline pair may not be used as a line continuation."
- msgstr ""
- #. type: table
- #: bashref.texi:4448
- msgid ""
- "Silent mode. If input is coming from a terminal, characters are not echoed."
- msgstr ""
- #. type: item
- #: bashref.texi:4449
- #, no-wrap
- msgid "-t @var{timeout}"
- msgstr ""
- #. type: table
- #: bashref.texi:4464
- msgid ""
- "Cause @code{read} to time out and return failure if a complete line of input "
- "(or a specified number of characters) is not read within @var{timeout} "
- "seconds. @var{timeout} may be a decimal number with a fractional portion "
- "following the decimal point. This option is only effective if @code{read} "
- "is reading input from a terminal, pipe, or other special file; it has no "
- "effect when reading from regular files. If @code{read} times out, "
- "@code{read} saves any partial input read into the specified variable "
- "@var{name}. If @var{timeout} is 0, @code{read} returns immediately, without "
- "trying to read and data. The exit status is 0 if input is available on the "
- "specified file descriptor, non-zero otherwise. The exit status is greater "
- "than 128 if the timeout is exceeded."
- msgstr ""
- #. type: item
- #: bashref.texi:4465
- #, no-wrap
- msgid "-u @var{fd}"
- msgstr ""
- #. type: table
- #: bashref.texi:4467
- msgid "Read input from file descriptor @var{fd}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4469 bashref.texi:4470
- #, no-wrap
- msgid "readarray"
- msgstr ""
- #. type: example
- #: bashref.texi:4474
- #, no-wrap
- msgid ""
- "readarray [-d @var{delim}] [-n @var{count}] [-O @var{origin}] [-s @var{count}] [-t] [-u @var{fd}]\n"
- " [-C @var{callback}] [-c @var{quantum}] [@var{array}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4479
- msgid ""
- "Read lines from the standard input into the indexed array variable "
- "@var{array}, or from file descriptor @var{fd} if the @option{-u} option is "
- "supplied."
- msgstr ""
- #. type: table
- #: bashref.texi:4481
- msgid "A synonym for @code{mapfile}."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4482 bashref.texi:4483
- #, no-wrap
- msgid "source"
- msgstr ""
- #. type: example
- #: bashref.texi:4486
- #, no-wrap
- msgid "source @var{filename}\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4489
- msgid "A synonym for @code{.} (@pxref{Bourne Shell Builtins})."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4490 bashref.texi:4491
- #, no-wrap
- msgid "type"
- msgstr ""
- #. type: example
- #: bashref.texi:4494
- #, no-wrap
- msgid "type [-afptP] [@var{name} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4498
- msgid ""
- "For each @var{name}, indicate how it would be interpreted if used as a "
- "command name."
- msgstr ""
- #. type: table
- #: bashref.texi:4506
- msgid ""
- "If the @option{-t} option is used, @code{type} prints a single word which is "
- "one of @samp{alias}, @samp{function}, @samp{builtin}, @samp{file} or "
- "@samp{keyword}, if @var{name} is an alias, shell function, shell builtin, "
- "disk file, or shell reserved word, respectively. If the @var{name} is not "
- "found, then nothing is printed, and @code{type} returns a failure status."
- msgstr ""
- #. type: table
- #: bashref.texi:4510
- msgid ""
- "If the @option{-p} option is used, @code{type} either returns the name of "
- "the disk file that would be executed, or nothing if @option{-t} would not "
- "return @samp{file}."
- msgstr ""
- #. type: table
- #: bashref.texi:4513
- msgid ""
- "The @option{-P} option forces a path search for each @var{name}, even if "
- "@option{-t} would not return @samp{file}."
- msgstr ""
- #. type: table
- #: bashref.texi:4516
- msgid ""
- "If a command is hashed, @option{-p} and @option{-P} print the hashed value, "
- "which is not necessarily the file that appears first in @code{$PATH}."
- msgstr ""
- #. type: table
- #: bashref.texi:4521
- msgid ""
- "If the @option{-a} option is used, @code{type} returns all of the places "
- "that contain an executable named @var{file}. This includes aliases and "
- "functions, if and only if the @option{-p} option is not also used."
- msgstr ""
- #. type: table
- #: bashref.texi:4524
- msgid ""
- "If the @option{-f} option is used, @code{type} does not attempt to find "
- "shell functions, as with the @code{command} builtin."
- msgstr ""
- #. type: table
- #: bashref.texi:4527
- msgid ""
- "The return status is zero if all of the @var{names} are found, non-zero if "
- "any are not found."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4528 bashref.texi:4529
- #, no-wrap
- msgid "typeset"
- msgstr ""
- #. type: example
- #: bashref.texi:4532
- #, no-wrap
- msgid "typeset [-afFgrxilnrtux] [-p] [@var{name}[=@var{value}] @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4537
- msgid ""
- "The @code{typeset} command is supplied for compatibility with the Korn "
- "shell. It is a synonym for the @code{declare} builtin command."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4538 bashref.texi:4539
- #, no-wrap
- msgid "ulimit"
- msgstr ""
- #. type: example
- #: bashref.texi:4542
- #, no-wrap
- msgid "ulimit [-HSabcdefiklmnpqrstuvxPT] [@var{limit}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4547
- msgid ""
- "@code{ulimit} provides control over the resources available to processes "
- "started by the shell, on systems that allow such control. If an option is "
- "given, it is interpreted as follows:"
- msgstr ""
- #. type: table
- #: bashref.texi:4551
- msgid "Change and report the soft limit associated with a resource."
- msgstr ""
- #. type: item
- #: bashref.texi:4552 bashref.texi:4898
- #, no-wrap
- msgid "-H"
- msgstr ""
- #. type: table
- #: bashref.texi:4554
- msgid "Change and report the hard limit associated with a resource."
- msgstr ""
- #. type: table
- #: bashref.texi:4557
- msgid "All current limits are reported."
- msgstr ""
- #. type: item
- #: bashref.texi:4558 bashref.texi:4697
- #, no-wrap
- msgid "-b"
- msgstr ""
- #. type: table
- #: bashref.texi:4560
- msgid "The maximum socket buffer size."
- msgstr ""
- #. type: table
- #: bashref.texi:4563
- msgid "The maximum size of core files created."
- msgstr ""
- #. type: table
- #: bashref.texi:4566
- msgid "The maximum size of a process's data segment."
- msgstr ""
- #. type: table
- #: bashref.texi:4569
- msgid "The maximum scheduling priority (\"nice\")."
- msgstr ""
- #. type: table
- #: bashref.texi:4572
- msgid "The maximum size of files written by the shell and its children."
- msgstr ""
- #. type: table
- #: bashref.texi:4575
- msgid "The maximum number of pending signals."
- msgstr ""
- #. type: item
- #: bashref.texi:4576 bashref.texi:4741
- #, no-wrap
- msgid "-k"
- msgstr ""
- #. type: table
- #: bashref.texi:4578
- msgid "The maximum number of kqueues that may be allocated."
- msgstr ""
- #. type: table
- #: bashref.texi:4581
- msgid "The maximum size that may be locked into memory."
- msgstr ""
- #. type: table
- #: bashref.texi:4584
- msgid "The maximum resident set size (many systems do not honor this limit)."
- msgstr ""
- #. type: table
- #: bashref.texi:4588
- msgid ""
- "The maximum number of open file descriptors (most systems do not allow this "
- "value to be set)."
- msgstr ""
- #. type: table
- #: bashref.texi:4591
- msgid "The pipe buffer size."
- msgstr ""
- #. type: itemx
- #: bashref.texi:4592 bashref.texi:4987 bashref.texi:8145
- #, no-wrap
- msgid "-q"
- msgstr ""
- #. type: table
- #: bashref.texi:4594
- msgid "The maximum number of bytes in POSIX message queues."
- msgstr ""
- #. type: table
- #: bashref.texi:4597
- msgid "The maximum real-time scheduling priority."
- msgstr ""
- #. type: table
- #: bashref.texi:4600
- msgid "The maximum stack size."
- msgstr ""
- #. type: table
- #: bashref.texi:4603
- msgid "The maximum amount of cpu time in seconds."
- msgstr ""
- #. type: table
- #: bashref.texi:4606
- msgid "The maximum number of processes available to a single user."
- msgstr ""
- #. type: table
- #: bashref.texi:4610
- msgid ""
- "The maximum amount of virtual memory available to the shell, and, on some "
- "systems, to its children."
- msgstr ""
- #. type: table
- #: bashref.texi:4613
- msgid "The maximum number of file locks."
- msgstr ""
- #. type: table
- #: bashref.texi:4616
- msgid "The maximum number of pseudoterminals."
- msgstr ""
- #. type: item
- #: bashref.texi:4617 bashref.texi:4927
- #, no-wrap
- msgid "-T"
- msgstr ""
- #. type: table
- #: bashref.texi:4619
- msgid "The maximum number of threads."
- msgstr ""
- #. type: table
- #: bashref.texi:4642
- msgid ""
- "If @var{limit} is given, and the @option{-a} option is not used, @var{limit} "
- "is the new value of the specified resource. The special @var{limit} values "
- "@code{hard}, @code{soft}, and @code{unlimited} stand for the current hard "
- "limit, the current soft limit, and no limit, respectively. A hard limit "
- "cannot be increased by a non-root user once it is set; a soft limit may be "
- "increased up to the value of the hard limit. Otherwise, the current value "
- "of the soft limit for the specified resource is printed, unless the @option{-"
- "H} option is supplied. When setting new limits, if neither @option{-H} nor "
- "@option{-S} is supplied, both the hard and soft limits are set. If no "
- "option is given, then @option{-f} is assumed. Values are in 1024-byte "
- "increments, except for @option{-t}, which is in seconds; @option{-p}, which "
- "is in units of 512-byte blocks; @option{-P}, @option{-T}, @option{-b}, "
- "@option{-k}, @option{-n} and @option{-u}, which are unscaled values; and, "
- "when in @sc{posix} Mode (@pxref{Bash POSIX Mode}), @option{-c} and @option{-"
- "f}, which are in 512-byte increments."
- msgstr ""
- #. type: table
- #: bashref.texi:4645
- msgid ""
- "The return status is zero unless an invalid option or argument is supplied, "
- "or an error occurs while setting a new limit."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4646 bashref.texi:4647
- #, no-wrap
- msgid "unalias"
- msgstr ""
- #. type: example
- #: bashref.texi:4650
- #, no-wrap
- msgid "unalias [-a] [@var{name} @dots{} ]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4655
- msgid ""
- "Remove each @var{name} from the list of aliases. If @option{-a} is "
- "supplied, all aliases are removed. Aliases are described in @ref{Aliases}."
- msgstr ""
- #. type: subsection
- #: bashref.texi:4664 bashref.texi:4666 bashref.texi:4667
- #, no-wrap
- msgid "The Set Builtin"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:4664
- msgid "Change the values of shell attributes and positional parameters."
- msgstr ""
- #. type: subsection
- #: bashref.texi:4664 bashref.texi:4957 bashref.texi:4958
- #, no-wrap
- msgid "The Shopt Builtin"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:4664
- msgid "Modify shell optional behavior."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:4672
- msgid ""
- "This builtin is so complicated that it deserves its own section. @code{set} "
- "allows you to change the values of shell options and set the positional "
- "parameters, or to display the names and values of shell variables."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4674 bashref.texi:4675
- #, no-wrap
- msgid "set"
- msgstr ""
- #. type: example
- #: bashref.texi:4679
- #, no-wrap
- msgid ""
- "set [--abefhkmnptuvxBCEHPT] [-o @var{option-name}] [@var{argument} @dots{}]\n"
- "set [+abefhkmnptuvxBCEHPT] [+o @var{option-name}] [@var{argument} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4687
- msgid ""
- "If no options or arguments are supplied, @code{set} displays the names and "
- "values of all shell variables and functions, sorted according to the current "
- "locale, in a format that may be reused as input for setting or resetting the "
- "currently-set variables. Read-only variables cannot be reset. In "
- "@sc{posix} mode, only shell variables are listed."
- msgstr ""
- #. type: table
- #: bashref.texi:4690
- msgid ""
- "When options are supplied, they set or unset shell attributes. Options, if "
- "specified, have the following meanings:"
- msgstr ""
- #. type: table
- #: bashref.texi:4696
- msgid ""
- "Each variable or function that is created or modified is given the export "
- "attribute and marked for export to the environment of subsequent commands."
- msgstr ""
- #. type: table
- #: bashref.texi:4700
- msgid ""
- "Cause the status of terminated background jobs to be reported immediately, "
- "rather than before printing the next primary prompt."
- msgstr ""
- #. type: table
- #: bashref.texi:4719
- msgid ""
- "Exit immediately if a pipeline (@pxref{Pipelines}), which may consist of a "
- "single simple command (@pxref{Simple Commands}), a list (@pxref{Lists}), or "
- "a compound command (@pxref{Compound Commands}) returns a non-zero status. "
- "The shell does not exit if the command that fails is part of the command "
- "list immediately following a @code{while} or @code{until} keyword, part of "
- "the test in an @code{if} statement, part of any command executed in a "
- "@code{&&} or @code{||} list except the command following the final @code{&&} "
- "or @code{||}, any command in a pipeline but the last, or if the command's "
- "return status is being inverted with @code{!}. If a compound command other "
- "than a subshell returns a non-zero status because a command failed while "
- "@option{-e} was being ignored, the shell does not exit. A trap on "
- "@code{ERR}, if set, is executed before the shell exits."
- msgstr ""
- #. type: table
- #: bashref.texi:4723
- msgid ""
- "This option applies to the shell environment and each subshell environment "
- "separately (@pxref{Command Execution Environment}), and may cause subshells "
- "to exit before executing all the commands in the subshell."
- msgstr ""
- #. type: table
- #: bashref.texi:4733
- msgid ""
- "If a compound command or shell function executes in a context where @option{-"
- "e} is being ignored, none of the commands executed within the compound "
- "command or function body will be affected by the @option{-e} setting, even "
- "if @option{-e} is set and a command returns a failure status. If a compound "
- "command or shell function sets @option{-e} while executing in a context "
- "where @option{-e} is ignored, that setting will not have any effect until "
- "the compound command or the command containing the function call completes."
- msgstr ""
- #. type: table
- #: bashref.texi:4736
- msgid "Disable filename expansion (globbing)."
- msgstr ""
- #. type: item
- #: bashref.texi:4737
- #, no-wrap
- msgid "-h"
- msgstr ""
- #. type: table
- #: bashref.texi:4740
- msgid ""
- "Locate and remember (hash) commands as they are looked up for execution. "
- "This option is enabled by default."
- msgstr ""
- #. type: table
- #: bashref.texi:4745
- msgid ""
- "All arguments in the form of assignment statements are placed in the "
- "environment for a command, not just those that precede the command name."
- msgstr ""
- #. type: table
- #: bashref.texi:4751
- msgid ""
- "Job control is enabled (@pxref{Job Control}). All processes run in a "
- "separate process group. When a background job completes, the shell prints a "
- "line containing its exit status."
- msgstr ""
- #. type: table
- #: bashref.texi:4756
- msgid ""
- "Read commands but do not execute them. This may be used to check a script "
- "for syntax errors. This option is ignored by interactive shells."
- msgstr ""
- #. type: item
- #: bashref.texi:4757
- #, no-wrap
- msgid "-o @var{option-name}"
- msgstr ""
- #. type: table
- #: bashref.texi:4760
- msgid "Set the option corresponding to @var{option-name}:"
- msgstr ""
- #. type: item
- #: bashref.texi:4762
- #, no-wrap
- msgid "allexport"
- msgstr ""
- #. type: table
- #: bashref.texi:4764
- msgid "Same as @code{-a}."
- msgstr ""
- #. type: item
- #: bashref.texi:4765
- #, no-wrap
- msgid "braceexpand"
- msgstr ""
- #. type: table
- #: bashref.texi:4767
- msgid "Same as @code{-B}."
- msgstr ""
- #. type: item
- #: bashref.texi:4768
- #, no-wrap
- msgid "emacs"
- msgstr ""
- #. type: table
- #: bashref.texi:4771
- msgid ""
- "Use an @code{emacs}-style line editing interface (@pxref{Command Line "
- "Editing}). This also affects the editing interface used for @code{read -e}."
- msgstr ""
- #. type: item
- #: bashref.texi:4772
- #, no-wrap
- msgid "errexit"
- msgstr ""
- #. type: table
- #: bashref.texi:4774
- msgid "Same as @code{-e}."
- msgstr ""
- #. type: item
- #: bashref.texi:4775
- #, no-wrap
- msgid "errtrace"
- msgstr ""
- #. type: table
- #: bashref.texi:4777
- msgid "Same as @code{-E}."
- msgstr ""
- #. type: item
- #: bashref.texi:4778
- #, no-wrap
- msgid "functrace"
- msgstr ""
- #. type: table
- #: bashref.texi:4780
- msgid "Same as @code{-T}."
- msgstr ""
- #. type: item
- #: bashref.texi:4781
- #, no-wrap
- msgid "hashall"
- msgstr ""
- #. type: table
- #: bashref.texi:4783
- msgid "Same as @code{-h}."
- msgstr ""
- #. type: item
- #: bashref.texi:4784
- #, no-wrap
- msgid "histexpand"
- msgstr ""
- #. type: table
- #: bashref.texi:4786
- msgid "Same as @code{-H}."
- msgstr ""
- #. type: item
- #: bashref.texi:4787
- #, no-wrap
- msgid "history"
- msgstr ""
- #. type: table
- #: bashref.texi:4790
- msgid ""
- "Enable command history, as described in @ref{Bash History Facilities}. This "
- "option is on by default in interactive shells."
- msgstr ""
- #. type: item
- #: bashref.texi:4791
- #, no-wrap
- msgid "ignoreeof"
- msgstr ""
- #. type: table
- #: bashref.texi:4793
- msgid "An interactive shell will not exit upon reading EOF."
- msgstr ""
- #. type: item
- #: bashref.texi:4794
- #, no-wrap
- msgid "keyword"
- msgstr ""
- #. type: table
- #: bashref.texi:4796
- msgid "Same as @code{-k}."
- msgstr ""
- #. type: item
- #: bashref.texi:4797
- #, no-wrap
- msgid "monitor"
- msgstr ""
- #. type: table
- #: bashref.texi:4799
- msgid "Same as @code{-m}."
- msgstr ""
- #. type: item
- #: bashref.texi:4800
- #, no-wrap
- msgid "noclobber"
- msgstr ""
- #. type: table
- #: bashref.texi:4802
- msgid "Same as @code{-C}."
- msgstr ""
- #. type: item
- #: bashref.texi:4803
- #, no-wrap
- msgid "noexec"
- msgstr ""
- #. type: table
- #: bashref.texi:4805
- msgid "Same as @code{-n}."
- msgstr ""
- #. type: item
- #: bashref.texi:4806
- #, no-wrap
- msgid "noglob"
- msgstr ""
- #. type: table
- #: bashref.texi:4808
- msgid "Same as @code{-f}."
- msgstr ""
- #. type: item
- #: bashref.texi:4809
- #, no-wrap
- msgid "nolog"
- msgstr ""
- #. type: table
- #: bashref.texi:4811
- msgid "Currently ignored."
- msgstr ""
- #. type: item
- #: bashref.texi:4812
- #, no-wrap
- msgid "notify"
- msgstr ""
- #. type: table
- #: bashref.texi:4814
- msgid "Same as @code{-b}."
- msgstr ""
- #. type: item
- #: bashref.texi:4815
- #, no-wrap
- msgid "nounset"
- msgstr ""
- #. type: table
- #: bashref.texi:4817
- msgid "Same as @code{-u}."
- msgstr ""
- #. type: item
- #: bashref.texi:4818
- #, no-wrap
- msgid "onecmd"
- msgstr ""
- #. type: table
- #: bashref.texi:4820
- msgid "Same as @code{-t}."
- msgstr ""
- #. type: item
- #: bashref.texi:4821
- #, no-wrap
- msgid "physical"
- msgstr ""
- #. type: table
- #: bashref.texi:4823
- msgid "Same as @code{-P}."
- msgstr ""
- #. type: item
- #: bashref.texi:4824
- #, no-wrap
- msgid "pipefail"
- msgstr ""
- #. type: table
- #: bashref.texi:4829
- msgid ""
- "If set, the return value of a pipeline is the value of the last (rightmost) "
- "command to exit with a non-zero status, or zero if all commands in the "
- "pipeline exit successfully. This option is disabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:4830
- #, no-wrap
- msgid "posix"
- msgstr ""
- #. type: table
- #: bashref.texi:4836
- msgid ""
- "Change the behavior of Bash where the default operation differs from the "
- "@sc{posix} standard to match the standard (@pxref{Bash POSIX Mode}). This "
- "is intended to make Bash behave as a strict superset of that standard."
- msgstr ""
- #. type: item
- #: bashref.texi:4837
- #, no-wrap
- msgid "privileged"
- msgstr ""
- #. type: table
- #: bashref.texi:4839
- msgid "Same as @code{-p}."
- msgstr ""
- #. type: item
- #: bashref.texi:4840
- #, no-wrap
- msgid "verbose"
- msgstr ""
- #. type: table
- #: bashref.texi:4842
- msgid "Same as @code{-v}."
- msgstr ""
- #. type: item
- #: bashref.texi:4843
- #, no-wrap
- msgid "vi"
- msgstr ""
- #. type: table
- #: bashref.texi:4846
- msgid ""
- "Use a @code{vi}-style line editing interface. This also affects the editing "
- "interface used for @code{read -e}."
- msgstr ""
- #. type: item
- #: bashref.texi:4847
- #, no-wrap
- msgid "xtrace"
- msgstr ""
- #. type: table
- #: bashref.texi:4849
- msgid "Same as @code{-x}."
- msgstr ""
- #. type: table
- #: bashref.texi:4864
- msgid ""
- "Turn on privileged mode. In this mode, the @env{$BASH_ENV} and @env{$ENV} "
- "files are not processed, shell functions are not inherited from the "
- "environment, and the @env{SHELLOPTS}, @env{BASHOPTS}, @env{CDPATH} and "
- "@env{GLOBIGNORE} variables, if they appear in the environment, are ignored. "
- "If the shell is started with the effective user (group) id not equal to the "
- "real user (group) id, and the @option{-p} option is not supplied, these "
- "actions are taken and the effective user id is set to the real user id. If "
- "the @option{-p} option is supplied at startup, the effective user id is not "
- "reset. Turning this option off causes the effective user and group ids to "
- "be set to the real user and group ids."
- msgstr ""
- #. type: table
- #: bashref.texi:4867
- msgid "Exit after reading and executing one command."
- msgstr ""
- #. type: table
- #: bashref.texi:4873
- msgid ""
- "Treat unset variables and parameters other than the special parameters "
- "@samp{@@} or @samp{*} as an error when performing parameter expansion. An "
- "error message will be written to the standard error, and a non-interactive "
- "shell will exit."
- msgstr ""
- #. type: table
- #: bashref.texi:4876
- msgid "Print shell input lines as they are read."
- msgstr ""
- #. type: table
- #: bashref.texi:4884
- msgid ""
- "Print a trace of simple commands, @code{for} commands, @code{case} commands, "
- "@code{select} commands, and arithmetic @code{for} commands and their "
- "arguments or associated word lists after they are expanded and before they "
- "are executed. The value of the @env{PS4} variable is expanded and the "
- "resultant value is printed before the command and its expanded arguments."
- msgstr ""
- #. type: item
- #: bashref.texi:4885
- #, no-wrap
- msgid "-B"
- msgstr ""
- #. type: table
- #: bashref.texi:4888
- msgid ""
- "The shell will perform brace expansion (@pxref{Brace Expansion}). This "
- "option is on by default."
- msgstr ""
- #. type: table
- #: bashref.texi:4892
- msgid ""
- "Prevent output redirection using @samp{>}, @samp{>&}, and @samp{<>} from "
- "overwriting existing files."
- msgstr ""
- #. type: item
- #: bashref.texi:4893
- #, no-wrap
- msgid "-E"
- msgstr ""
- #. type: table
- #: bashref.texi:4897
- msgid ""
- "If set, any trap on @code{ERR} is inherited by shell functions, command "
- "substitutions, and commands executed in a subshell environment. The "
- "@code{ERR} trap is normally not inherited in such cases."
- msgstr ""
- #. type: table
- #: bashref.texi:4901
- msgid ""
- "Enable @samp{!} style history substitution (@pxref{History Interaction}). "
- "This option is on by default for interactive shells."
- msgstr ""
- #. type: table
- #: bashref.texi:4908
- msgid ""
- "If set, do not resolve symbolic links when performing commands such as "
- "@code{cd} which change the current directory. The physical directory is "
- "used instead. By default, Bash follows the logical chain of directories "
- "when performing commands which change the current directory."
- msgstr ""
- #. type: table
- #: bashref.texi:4911
- msgid ""
- "For example, if @file{/usr/sys} is a symbolic link to @file{/usr/local/sys} "
- "then:"
- msgstr ""
- #. type: example
- #: bashref.texi:4916
- #, no-wrap
- msgid ""
- "$ cd /usr/sys; echo $PWD\n"
- "/usr/sys\n"
- "$ cd ..; pwd\n"
- "/usr\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4920
- msgid "If @code{set -P} is on, then:"
- msgstr ""
- #. type: example
- #: bashref.texi:4925
- #, no-wrap
- msgid ""
- "$ cd /usr/sys; echo $PWD\n"
- "/usr/local/sys\n"
- "$ cd ..; pwd\n"
- "/usr/local\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4933
- msgid ""
- "If set, any trap on @code{DEBUG} and @code{RETURN} are inherited by shell "
- "functions, command substitutions, and commands executed in a subshell "
- "environment. The @code{DEBUG} and @code{RETURN} traps are normally not "
- "inherited in such cases."
- msgstr ""
- #. type: item
- #: bashref.texi:4934 bashref.texi:6309
- #, no-wrap
- msgid "--"
- msgstr ""
- #. type: table
- #: bashref.texi:4938
- msgid ""
- "If no arguments follow this option, then the positional parameters are "
- "unset. Otherwise, the positional parameters are set to the @var{arguments}, "
- "even if some of them begin with a @samp{-}."
- msgstr ""
- #. type: table
- #: bashref.texi:4944
- msgid ""
- "Signal the end of options, cause all remaining @var{arguments} to be "
- "assigned to the positional parameters. The @option{-x} and @option{-v} "
- "options are turned off. If there are no arguments, the positional "
- "parameters remain unchanged."
- msgstr ""
- #. type: table
- #: bashref.texi:4949
- msgid ""
- "Using @samp{+} rather than @samp{-} causes these options to be turned off. "
- "The options can also be used upon invocation of the shell. The current set "
- "of options may be found in @code{$-}."
- msgstr ""
- #. type: table
- #: bashref.texi:4953
- msgid ""
- "The remaining N @var{arguments} are positional parameters and are assigned, "
- "in order, to @code{$1}, @code{$2}, @dots{} @code{$N}. The special parameter "
- "@code{#} is set to N."
- msgstr ""
- #. type: table
- #: bashref.texi:4955
- msgid "The return status is always zero unless an invalid option is supplied."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:4961
- msgid "This builtin allows you to change additional shell optional behavior."
- msgstr ""
- #. type: btindex
- #: bashref.texi:4964 bashref.texi:4965
- #, no-wrap
- msgid "shopt"
- msgstr ""
- #. type: example
- #: bashref.texi:4968
- #, no-wrap
- msgid "shopt [-pqsu] [-o] [@var{optname} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:4979
- msgid ""
- "Toggle the values of settings controlling optional shell behavior. The "
- "settings can be either those listed below, or, if the @option{-o} option is "
- "used, those available with the @option{-o} option to the @code{set} builtin "
- "command (@pxref{The Set Builtin}). With no options, or with the @option{-p} "
- "option, a list of all settable options is displayed, with an indication of "
- "whether or not each is set. The @option{-p} option causes output to be "
- "displayed in a form that may be reused as input. Other options have the "
- "following meanings:"
- msgstr ""
- #. type: table
- #: bashref.texi:4983
- msgid "Enable (set) each @var{optname}."
- msgstr ""
- #. type: table
- #: bashref.texi:4986
- msgid "Disable (unset) each @var{optname}."
- msgstr ""
- #. type: table
- #: bashref.texi:4993
- msgid ""
- "Suppresses normal output; the return status indicates whether the "
- "@var{optname} is set or unset. If multiple @var{optname} arguments are "
- "given with @option{-q}, the return status is zero if all @var{optnames} are "
- "enabled; non-zero otherwise."
- msgstr ""
- #. type: item
- #: bashref.texi:4994
- #, no-wrap
- msgid "-o"
- msgstr ""
- #. type: table
- #: bashref.texi:4998
- msgid ""
- "Restricts the values of @var{optname} to be those defined for the @option{-"
- "o} option to the @code{set} builtin (@pxref{The Set Builtin})."
- msgstr ""
- #. type: table
- #: bashref.texi:5003
- msgid ""
- "If either @option{-s} or @option{-u} is used with no @var{optname} "
- "arguments, @code{shopt} shows only those options which are set or unset, "
- "respectively."
- msgstr ""
- #. type: table
- #: bashref.texi:5006
- msgid ""
- "Unless otherwise noted, the @code{shopt} options are disabled (off) by "
- "default."
- msgstr ""
- #. type: table
- #: bashref.texi:5011 bashref.texi:5344
- msgid ""
- "The return status when listing options is zero if all @var{optnames} are "
- "enabled, non-zero otherwise. When setting or unsetting options, the return "
- "status is zero unless an @var{optname} is not a valid shell option."
- msgstr ""
- #. type: table
- #: bashref.texi:5013
- msgid "The list of @code{shopt} options is:"
- msgstr ""
- #. type: item
- #: bashref.texi:5015
- #, no-wrap
- msgid "autocd"
- msgstr ""
- #. type: table
- #: bashref.texi:5019
- msgid ""
- "If set, a command name that is the name of a directory is executed as if it "
- "were the argument to the @code{cd} command. This option is only used by "
- "interactive shells."
- msgstr ""
- #. type: item
- #: bashref.texi:5020
- #, no-wrap
- msgid "cdable_vars"
- msgstr ""
- #. type: table
- #: bashref.texi:5024
- msgid ""
- "If this is set, an argument to the @code{cd} builtin command that is not a "
- "directory is assumed to be the name of a variable whose value is the "
- "directory to change to."
- msgstr ""
- #. type: item
- #: bashref.texi:5025
- #, no-wrap
- msgid "cdspell"
- msgstr ""
- #. type: table
- #: bashref.texi:5033
- msgid ""
- "If set, minor errors in the spelling of a directory component in a @code{cd} "
- "command will be corrected. The errors checked for are transposed "
- "characters, a missing character, and a character too many. If a correction "
- "is found, the corrected path is printed, and the command proceeds. This "
- "option is only used by interactive shells."
- msgstr ""
- #. type: item
- #: bashref.texi:5034
- #, no-wrap
- msgid "checkhash"
- msgstr ""
- #. type: table
- #: bashref.texi:5038
- msgid ""
- "If this is set, Bash checks that a command found in the hash table exists "
- "before trying to execute it. If a hashed command no longer exists, a normal "
- "path search is performed."
- msgstr ""
- #. type: item
- #: bashref.texi:5039
- #, no-wrap
- msgid "checkjobs"
- msgstr ""
- #. type: table
- #: bashref.texi:5045
- msgid ""
- "If set, Bash lists the status of any stopped and running jobs before exiting "
- "an interactive shell. If any jobs are running, this causes the exit to be "
- "deferred until a second exit is attempted without an intervening command "
- "(@pxref{Job Control}). The shell always postpones exiting if any jobs are "
- "stopped."
- msgstr ""
- #. type: item
- #: bashref.texi:5046
- #, no-wrap
- msgid "checkwinsize"
- msgstr ""
- #. type: table
- #: bashref.texi:5050
- msgid ""
- "If set, Bash checks the window size after each command and, if necessary, "
- "updates the values of @env{LINES} and @env{COLUMNS}."
- msgstr ""
- #. type: item
- #: bashref.texi:5051
- #, no-wrap
- msgid "cmdhist"
- msgstr ""
- #. type: table
- #: bashref.texi:5056
- msgid ""
- "If set, Bash attempts to save all lines of a multiple-line command in the "
- "same history entry. This allows easy re-editing of multi-line commands."
- msgstr ""
- #. type: item
- #: bashref.texi:5057
- #, no-wrap
- msgid "compat31"
- msgstr ""
- #. type: table
- #: bashref.texi:5066
- msgid ""
- "If set, Bash changes its behavior to that of version 3.1 with respect to "
- "quoted arguments to the conditional command's @samp{=~} operator and with "
- "respect to locale-specific string comparison when using the @code{[[} "
- "conditional command's @samp{<} and @samp{>} operators. Bash versions prior "
- "to bash-4.1 use ASCII collation and strcmp(3); bash-4.1 and later use the "
- "current locale's collation sequence and strcoll(3)."
- msgstr ""
- #. type: item
- #: bashref.texi:5067
- #, no-wrap
- msgid "compat32"
- msgstr ""
- #. type: table
- #: bashref.texi:5075
- msgid ""
- "If set, Bash changes its behavior to that of version 3.2 with respect to "
- "locale-specific string comparison when using the @code{[[} conditional "
- "command's @samp{<} and @samp{>} operators (see previous item) and the "
- "effect of interrupting a command list. Bash versions 3.2 and earlier "
- "continue with the next command in the list after one terminates due to an "
- "interrupt."
- msgstr ""
- #. type: item
- #: bashref.texi:5076
- #, no-wrap
- msgid "compat40"
- msgstr ""
- #. type: table
- #: bashref.texi:5085
- msgid ""
- "If set, Bash changes its behavior to that of version 4.0 with respect to "
- "locale-specific string comparison when using the @code{[[} conditional "
- "command's @samp{<} and @samp{>} operators (see description of "
- "@code{compat31}) and the effect of interrupting a command list. Bash "
- "versions 4.0 and later interrupt the list as if the shell received the "
- "interrupt; previous versions continue with the next command in the list."
- msgstr ""
- #. type: item
- #: bashref.texi:5086
- #, no-wrap
- msgid "compat41"
- msgstr ""
- #. type: table
- #: bashref.texi:5092
- msgid ""
- "If set, Bash, when in @sc{posix} mode, treats a single quote in a double-"
- "quoted parameter expansion as a special character. The single quotes must "
- "match (an even number) and the characters between the single quotes are "
- "considered quoted. This is the behavior of @sc{posix} mode through version "
- "4.1. The default Bash behavior remains as in previous versions."
- msgstr ""
- #. type: item
- #: bashref.texi:5093
- #, no-wrap
- msgid "compat42"
- msgstr ""
- #. type: table
- #: bashref.texi:5097
- msgid ""
- "If set, Bash does not process the replacement string in the pattern "
- "substitution word expansion using quote removal."
- msgstr ""
- #. type: item
- #: bashref.texi:5098
- #, no-wrap
- msgid "compat43"
- msgstr ""
- #. type: table
- #: bashref.texi:5108
- msgid ""
- "If set, Bash does not print a warning message if an attempt is made to use a "
- "quoted compound array assignment as an argument to @code{declare}, makes "
- "word expansion errors non-fatal errors that cause the current command to "
- "fail (the default behavior is to make them fatal errors that cause the shell "
- "to exit), and does not reset the loop state when a shell function is "
- "executed (this allows @code{break} or @code{continue} in a shell function to "
- "affect loops in the caller's context)."
- msgstr ""
- #. type: item
- #: bashref.texi:5109
- #, no-wrap
- msgid "complete_fullquote"
- msgstr ""
- #. type: table
- #: bashref.texi:5125
- msgid ""
- "If set, Bash quotes all shell metacharacters in filenames and directory "
- "names when performing completion. If not set, Bash removes metacharacters "
- "such as the dollar sign from the set of characters that will be quoted in "
- "completed filenames when these metacharacters appear in shell variable "
- "references in words to be completed. This means that dollar signs in "
- "variable names that expand to directories will not be quoted; however, any "
- "dollar signs appearing in filenames will not be quoted, either. This is "
- "active only when bash is using backslashes to quote completed filenames. "
- "This variable is set by default, which is the default Bash behavior in "
- "versions through 4.2."
- msgstr ""
- #. type: item
- #: bashref.texi:5126
- #, no-wrap
- msgid "direxpand"
- msgstr ""
- #. type: table
- #: bashref.texi:5132
- msgid ""
- "If set, Bash replaces directory names with the results of word expansion "
- "when performing filename completion. This changes the contents of the "
- "readline editing buffer. If not set, Bash attempts to preserve what the "
- "user typed."
- msgstr ""
- #. type: item
- #: bashref.texi:5133
- #, no-wrap
- msgid "dirspell"
- msgstr ""
- #. type: table
- #: bashref.texi:5137
- msgid ""
- "If set, Bash attempts spelling correction on directory names during word "
- "completion if the directory name initially supplied does not exist."
- msgstr ""
- #. type: item
- #: bashref.texi:5138
- #, no-wrap
- msgid "dotglob"
- msgstr ""
- #. type: table
- #: bashref.texi:5141
- msgid ""
- "If set, Bash includes filenames beginning with a `.' in the results of "
- "filename expansion."
- msgstr ""
- #. type: item
- #: bashref.texi:5142
- #, no-wrap
- msgid "execfail"
- msgstr ""
- #. type: table
- #: bashref.texi:5147
- msgid ""
- "If this is set, a non-interactive shell will not exit if it cannot execute "
- "the file specified as an argument to the @code{exec} builtin command. An "
- "interactive shell does not exit if @code{exec} fails."
- msgstr ""
- #. type: item
- #: bashref.texi:5148
- #, no-wrap
- msgid "expand_aliases"
- msgstr ""
- #. type: table
- #: bashref.texi:5152
- msgid ""
- "If set, aliases are expanded as described below under Aliases, "
- "@ref{Aliases}. This option is enabled by default for interactive shells."
- msgstr ""
- #. type: item
- #: bashref.texi:5153
- #, no-wrap
- msgid "extdebug"
- msgstr ""
- #. type: table
- #: bashref.texi:5157
- msgid ""
- "If set at shell invocation, arrange to execute the debugger profile before "
- "the shell starts, identical to the @option{--debugger} option. If set after "
- "invocation, behavior intended for use by debuggers is enabled:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5163
- msgid ""
- "The @option{-F} option to the @code{declare} builtin (@pxref{Bash "
- "Builtins}) displays the source file name and line number corresponding to "
- "each function name supplied as an argument."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5167
- msgid ""
- "If the command run by the @code{DEBUG} trap returns a non-zero value, the "
- "next command is skipped and not executed."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5173
- msgid ""
- "If the command run by the @code{DEBUG} trap returns a value of 2, and the "
- "shell is executing in a subroutine (a shell function or a shell script "
- "executed by the @code{.} or @code{source} builtins), the shell simulates a "
- "call to @code{return}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5177
- msgid ""
- "@code{BASH_ARGC} and @code{BASH_ARGV} are updated as described in their "
- "descriptions (@pxref{Bash Variables})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5182
- msgid ""
- "Function tracing is enabled: command substitution, shell functions, and "
- "subshells invoked with @code{( @var{command} )} inherit the @code{DEBUG} and "
- "@code{RETURN} traps."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5187
- msgid ""
- "Error tracing is enabled: command substitution, shell functions, and "
- "subshells invoked with @code{( @var{command} )} inherit the @code{ERR} trap."
- msgstr ""
- #. type: item
- #: bashref.texi:5189
- #, no-wrap
- msgid "extglob"
- msgstr ""
- #. type: table
- #: bashref.texi:5192
- msgid ""
- "If set, the extended pattern matching features described above "
- "(@pxref{Pattern Matching}) are enabled."
- msgstr ""
- #. type: item
- #: bashref.texi:5193
- #, no-wrap
- msgid "extquote"
- msgstr ""
- #. type: table
- #: bashref.texi:5197
- msgid ""
- "If set, @code{$'@var{string}'} and @code{$\"@var{string}\"} quoting is "
- "performed within @code{$@{@var{parameter}@}} expansions enclosed in double "
- "quotes. This option is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5198
- #, no-wrap
- msgid "failglob"
- msgstr ""
- #. type: table
- #: bashref.texi:5201
- msgid ""
- "If set, patterns which fail to match filenames during filename expansion "
- "result in an expansion error."
- msgstr ""
- #. type: item
- #: bashref.texi:5202
- #, no-wrap
- msgid "force_fignore"
- msgstr ""
- #. type: table
- #: bashref.texi:5208
- msgid ""
- "If set, the suffixes specified by the @env{FIGNORE} shell variable cause "
- "words to be ignored when performing word completion even if the ignored "
- "words are the only possible completions. @xref{Bash Variables}, for a "
- "description of @env{FIGNORE}. This option is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5209
- #, no-wrap
- msgid "globasciiranges"
- msgstr ""
- #. type: table
- #: bashref.texi:5217
- msgid ""
- "If set, range expressions used in pattern matching bracket expressions "
- "(@pxref{Pattern Matching}) behave as if in the traditional C locale when "
- "performing comparisons. That is, the current locale's collating sequence is "
- "not taken into account, so @samp{b} will not collate between @samp{A} and "
- "@samp{B}, and upper-case and lower-case ASCII characters will collate "
- "together."
- msgstr ""
- #. type: item
- #: bashref.texi:5218
- #, no-wrap
- msgid "globstar"
- msgstr ""
- #. type: table
- #: bashref.texi:5223
- msgid ""
- "If set, the pattern @samp{**} used in a filename expansion context will "
- "match all files and zero or more directories and subdirectories. If the "
- "pattern is followed by a @samp{/}, only directories and subdirectories match."
- msgstr ""
- #. type: item
- #: bashref.texi:5224
- #, no-wrap
- msgid "gnu_errfmt"
- msgstr ""
- #. type: table
- #: bashref.texi:5227
- msgid ""
- "If set, shell error messages are written in the standard @sc{gnu} error "
- "message format."
- msgstr ""
- #. type: item
- #: bashref.texi:5228
- #, no-wrap
- msgid "histappend"
- msgstr ""
- #. type: table
- #: bashref.texi:5232
- msgid ""
- "If set, the history list is appended to the file named by the value of the "
- "@env{HISTFILE} variable when the shell exits, rather than overwriting the "
- "file."
- msgstr ""
- #. type: item
- #: bashref.texi:5233
- #, no-wrap
- msgid "histreedit"
- msgstr ""
- #. type: table
- #: bashref.texi:5237
- msgid ""
- "If set, and Readline is being used, a user is given the opportunity to re-"
- "edit a failed history substitution."
- msgstr ""
- #. type: item
- #: bashref.texi:5238
- #, no-wrap
- msgid "histverify"
- msgstr ""
- #. type: table
- #: bashref.texi:5243
- msgid ""
- "If set, and Readline is being used, the results of history substitution are "
- "not immediately passed to the shell parser. Instead, the resulting line is "
- "loaded into the Readline editing buffer, allowing further modification."
- msgstr ""
- #. type: item
- #: bashref.texi:5244
- #, no-wrap
- msgid "hostcomplete"
- msgstr ""
- #. type: table
- #: bashref.texi:5249
- msgid ""
- "If set, and Readline is being used, Bash will attempt to perform hostname "
- "completion when a word containing a @samp{@@} is being completed "
- "(@pxref{Commands For Completion}). This option is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5250
- #, no-wrap
- msgid "huponexit"
- msgstr ""
- #. type: table
- #: bashref.texi:5253
- msgid ""
- "If set, Bash will send @code{SIGHUP} to all jobs when an interactive login "
- "shell exits (@pxref{Signals})."
- msgstr ""
- #. type: item
- #: bashref.texi:5254
- #, no-wrap
- msgid "inherit_errexit"
- msgstr ""
- #. type: table
- #: bashref.texi:5258
- msgid ""
- "If set, command substitution inherits the value of the @code{errexit} "
- "option, instead of unsetting it in the subshell environment. This option is "
- "enabled when @sc{posix} mode is enabled."
- msgstr ""
- #. type: item
- #: bashref.texi:5259
- #, no-wrap
- msgid "interactive_comments"
- msgstr ""
- #. type: table
- #: bashref.texi:5264
- msgid ""
- "Allow a word beginning with @samp{#} to cause that word and all remaining "
- "characters on that line to be ignored in an interactive shell. This option "
- "is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5265
- #, no-wrap
- msgid "lastpipe"
- msgstr ""
- #. type: table
- #: bashref.texi:5268
- msgid ""
- "If set, and job control is not active, the shell runs the last command of a "
- "pipeline not executed in the background in the current shell environment."
- msgstr ""
- #. type: item
- #: bashref.texi:5269
- #, no-wrap
- msgid "lithist"
- msgstr ""
- #. type: table
- #: bashref.texi:5273
- msgid ""
- "If enabled, and the @code{cmdhist} option is enabled, multi-line commands "
- "are saved to the history with embedded newlines rather than using semicolon "
- "separators where possible."
- msgstr ""
- #. type: item
- #: bashref.texi:5274
- #, no-wrap
- msgid "login_shell"
- msgstr ""
- #. type: table
- #: bashref.texi:5278
- msgid ""
- "The shell sets this option if it is started as a login shell "
- "(@pxref{Invoking Bash}). The value may not be changed."
- msgstr ""
- #. type: item
- #: bashref.texi:5279
- #, no-wrap
- msgid "mailwarn"
- msgstr ""
- #. type: table
- #: bashref.texi:5283
- msgid ""
- "If set, and a file that Bash is checking for mail has been accessed since "
- "the last time it was checked, the message @code{\"The mail in @var{mailfile} "
- "has been read\"} is displayed."
- msgstr ""
- #. type: item
- #: bashref.texi:5284
- #, no-wrap
- msgid "no_empty_cmd_completion"
- msgstr ""
- #. type: table
- #: bashref.texi:5288
- msgid ""
- "If set, and Readline is being used, Bash will not attempt to search the "
- "@env{PATH} for possible completions when completion is attempted on an empty "
- "line."
- msgstr ""
- #. type: item
- #: bashref.texi:5289
- #, no-wrap
- msgid "nocaseglob"
- msgstr ""
- #. type: table
- #: bashref.texi:5292
- msgid ""
- "If set, Bash matches filenames in a case-insensitive fashion when performing "
- "filename expansion."
- msgstr ""
- #. type: item
- #: bashref.texi:5293
- #, no-wrap
- msgid "nocasematch"
- msgstr ""
- #. type: table
- #: bashref.texi:5299
- msgid ""
- "If set, Bash matches patterns in a case-insensitive fashion when performing "
- "matching while executing @code{case} or @code{[[} conditional commands, when "
- "performing pattern substitution word expansions, or when filtering possible "
- "completions as part of programmable completion."
- msgstr ""
- #. type: item
- #: bashref.texi:5300
- #, no-wrap
- msgid "nullglob"
- msgstr ""
- #. type: table
- #: bashref.texi:5303
- msgid ""
- "If set, Bash allows filename patterns which match no files to expand to a "
- "null string, rather than themselves."
- msgstr ""
- #. type: item
- #: bashref.texi:5304
- #, no-wrap
- msgid "progcomp"
- msgstr ""
- #. type: table
- #: bashref.texi:5308
- msgid ""
- "If set, the programmable completion facilities (@pxref{Programmable "
- "Completion}) are enabled. This option is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5309
- #, no-wrap
- msgid "promptvars"
- msgstr ""
- #. type: table
- #: bashref.texi:5315
- msgid ""
- "If set, prompt strings undergo parameter expansion, command substitution, "
- "arithmetic expansion, and quote removal after being expanded as described "
- "below (@pxref{Controlling the Prompt}). This option is enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5316
- #, no-wrap
- msgid "restricted_shell"
- msgstr ""
- #. type: table
- #: bashref.texi:5322
- msgid ""
- "The shell sets this option if it is started in restricted mode (@pxref{The "
- "Restricted Shell}). The value may not be changed. This is not reset when "
- "the startup files are executed, allowing the startup files to discover "
- "whether or not a shell is restricted."
- msgstr ""
- #. type: item
- #: bashref.texi:5323
- #, no-wrap
- msgid "shift_verbose"
- msgstr ""
- #. type: table
- #: bashref.texi:5327
- msgid ""
- "If this is set, the @code{shift} builtin prints an error message when the "
- "shift count exceeds the number of positional parameters."
- msgstr ""
- #. type: item
- #: bashref.texi:5328
- #, no-wrap
- msgid "sourcepath"
- msgstr ""
- #. type: table
- #: bashref.texi:5332
- msgid ""
- "If set, the @code{source} builtin uses the value of @env{PATH} to find the "
- "directory containing the file supplied as an argument. This option is "
- "enabled by default."
- msgstr ""
- #. type: item
- #: bashref.texi:5333
- #, no-wrap
- msgid "xpg_echo"
- msgstr ""
- #. type: table
- #: bashref.texi:5336
- msgid ""
- "If set, the @code{echo} builtin expands backslash-escape sequences by "
- "default."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5354
- msgid ""
- "For historical reasons, the @sc{posix} standard has classified several "
- "builtin commands as @emph{special}. When Bash is executing in @sc{posix} "
- "mode, the special builtins differ from other builtin commands in three "
- "respects:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5358
- msgid ""
- "Special builtins are found before shell functions during command lookup."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5361
- msgid ""
- "If a special builtin returns an error status, a non-interactive shell exits."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:5365
- msgid ""
- "Assignment statements preceding the command stay in effect in the shell "
- "environment after the command completes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5370
- msgid ""
- "When Bash is not executing in @sc{posix} mode, these builtins behave no "
- "differently than the rest of the Bash builtin commands. The Bash @sc{posix} "
- "mode is described in @ref{Bash POSIX Mode}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5372
- msgid "These are the @sc{posix} special builtins:"
- msgstr ""
- #. type: example
- #: bashref.texi:5375
- #, no-wrap
- msgid ""
- "@w{break : . continue eval exec exit export readonly return set}\n"
- "@w{shift trap unset}\n"
- msgstr ""
- #. type: section
- #: bashref.texi:5384 bashref.texi:5389 bashref.texi:5390
- #, no-wrap
- msgid "Bourne Shell Variables"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:5384
- msgid "Variables which Bash uses in the same way as the Bourne Shell."
- msgstr ""
- #. type: section
- #: bashref.texi:5384 bashref.texi:5450 bashref.texi:5451
- #, no-wrap
- msgid "Bash Variables"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:5384
- msgid "List of variables that exist in Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5388
- msgid ""
- "This chapter describes the shell variables that Bash uses. Bash "
- "automatically assigns default values to a number of variables."
- msgstr "Este capítulo describe las variables del intérprete que Bash utiliza. Bash asigna automáticamente valores por defecto a cierto número de variables."
- #. type: Plain text
- #: bashref.texi:5394
- msgid ""
- "Bash uses certain shell variables in the same way as the Bourne shell. In "
- "some cases, Bash assigns a default value to the variable."
- msgstr "Bash utiliza cierto número de variables de intérprete del mismo modo que el intérprete Bourne. En algunos casos, Bash asigna un valor por defecto a la variable."
- #. type: item
- #: bashref.texi:5397
- #, no-wrap
- msgid "CDPATH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5400
- msgid ""
- "A colon-separated list of directories used as a search path for the "
- "@code{cd} builtin command."
- msgstr "Una lista separada por dos puntos de los directorios usados como ruta de busqueda de la orden integrada @code{cd}."
- #. type: item
- #: bashref.texi:5401
- #, no-wrap
- msgid "HOME"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5406
- msgid ""
- "The current user's home directory; the default for the @code{cd} builtin "
- "command. The value of this variable is also used by tilde expansion "
- "(@pxref{Tilde Expansion})."
- msgstr "El directorio home del usuario actual; el valor por defecto para la orden integrada @code{cd}. El valor de esta variable también es usado por la expansión de tilde. (@pxref{Tilde Expansion})."
- #. type: item
- #: bashref.texi:5407
- #, no-wrap
- msgid "IFS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5410
- msgid ""
- "A list of characters that separate fields; used when the shell splits words "
- "as part of expansion."
- msgstr "Una lista de caracteres que separan campos; usado cuanto el intérprete separa palabras como parte de la expansión."
- #. type: item
- #: bashref.texi:5411
- #, no-wrap
- msgid "MAIL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5416
- msgid ""
- "If this parameter is set to a filename or directory name and the "
- "@env{MAILPATH} variable is not set, Bash informs the user of the arrival of "
- "mail in the specified file or Maildir-format directory."
- msgstr "Si este parámetro es asignado a un nombre de archivo o directorio y la variable @env{MAILPATH} no fue asignada, Bash informa al usuario de la llegada de correo in archivo especificado o en el directorio de formato Maildir."
- #. type: item
- #: bashref.texi:5417
- #, no-wrap
- msgid "MAILPATH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5425
- msgid ""
- "A colon-separated list of filenames which the shell periodically checks for "
- "new mail. Each list entry can specify the message that is printed when new "
- "mail arrives in the mail file by separating the filename from the message "
- "with a @samp{?}. When used in the text of the message, @code{$_} expands to "
- "the name of the current mail file."
- msgstr "Una lista de nombres de archivo separadas por dos puntos que el intérprete revisa periodicamente buscando correo nuevo. Cada entrada de la lista especifica el mensaje que será mostrado cuando llegue nuevo correo en el archivo de correo separando el nombre de archivo del mensaje con un @samp{?}. Cuando es usado en el texto del mensaje, @code{$_} se expande al nombre del archivo de correo actual."
- #. type: item
- #: bashref.texi:5426
- #, no-wrap
- msgid "OPTARG"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5428
- msgid ""
- "The value of the last option argument processed by the @code{getopts} "
- "builtin."
- msgstr "El valor del último parámetro de opción procesado por el integrado @code{getopts}."
- #. type: item
- #: bashref.texi:5429
- #, no-wrap
- msgid "OPTIND"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5431
- msgid ""
- "The index of the last option argument processed by the @code{getopts} "
- "builtin."
- msgstr "El índice del último parámetro de opción procesado por el integrado @code{getopts}."
- #. type: item
- #: bashref.texi:5432
- #, no-wrap
- msgid "PATH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5439
- msgid ""
- "A colon-separated list of directories in which the shell looks for "
- "commands. A zero-length (null) directory name in the value of @code{PATH} "
- "indicates the current directory. A null directory name may appear as two "
- "adjacent colons, or as an initial or trailing colon."
- msgstr "Una lista de directorios separados por dos puntos en lo cuales el intérprete busca ordenes. Un nombre de directorio de tamaño cero (null) en el valor de @code{PATH} indica el directorio actual. Un nombre de directorio nulo puede aparecer como un par de dos puntos adyacentes, o como dos puntos iniciales o finales."
- #. type: item
- #: bashref.texi:5440
- #, no-wrap
- msgid "PS1"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5444
- msgid ""
- "The primary prompt string. The default value is @samp{\\s-\\v\\$ }. "
- "@xref{Controlling the Prompt}, for the complete list of escape sequences "
- "that are expanded before @env{PS1} is displayed."
- msgstr "La cadena primaria del prompt. El valor por defecto es @samp{\\s-\\v\\$ }. @xref{Controlling the Prompt}, para una lista completa de las secuencias de escape que son expandidas antes de que @code{PS1} sea mostrado."
- #. type: item
- #: bashref.texi:5445
- #, no-wrap
- msgid "PS2"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5447
- msgid "The secondary prompt string. The default value is @samp{> }."
- msgstr "La cadena secundaria del prompt. El valor por defecto es @samp{> }."
- #. type: Plain text
- #: bashref.texi:5455
- msgid ""
- "These variables are set or used by Bash, but other shells do not normally "
- "treat them specially."
- msgstr "Estas variables son asignadas o usadas por Bash, pero otros intérpretes no lo hacen normalmente."
- #. type: Plain text
- #: bashref.texi:5459
- msgid ""
- "A few variables used by Bash are described in different chapters: variables "
- "for controlling the job control facilities (@pxref{Job Control Variables})."
- msgstr "Algunas variables usadas por Bash son descritas en diferentes capítulos: variables para controlar las capacidades del control de tareas (@pxred{Job Control Variables})."
- #. type: item
- #: bashref.texi:5462
- #, no-wrap
- msgid "BASH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5464
- msgid "The full pathname used to execute the current instance of Bash."
- msgstr "La ruta completa usada para ejecutar la instancia actual de Bash."
- #. type: item
- #: bashref.texi:5465
- #, no-wrap
- msgid "BASHOPTS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5474
- msgid ""
- "A colon-separated list of enabled shell options. Each word in the list is a "
- "valid argument for the @option{-s} option to the @code{shopt} builtin "
- "command (@pxref{The Shopt Builtin}). The options appearing in "
- "@env{BASHOPTS} are those reported as @samp{on} by @samp{shopt}. If this "
- "variable is in the environment when Bash starts up, each shell option in the "
- "list will be enabled before reading any startup files. This variable is "
- "readonly."
- msgstr "Una lista de las opciones activas en el intérprete separadas por dos puntos. Cada palabra en la lista es un parámetro válido para la opción @option{-s} en la orden integrada @code{shopt} (@pxref{The Shipt Builtin}). Las opciones que aparecen en @env{BASHOPTS} son aquellos reportados como @samp{on} por @samp{shopt}. Si esta variables esta en el entorno cuando Bash inicia, cada opción del intérprete en la lista será habilitada antes de leer cualquier archivo de inicio. Esta variable es de solo lectura."
- #. type: item
- #: bashref.texi:5475
- #, no-wrap
- msgid "BASHPID"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5479
- msgid ""
- "Expands to the process ID of the current Bash process. This differs from "
- "@code{$$} under certain circumstances, such as subshells that do not require "
- "Bash to be re-initialized."
- msgstr "Se expande al ID del proceso actual de Bash. Esto difiere de @code{$$} bajo ciertas circunstancias, como los sub-intépretes que no requieren que Bash sea reinicializado."
- #. type: item
- #: bashref.texi:5480
- #, no-wrap
- msgid "BASH_ALIASES"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5490
- msgid ""
- "An associative array variable whose members correspond to the internal list "
- "of aliases as maintained by the @code{alias} builtin. (@pxref{Bourne Shell "
- "Builtins}). Elements added to this array appear in the alias list; however, "
- "unsetting array elements currently does not cause aliases to be removed from "
- "the alias list. If @code{BASH_ALIASES} is unset, it loses its special "
- "properties, even if it is subsequently reset."
- msgstr "Una variable de arreglo asociativo cuyos miembros corresponden a la lista interna de alias como son mantenidas por el integrado @code{alias}. (@pxref{Bourne Shell Builtins}). Los elementos agregados a este arreglo aparecen en la lista de alias; sin embargo, elementos del arreglo no-fijados no ocasionan que los alias sean removidos de la lista de alias. Si @code{BASH_ALIASES} es no-fijado, pieder sus propiedades especiales, incluso si es subsecuentemente reiniciado."
- #. type: item
- #: bashref.texi:5491
- #, no-wrap
- msgid "BASH_ARGC"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5502
- msgid ""
- "An array variable whose values are the number of parameters in each frame of "
- "the current bash execution call stack. The number of parameters to the "
- "current subroutine (shell function or script executed with @code{.} or "
- "@code{source}) is at the top of the stack. When a subroutine is executed, "
- "the number of parameters passed is pushed onto @code{BASH_ARGC}. The shell "
- "sets @code{BASH_ARGC} only when in extended debugging mode (see @ref{The "
- "Shopt Builtin} for a description of the @code{extdebug} option to the "
- "@code{shopt} builtin)."
- msgstr "Una variable de arreglo cuyos valores son el número de parámetros en cada cuadro de la pila de llamadas de ejecución actual de Bash. El número de parámetros de la subrutina actual (función del intérprete o script ejecutado con @code{.} o @code{source}) está al tope se la pila. Cuando una subrutina es ejecutada, el número de parámetros pasados es llevado a @code{BASH_ARGC}. El intérprete asigna @code{BASH_ARGC} solo cuando esta en modo extendido de depuración (ver @ref{The Shopt Bultin}) para una descripción desde la opción @code{extdebug} a el integrado @code{shopt})."
- #. type: item
- #: bashref.texi:5503
- #, no-wrap
- msgid "BASH_ARGV"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5513
- msgid ""
- "An array variable containing all of the parameters in the current bash "
- "execution call stack. The final parameter of the last subroutine call is at "
- "the top of the stack; the first parameter of the initial call is at the "
- "bottom. When a subroutine is executed, the parameters supplied are pushed "
- "onto @code{BASH_ARGV}. The shell sets @code{BASH_ARGV} only when in "
- "extended debugging mode (see @ref{The Shopt Builtin} for a description of "
- "the @code{extdebug} option to the @code{shopt} builtin)."
- msgstr "Una variable de arreglo que continene todos los parámetros de la pila actual de llamadas de ejecución de Bash. El parámetro final de la última llamada de subrutina esta hasta el tope de la pila; el primer parámetro de la llamada inicial esta al fondo. Cuando una subrutina es ejecutada, los parámetros proporcionados son llevados hacia @code{BASH_ARGV}. El intérprete asigna @code{BASH_ARGV} solo cuando esta en modo de depuración extendida (ver @red{The Shopt Builtin} para una descrición desde la ocpión @code{extdebug} hasta el integrado @code{shopt})."
- #. type: item
- #: bashref.texi:5514
- #, no-wrap
- msgid "BASH_CMDS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5524
- msgid ""
- "An associative array variable whose members correspond to the internal hash "
- "table of commands as maintained by the @code{hash} builtin (@pxref{Bourne "
- "Shell Builtins}). Elements added to this array appear in the hash table; "
- "however, unsetting array elements currently does not cause command names to "
- "be removed from the hash table. If @code{BASH_CMDS} is unset, it loses its "
- "special properties, even if it is subsequently reset."
- msgstr "Una variable de arreglo asociativa cuyos miembros corresponden a la matríz asociativa de ordenes como es mantenida por el integrado @code{hash} (@pxref{Bourne Shell Builtins}). Los elementos agregados a este arreglo aparecen en la matríz asociativa; sin embargo, no fijando elementos del arreglo actualmente no ocasiona que los nombres de ordenes sean removidos de la matríz asociativa, Si @code{BASH_CMDS} es no fijado, pierde sus propiedades especiales, incluso si es subsecuentemente reiniciado."
- #. type: item
- #: bashref.texi:5525
- #, no-wrap
- msgid "BASH_COMMAND"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5529
- msgid ""
- "The command currently being executed or about to be executed, unless the "
- "shell is executing a command as the result of a trap, in which case it is "
- "the command executing at the time of the trap."
- msgstr "La orden que está siendo ejecutada o proxima de serlo, a menos que el intérprete esté ejecutando una orden como resultado de una trampa, en ese caso es la orden siendo ejecutada al tiempo que los es la trampa."
- #. type: item
- #: bashref.texi:5530
- #, no-wrap
- msgid "BASH_COMPAT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5545
- msgid ""
- "The value is used to set the shell's compatibility level. @xref{The Shopt "
- "Builtin}, for a description of the various compatibility levels and their "
- "effects. The value may be a decimal number (e.g., 4.2) or an integer (e.g., "
- "42) corresponding to the desired compatibility level. If "
- "@code{BASH_COMPAT} is unset or set to the empty string, the compatibility "
- "level is set to the default for the current version. If @code{BASH_COMPAT} "
- "is set to a value that is not one of the valid compatibility levels, the "
- "shell prints an error message and sets the compatibility level to the "
- "default for the current version. The valid compatibility levels correspond "
- "to the compatibility options accepted by the @code{shopt} builtin described "
- "above (for example, @var{compat42} means that 4.2 and 42 are valid values). "
- "The current version is also a valid value."
- msgstr "El valor es usado para asignar el nivel de compatibilñidad del intérprete. @xref{The Shopt Builtin}, para una descripción de los varios niveles de compatibilidad y sus efectos. El valor puede ser un número decimal (por ejemplo, 4.2) o un entero (por ejemplo 42) correspondiendo al nivel de compatibilidad deseado. Si @code{BASH_COMPAT} es no fijado o fijado como la cadena vacía, el nivel de compatibilidad es fijado como el valor por defecto de la versión actual. Si @code{BASH_COMPAT} es fijado como un valor que no se encuentra en los niveles de compatibilidad, el intérprete imprime un mensaje de error y asigna el nivel de compatibilidad al valor por defecto de la versión actual. Los niveles de compatibilidad corresponden a las opciones de compatibilidad aceptadas por el integrado @code{shopt} descrito anteriormente (por ejemplo, @var{compat42} significa que 4.2 y 42 son valores válidos). La versión que se ejecuta es un valor válido."
- #. type: item
- #: bashref.texi:5546
- #, no-wrap
- msgid "BASH_ENV"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5550
- msgid ""
- "If this variable is set when Bash is invoked to execute a shell script, its "
- "value is expanded and used as the name of a startup file to read before "
- "executing the script. @xref{Bash Startup Files}."
- msgstr "Si esta variable es asignada cuando Bash es llamado a ejecutar un script de intérprete, su valor es expandido y usado como el nombre del archivo de inicio a leer antes de ejecutar el script. @xref{Bash Startup Files}."
- #. type: item
- #: bashref.texi:5551
- #, no-wrap
- msgid "BASH_EXECUTION_STRING"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5553
- msgid "The command argument to the @option{-c} invocation option."
- msgstr "El argumento a la opción de llamada @option{-c}."
- #. type: item
- #: bashref.texi:5554
- #, no-wrap
- msgid "BASH_LINENO"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5562
- msgid ""
- "An array variable whose members are the line numbers in source files where "
- "each corresponding member of @var{FUNCNAME} was invoked. "
- "@code{$@{BASH_LINENO[$i]@}} is the line number in the source file "
- "(@code{$@{BASH_SOURCE[$i+1]@}}) where @code{$@{FUNCNAME[$i]@}} was called "
- "(or @code{$@{BASH_LINENO[$i-1]@}} if referenced within another shell "
- "function). Use @code{LINENO} to obtain the current line number."
- msgstr "Una variable de arreglo cuyos miembros es el número de lineas en los archivos fuente donde cada miembro correspondiente de @var{FUNCNAME} fue llamado. @code{$@{BASH_LINENO[$i]@}} es el número de lineas en el archivo fuente (@code{$@{BASH_SOURCE[$i+1]@}}) donde @code{$@{FUNCNAME[$i]@}} fue llamado (o @code{$@{BASH_LINENO[$i-1]@}} si fue referenciado con otra función de intérprete). Use @code{LINENO} para obtener el número de linea actual."
- #. type: item
- #: bashref.texi:5563
- #, no-wrap
- msgid "BASH_LOADABLES_PATH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5567
- msgid ""
- "A colon-separated list of directories in which the shell looks for "
- "dynamically loadable builtins specified by the @code{enable} command."
- msgstr "Una lista separada por dos puntos de los directorios en los cuales el intérprete se busca integrados dinamicamente cargables especificados por la orden @code{enable}."
- #. type: item
- #: bashref.texi:5568
- #, no-wrap
- msgid "BASH_REMATCH"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5577
- msgid ""
- "An array variable whose members are assigned by the @samp{=~} binary "
- "operator to the @code{[[} conditional command (@pxref{Conditional "
- "Constructs}). The element with index 0 is the portion of the string "
- "matching the entire regular expression. The element with index @var{n} is "
- "the portion of the string matching the @var{n}th parenthesized "
- "subexpression. This variable is read-only."
- msgstr "Una variable de arreglo cuyos miembros son asignados por el operador binario @samp{=~} a la orden condicionañ @code{[[} (@pxref{Conditional Constructs}). El elemento con índice 0 es la porción de la cadena que coincide con la expresión regular completa. El elemento con índice @var{n} es la porción de la cadena que coincide con la enécima subexpresión entre paréntesis. Esta variable es de solo lectura."
- #. type: item
- #: bashref.texi:5578
- #, no-wrap
- msgid "BASH_SOURCE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5584
- msgid ""
- "An array variable whose members are the source filenames where the "
- "corresponding shell function names in the @code{FUNCNAME} array variable are "
- "defined. The shell function @code{$@{FUNCNAME[$i]@}} is defined in the file "
- "@code{$@{BASH_SOURCE[$i]@}} and called from @code{$@{BASH_SOURCE[$i+1]@}}"
- msgstr "Una variable de arreglo cuyos miembros son los nombres de los archivos fuente donde los nombres de las funciones de intérprete corresponientes en la variable de arreglo @code{FUNCNAME} están definidos. La función de intérprete @code{$@{FUNCNAME[$i]@}} está definida en el archivo @code{$@{BASH_SOURCE[$i]@}} y es llamada desde @code{$@{BASH_SOURCE[$i+1]@}}."
- #. type: item
- #: bashref.texi:5585
- #, no-wrap
- msgid "BASH_SUBSHELL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5589
- msgid ""
- "Incremented by one within each subshell or subshell environment when the "
- "shell begins executing in that environment. The initial value is 0."
- msgstr "Incrementada en uno con cada subintéprete o entorno de subintérprete cuando el intérprete comienza a ejecutarse en ese entorno. El valor inicial es 0."
- #. type: item
- #: bashref.texi:5590
- #, no-wrap
- msgid "BASH_VERSINFO"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5594
- msgid ""
- "A readonly array variable (@pxref{Arrays}) whose members hold version "
- "information for this instance of Bash. The values assigned to the array "
- "members are as follows:"
- msgstr "Una variable de arreglo de solo lectura (@pxref{Arrays}) cuyos miembros mantienen la información de la versión de la instancia Bash siendo usada. Los valores asignados a los miembros del arreglo son del siguiente modo:"
- #. type: item
- #: bashref.texi:5597
- #, no-wrap
- msgid "BASH_VERSINFO[0]"
- msgstr ""
- #. type: table
- #: bashref.texi:5599
- msgid "The major version number (the @var{release})."
- msgstr "El número de versión principal (el @var{lanzamiento})."
- #. type: item
- #: bashref.texi:5600
- #, no-wrap
- msgid "BASH_VERSINFO[1]"
- msgstr ""
- #. type: table
- #: bashref.texi:5602
- msgid "The minor version number (the @var{version})."
- msgstr "El número de versión secundario (la @var{versión})."
- #. type: item
- #: bashref.texi:5603
- #, no-wrap
- msgid "BASH_VERSINFO[2]"
- msgstr ""
- #. type: table
- #: bashref.texi:5605
- msgid "The patch level."
- msgstr "El nivel del parche."
- #. type: item
- #: bashref.texi:5606
- #, no-wrap
- msgid "BASH_VERSINFO[3]"
- msgstr ""
- #. type: table
- #: bashref.texi:5608
- msgid "The build version."
- msgstr "La versión de la compilación."
- #. type: item
- #: bashref.texi:5609
- #, no-wrap
- msgid "BASH_VERSINFO[4]"
- msgstr ""
- #. type: table
- #: bashref.texi:5611
- msgid "The release status (e.g., @var{beta1})."
- msgstr "El estado del lanzamiento (por ejemplo, beta1)."
- #. type: item
- #: bashref.texi:5612
- #, no-wrap
- msgid "BASH_VERSINFO[5]"
- msgstr ""
- #. type: table
- #: bashref.texi:5614
- msgid "The value of @env{MACHTYPE}."
- msgstr "El valor de @env{MACHTYPE}."
- #. type: item
- #: bashref.texi:5616
- #, no-wrap
- msgid "BASH_VERSION"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5618
- msgid "The version number of the current instance of Bash."
- msgstr "El número de versión de la instancia actual de Bash."
- #. type: item
- #: bashref.texi:5619
- #, no-wrap
- msgid "BASH_XTRACEFD"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5632
- msgid ""
- "If set to an integer corresponding to a valid file descriptor, Bash will "
- "write the trace output generated when @samp{set -x} is enabled to that file "
- "descriptor. This allows tracing output to be separated from diagnostic and "
- "error messages. The file descriptor is closed when @code{BASH_XTRACEFD} is "
- "unset or assigned a new value. Unsetting @code{BASH_XTRACEFD} or assigning "
- "it the empty string causes the trace output to be sent to the standard "
- "error. Note that setting @code{BASH_XTRACEFD} to 2 (the standard error file "
- "descriptor) and then unsetting it will result in the standard error being "
- "closed."
- msgstr "Si es asignado a un entero correspondiente a un descriptor de archivo, Bash escribirá el rastro de la salida generada cuando @samp{set -x} esta activo a ese descriptor de archivo. Esto permite separar el rastro de la salida de los mensajes de diagnóstico y de error. El descriptor de archivo es cerrado cuando @code{BASH_XTRACEFD} es desasignado o un nuevo valor es asigando. Desasignar @code{BASH_XTRACEFD} o asignarle una cadena vacia causa que el rastro de la salida sea mandado al error estándar. Nótese que asignar 2 a @code{BASH_XTRACEFD} (el descriptor de archivo del error estándar) y después desasignarlo resultará en el cierre del error estándar."
- #. type: item
- #: bashref.texi:5633
- #, no-wrap
- msgid "CHILD_MAX"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5639
- msgid ""
- "Set the number of exited child status values for the shell to remember. "
- "Bash will not allow this value to be decreased below a @sc{posix}-mandated "
- "minimum, and there is a maximum value (currently 8192) that this may not "
- "exceed. The minimum value is system-dependent."
- msgstr "Asigna el número de valores de estado subordinados terminados a recordar por el intérprete. Bash no permitirá que este valor sea menor al un mínimo obligado @sc{posix}, y hay un valor máximo (actualmente 8192) que no se puede exceder. El mínimo es dependiente del sistema."
- #. type: item
- #: bashref.texi:5640
- #, no-wrap
- msgid "COLUMNS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5646
- msgid ""
- "Used by the @code{select} command to determine the terminal width when "
- "printing selection lists. Automatically set if the @code{checkwinsize} "
- "option is enabled (@pxref{The Shopt Builtin}), or in an interactive shell "
- "upon receipt of a @code{SIGWINCH}."
- msgstr "Usado por la orden @code{select} para determinar el ancho de la terminal cuando imprima listas de selección. Es asignado automáticamente si la opción @code{checkwinsize} esta activa (@pxref{The Shopt Builtin}), o en un intérprete interactivo tras recibo de un @code{SIGWINCH}."
- #. type: item
- #: bashref.texi:5647
- #, no-wrap
- msgid "COMP_CWORD"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5652
- msgid ""
- "An index into @env{$@{COMP_WORDS@}} of the word containing the current "
- "cursor position. This variable is available only in shell functions invoked "
- "by the programmable completion facilities (@pxref{Programmable Completion})."
- msgstr "Un índice en @env{$@{COMP_WORDS@}} de la palabra que contiene la posición actual del cursor. Esta variable solo está disponible en las funciones del intéprete llamadas por las capacidades de completamiento programable. (@pxref{Programmable Completion})."
- #. type: item
- #: bashref.texi:5653
- #, no-wrap
- msgid "COMP_LINE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5658
- msgid ""
- "The current command line. This variable is available only in shell "
- "functions and external commands invoked by the programmable completion "
- "facilities (@pxref{Programmable Completion})."
- msgstr "La línea de ordenes actual. Esta variable solo está disponible en funciones de intérpete y ordenes externas llamadas por las capacidades de completamiento programable. (@pxref{Programmable Completion})."
- #. type: item
- #: bashref.texi:5659
- #, no-wrap
- msgid "COMP_POINT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5667
- msgid ""
- "The index of the current cursor position relative to the beginning of the "
- "current command. If the current cursor position is at the end of the "
- "current command, the value of this variable is equal to "
- "@code{$@{#COMP_LINE@}}. This variable is available only in shell functions "
- "and external commands invoked by the programmable completion facilities "
- "(@pxref{Programmable Completion})."
- msgstr "El índice de la posición actual del cursor en relación al comienzo de la orden actual. Si la posición actual del cursor está al final de la orden actual, el valor de esta variable es equivalente a @code{$@{#COMP_LINE@}}. Esta variable solo está disponible en funciones de intéprete y ordenes externas llamadas por las capacidades de completamiento programable (@pxref{Programmable Completion})."
- #. type: item
- #: bashref.texi:5668
- #, no-wrap
- msgid "COMP_TYPE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5680
- msgid ""
- "Set to an integer value corresponding to the type of completion attempted "
- "that caused a completion function to be called: @var{TAB}, for normal "
- "completion, @samp{?}, for listing completions after successive tabs, "
- "@samp{!}, for listing alternatives on partial word completion, @samp{@@}, to "
- "list completions if the word is not unmodified, or @samp{%}, for menu "
- "completion. This variable is available only in shell functions and external "
- "commands invoked by the programmable completion facilities "
- "(@pxref{Programmable Completion})."
- msgstr "Asignado a un valor entero correspondiente al tipo de completamiento pretendido que causa que una función de completamiento sea llamada: @var{TAB}, para un completamiento normal, @samp{?}, para listar completamientos después de tabulaciones sucesivas, @samp{!}, para listar alternativas en completamiento parcial de palabras, @samp{@@}, para completamiento. Esta variable está disponible solo en funciones de intérprete y ordenes externas llamadas por las capacidades de completamiento programable (@pxref{Programmable Completion})."
- #. type: item
- #: bashref.texi:5681
- #, no-wrap
- msgid "COMP_KEY"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5684
- msgid ""
- "The key (or final key of a key sequence) used to invoke the current "
- "completion function."
- msgstr "La tecla (o la tecla final de una secuencia de teclas) usada para llamar la función de completamiento actual."
- #. type: item
- #: bashref.texi:5685
- #, no-wrap
- msgid "COMP_WORDBREAKS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5690
- msgid ""
- "The set of characters that the Readline library treats as word separators "
- "when performing word completion. If @code{COMP_WORDBREAKS} is unset, it "
- "loses its special properties, even if it is subsequently reset."
- msgstr "El conjunto de caracteres que la biblioteca Readline tomas como separadores de palabras cuando hace un completamiento de palabra. Si @code{COMP_WORDBREAKS} es desasignado, pierde sus propiedades especiales, incluso si es reiniciado subsecuentemente."
- #. type: item
- #: bashref.texi:5691
- #, no-wrap
- msgid "COMP_WORDS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5698
- msgid ""
- "An array variable consisting of the individual words in the current command "
- "line. The line is split into words as Readline would split it, using "
- "@code{COMP_WORDBREAKS} as described above. This variable is available only "
- "in shell functions invoked by the programmable completion facilities "
- "(@pxref{Programmable Completion})."
- msgstr "Una variable de arreglo consistente en las palabras individuales en la linea de ordenes actual. Esta linea es dividida en palabras como lo haría Readline, usando @code{COMP_WORDBREAKS} como se describío anteriormente. Esta variable solo está disponible en funciones de intérprete llamadas por las capacidades de completamiento programable(@pxref{Programmable Completion})."
- #. type: item
- #: bashref.texi:5699
- #, no-wrap
- msgid "COMPREPLY"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5704
- msgid ""
- "An array variable from which Bash reads the possible completions generated "
- "by a shell function invoked by the programmable completion facility "
- "(@pxref{Programmable Completion}). Each array element contains one possible "
- "completion."
- msgstr "Una variable de arreglo desde la cual Bash lee los completamientos posibles generados por una función de intéprete llamada por la capacidad de completamiento programable(@pxref{Programmable Completion}). Cada elemento del arreglo contiene un completamiento posible."
- #. type: item
- #: bashref.texi:5705
- #, no-wrap
- msgid "COPROC"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5708
- msgid ""
- "An array variable created to hold the file descriptors for output from and "
- "input to an unnamed coprocess (@pxref{Coprocesses})."
- msgstr "Una variable de arreglo creada para mantener los descriptores de archivo para la salida y entrada a un coproceso no nombrado (@pxref{Coprocesses})."
- #. type: item
- #: bashref.texi:5709
- #, no-wrap
- msgid "DIRSTACK"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5719
- msgid ""
- "An array variable containing the current contents of the directory stack. "
- "Directories appear in the stack in the order they are displayed by the "
- "@code{dirs} builtin. Assigning to members of this array variable may be "
- "used to modify directories already in the stack, but the @code{pushd} and "
- "@code{popd} builtins must be used to add and remove directories. Assignment "
- "to this variable will not change the current directory. If @env{DIRSTACK} "
- "is unset, it loses its special properties, even if it is subsequently reset."
- msgstr "Una variable de arreglo que contiene los contenidos actuales de la pila de directorios. Los directorios aparecen en la pila en el orden en que son mostrados por el integrado @code{dirs}. Asignar a lo miembros de esta variable de arreglo puede ser usado para modificar directorios que ya se encuentran en la pila, pero los integrados @code{pushd} y @code{popd} deben ser usados para agregar y remover directorios. Asignaciones a esta variable no cambia el directorio actual. Si @env{DIRSTACK} es desasignado, pierdes sus propiedades especiales, incluso si es reiniciado subsecuentemente."
- #. type: item
- #: bashref.texi:5720
- #, no-wrap
- msgid "EMACS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5724
- msgid ""
- "If Bash finds this variable in the environment when the shell starts with "
- "value @samp{t}, it assumes that the shell is running in an Emacs shell "
- "buffer and disables line editing."
- msgstr "Si Bash encuentra esta variable en el entorno cuando el intérprete inicia con el valor @samp{t}, asume que el intéprete está corriendo en un intérpete de Emacs."
- #. type: item
- #: bashref.texi:5725
- #, no-wrap
- msgid "ENV"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5728
- msgid ""
- "Similar to @code{BASH_ENV}; used when the shell is invoked in @sc{posix} "
- "Mode (@pxref{Bash POSIX Mode})."
- msgstr "Similar a @code{BASH_ENV}; usado cuando el intérprete es llamado en modo @sc{posix} (@pxref{Bash POSIX Mode})."
- #. type: item
- #: bashref.texi:5729
- #, no-wrap
- msgid "EUID"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5732
- msgid ""
- "The numeric effective user id of the current user. This variable is "
- "readonly."
- msgstr "El identificador de usuario efectivo numérico del usuario actual. Esta variable es de solo lectura."
- #. type: item
- #: bashref.texi:5733
- #, no-wrap
- msgid "EXECIGNORE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5747
- msgid ""
- "A colon-separated list of shell patterns (@pxref{Pattern Matching}) "
- "defining the list of filenames to be ignored by command search using "
- "@code{PATH}. Files whose full pathnames match one of these patterns are not "
- "considered executable files for the purposes of completion and command "
- "execution via @code{PATH} lookup. This does not affect the behavior of the "
- "@code{[}, @code{test}, and @code{[[} commands. Full pathnames in the "
- "command hash table are not subject to @code{EXECIGNORE}. Use this variable "
- "to ignore shared library files that have the executable bit set, but are not "
- "executable files. The pattern matching honors the setting of the "
- "@code{extglob} shell option."
- msgstr "Una lista de patrones de intérprete separados por dos puntos (@pxref{Pattern Matching}) que definen la lista de nombres de archivo a ser ignorada por la orden de busqueda usando @code{PATH}. Los archivos cuyos nombres de ruta completos coinciden con alguno de estos patrones no son considerados archivos ejecutables para propósitos de completamiento y ejecución de ordenes para la búsqueda en @code{PATH}. Esto no afecta el comportamiento de las ordenes @code{[}, @code{test} y @code{[[}. Los nombres de ruta completos en la matríz asociativa de ordenes no son susceptibles a @code{EXECIGNORE}. Use esta variable para ignorar los archivos de bibliotecas compartidas que tienen el bit de ejecución asignado, pero que no son archivos ejecutables. El emparejamiento de patrones respeta la configuración de la opción de intréprete @code{extglob}."
- #. type: item
- #: bashref.texi:5748
- #, no-wrap
- msgid "FCEDIT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5751
- msgid ""
- "The editor used as a default by the @option{-e} option to the @code{fc} "
- "builtin command."
- msgstr "El editor usado por defecto por la opción @option{-e} a la orden integrada @code{fc}."
- #. type: item
- #: bashref.texi:5752
- #, no-wrap
- msgid "FIGNORE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5759
- msgid ""
- "A colon-separated list of suffixes to ignore when performing filename "
- "completion. A filename whose suffix matches one of the entries in "
- "@env{FIGNORE} is excluded from the list of matched filenames. A sample "
- "value is @samp{.o:~}"
- msgstr "Una lista de sufijos separados por dos puntos a ignorar cuando se efectue el completamiento de nombres de archivo. Un nombre de archivo cuyo sufijo coincida con una de las entradas en @env{FIGNORE} es excluido de la lista de nombres de archivo relacionados. Un valor de prueba es @samp{.o:~}"
- #. type: item
- #: bashref.texi:5760
- #, no-wrap
- msgid "FUNCNAME"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5771
- msgid ""
- "An array variable containing the names of all shell functions currently in "
- "the execution call stack. The element with index 0 is the name of any "
- "currently-executing shell function. The bottom-most element (the one with "
- "the highest index) is @code{\"main\"}. This variable exists only when a "
- "shell function is executing. Assignments to @env{FUNCNAME} have no effect. "
- "If @env{FUNCNAME} is unset, it loses its special properties, even if it is "
- "subsequently reset."
- msgstr "Una variable de arreglo que contiene los nombres de todas las funciones del intérprete que se encuentran en la pila de llamadas de ejecución. El elemento con índice 0 es el nombre de cualquier función de intérprete que se esté ejecutando. El último elemento (aquel con el índice mas grande) es @code{\\\"main\\\"}. Esta variable existe solo cuando una función de intérprete se está ejecutando. Las asignaciones a @env{FUNCNAME} no tienen efecto. Si @env{FUNCNAME} es desasignado, pierde sus propiedades especiales, incluso si es reiniciado subsecuentemente."
- #. type: Plain text
- #: bashref.texi:5779
- msgid ""
- "This variable can be used with @code{BASH_LINENO} and @code{BASH_SOURCE}. "
- "Each element of @code{FUNCNAME} has corresponding elements in "
- "@code{BASH_LINENO} and @code{BASH_SOURCE} to describe the call stack. For "
- "instance, @code{$@{FUNCNAME[$i]@}} was called from the file "
- "@code{$@{BASH_SOURCE[$i+1]@}} at line number @code{$@{BASH_LINENO[$i]@}}. "
- "The @code{caller} builtin displays the current call stack using this "
- "information."
- msgstr "Esta variable puede ser usada con @code{BASH_LINENO} y @code{BASH_SOURCE}. Cada elemento de @code{FUNCNAME} tiene sus elementos correspondientes en @code{BASH_LINENO} y @code{BASH_SOURCE} para describir la pila de llamadas. Por instancia, @code{$@{FUNCNAME[$i]@}} fue llamado desde el archivo @code{$@{BASH_SOURCE[$i+1]@}} en la linea número @code{$@{BASH_LINENO[$i]@}}. El integrado @code{caller} muestra la pila de llamadas actual que usa esta información."
- #. type: item
- #: bashref.texi:5780
- #, no-wrap
- msgid "FUNCNEST"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5784
- msgid ""
- "If set to a numeric value greater than 0, defines a maximum function nesting "
- "level. Function invocations that exceed this nesting level will cause the "
- "current command to abort."
- msgstr "Si le es asignado un valor numérico mayor a 0, define un nivel máximo de incrustación de funciones. Llamadas de función que excedan este nivel de incrustación causarán que la orden actual sea abortada."
- #. type: item
- #: bashref.texi:5785
- #, no-wrap
- msgid "GLOBIGNORE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5793
- msgid ""
- "A colon-separated list of patterns defining the set of filenames to be "
- "ignored by filename expansion. If a filename matched by a filename "
- "expansion pattern also matches one of the patterns in @env{GLOBIGNORE}, it "
- "is removed from the list of matches. The pattern matching honors the "
- "setting of the @code{extglob} shell option."
- msgstr "Una lista de patrones separada por dos puntos que definen el conjunto de nombres de archivo a ser ignorados por la expansion de nombres de archivo. Si un nombre de archivo que coincidió con un patrón de expansión también coincide con uno de los patrones en @env{GLOBIGNORE}, es removido de la lista de coincidencias. El emparejamiento de patrones respeta la configuración de la opción de intérprete @code{extglob}."
- #. type: item
- #: bashref.texi:5794
- #, no-wrap
- msgid "GROUPS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5800
- msgid ""
- "An array variable containing the list of groups of which the current user is "
- "a member. Assignments to @env{GROUPS} have no effect. If @env{GROUPS} is "
- "unset, it loses its special properties, even if it is subsequently reset."
- msgstr "Una variable de arreglo que contiene la lista de grupos de los cuales el usuario actual es miembro. Las asiganciones a @env{GROUPS} no tienen efecto. Si @env{GROUPS} es desasignada, pierde sus propiedades especiales, incluso si es reiniciada subsecuentemente."
- #. type: item
- #: bashref.texi:5801
- #, no-wrap
- msgid "histchars"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5814
- msgid ""
- "Up to three characters which control history expansion, quick substitution, "
- "and tokenization (@pxref{History Interaction}). The first character is the "
- "@var{history expansion} character, that is, the character which signifies "
- "the start of a history expansion, normally @samp{!}. The second character "
- "is the character which signifies `quick substitution' when seen as the first "
- "character on a line, normally @samp{^}. The optional third character is the "
- "character which indicates that the remainder of the line is a comment when "
- "found as the first character of a word, usually @samp{#}. The history "
- "comment character causes history substitution to be skipped for the "
- "remaining words on the line. It does not necessarily cause the shell parser "
- "to treat the rest of the line as a comment."
- msgstr "Hasta tres caracteres que controlan la expansión del historial, la sustitución rápida y el enfichamiento (@pxref{History Interaction}). El primero es el caracter de @var{history_expansion}, que es, el caracter que significa el principio de una expansión del historial, normalmente @samp{!}. El segundo es el caracter que significa `sustitución rápida' cuando es visto como el primer caracter en una linea, normalmente @samp{^}. El tercer caracter opcional es el que indica que los restante de una linea es un comentario cuando es encontrado como el primer caracter de una palabra, usualmente @samp{#}. El caracter de comentario del historial ocasiona que la sustitución del historial sea saltada para las palabras restantes en la linea. No causa necesariamente que el analizador del intérprete trate el resto de la linea como un comentario."
- #. type: item
- #: bashref.texi:5815
- #, no-wrap
- msgid "HISTCMD"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5819
- msgid ""
- "The history number, or index in the history list, of the current command. "
- "If @env{HISTCMD} is unset, it loses its special properties, even if it is "
- "subsequently reset."
- msgstr "El número del historial, o índice en la lista del historial, de la orden actual. Si @env{HISTCMD} es desasignado, pierde sus propiedades especiales, incluso si es reiniciada subsecuentemente."
- #. type: item
- #: bashref.texi:5820
- #, no-wrap
- msgid "HISTCONTROL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5839
- msgid ""
- "A colon-separated list of values controlling how commands are saved on the "
- "history list. If the list of values includes @samp{ignorespace}, lines "
- "which begin with a space character are not saved in the history list. A "
- "value of @samp{ignoredups} causes lines which match the previous history "
- "entry to not be saved. A value of @samp{ignoreboth} is shorthand for "
- "@samp{ignorespace} and @samp{ignoredups}. A value of @samp{erasedups} "
- "causes all previous lines matching the current line to be removed from the "
- "history list before that line is saved. Any value not in the above list is "
- "ignored. If @env{HISTCONTROL} is unset, or does not include a valid value, "
- "all lines read by the shell parser are saved on the history list, subject to "
- "the value of @env{HISTIGNORE}. The second and subsequent lines of a multi-"
- "line compound command are not tested, and are added to the history "
- "regardless of the value of @env{HISTCONTROL}."
- msgstr "Una lista de valores separados por dos puntos que controlan como las ordenes son salvados en la lista del historial. Si la lista de valores incluye @samp{ignorespace}, la lineas que inician con un caracter espacio no son salvadas en la lista del hitorial. Un valor de @samp{ignoredups} causa que las lineas que coinciden con las entradas anteriores del historial no sean salvadas. Un valor de @samp{ignoreboth} es una abreviación de @samp{ignorespace} y @samp{ignoredups}. Un valor de @samp{erasedups} ocasiona que todas las lineas previas que coinciden con la linea actual sean removidas de la lista del historial antes de que esa linea sea salvada. Cualquier valor que no se encuentre en la lista anterior es ignorado. Si @env{HISTCONTROL} es desasignado, o no incluye un valor válido, todas las lineas leidas por el analizador del intérprete son salvadas en la lista del historial, susceptible al valor de @env{HISTIGNORE}. La segunda linea y subsecuentes de una orden compuesta multi linea no son comprobadas y son agregadas al historial sin importar el valor de @env{HISTCONTROL}."
- #. type: item
- #: bashref.texi:5840
- #, no-wrap
- msgid "HISTFILE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5843
- msgid ""
- "The name of the file to which the command history is saved. The default "
- "value is @file{~/.bash_history}."
- msgstr "El nombre del archivo en el que será guardado el historial de ordenes. El valor por defecto es @file{~/.bash_history}."
- #. type: item
- #: bashref.texi:5844
- #, no-wrap
- msgid "HISTFILESIZE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5855
- msgid ""
- "The maximum number of lines contained in the history file. When this "
- "variable is assigned a value, the history file is truncated, if necessary, "
- "to contain no more than that number of lines by removing the oldest "
- "entries. The history file is also truncated to this size after writing it "
- "when a shell exits. If the value is 0, the history file is truncated to "
- "zero size. Non-numeric values and numeric values less than zero inhibit "
- "truncation. The shell sets the default value to the value of @env{HISTSIZE} "
- "after reading any startup files."
- msgstr "El número máximo de lineas contenidas en el archivo del historial. Cuando a esta variable se le asigna un valor, el historial es truncado, si es necesario, para no contener mas que el número de lineas removiendo las entradas mas antiguas. El archivo del historial también es truncado a este valor después de escribirlo cuando el intérprete sale. Si el valor es 0, el archivo del historial es truncado a tamaño cero. Valore no numéricos y valores numéricos menores a cero inhiben el truncamiento. El intérprete asigna el valor por defecto al valor de @env{HISTSIZE} después de leer cualquier archivo de inicialización."
- #. type: item
- #: bashref.texi:5856
- #, no-wrap
- msgid "HISTIGNORE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5871
- msgid ""
- "A colon-separated list of patterns used to decide which command lines should "
- "be saved on the history list. Each pattern is anchored at the beginning of "
- "the line and must match the complete line (no implicit @samp{*} is "
- "appended). Each pattern is tested against the line after the checks "
- "specified by @env{HISTCONTROL} are applied. In addition to the normal shell "
- "pattern matching characters, @samp{&} matches the previous history line. "
- "@samp{&} may be escaped using a backslash; the backslash is removed before "
- "attempting a match. The second and subsequent lines of a multi-line "
- "compound command are not tested, and are added to the history regardless of "
- "the value of @env{HISTIGNORE}. The pattern matching honors the setting of "
- "the @code{extglob} shell option."
- msgstr "Una lista de patrones separada por dos puntos usada para decidir cual linea de ordenes debe ser salvada en el historial. Cada patron es anclado al principio de la linea y debe coindicir la linea completa (no es agregado un @samp{*} implícito). Cada patron es probado contra la linea después de las revisiones especificadas por @env{HISTCONTROL} son aplicadas. Adicionalmente a los caracteres de coincidencia de patrones normales del intérprete, @samp{&} relaciona las linea previa del historial. @samp{&} puede ser escapado usando una diagonal invertida; la diagonal invertida es removida antes de intentar el emparejamiento. La segunda y subsecuentes lineas de una orden compuesta multilinea no son probadas, y son agregadas al historial sin importar el valor de @env{HISTIGNORE}. La coincidencia de patrones respeta el asignamiento de la opción de intérprete @code{extglob}. "
- #. type: Plain text
- #: bashref.texi:5877
- msgid ""
- "@env{HISTIGNORE} subsumes the function of @env{HISTCONTROL}. A pattern of "
- "@samp{&} is identical to @code{ignoredups}, and a pattern of @samp{[ ]*} is "
- "identical to @code{ignorespace}. Combining these two patterns, separating "
- "them with a colon, provides the functionality of @code{ignoreboth}."
- msgstr "@env{HISTIGNORE} subsume la funcióm de @env{HISTCONTROL}. Un patrón de @samp{&} es identico a @code{ignoredups}, y un patrón de @samp{[ ]*} es identico a @code{ignorespace}. Combinar estos dos patrones, separandolos por dos puntos, proporciona la funcionalidad de @code{ignoreboth}.\n"
- #. type: item
- #: bashref.texi:5878
- #, no-wrap
- msgid "HISTSIZE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5884
- msgid ""
- "The maximum number of commands to remember on the history list. If the "
- "value is 0, commands are not saved in the history list. Numeric values less "
- "than zero result in every command being saved on the history list (there is "
- "no limit). The shell sets the default value to 500 after reading any "
- "startup files."
- msgstr "El número máximo de ordenes a recordar en la lista del historial. Si el valor es 0, las ordenes no son salvadas en la lista del historial. Valores numéricos menores a cero ocasionan que cada orden sea salvada en la lista del historial (no hay límite). El intérprete asigna 500 como valor por defecto después de leer cualquier archivo de inicialización."
- #. type: item
- #: bashref.texi:5885
- #, no-wrap
- msgid "HISTTIMEFORMAT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5893
- msgid ""
- "If this variable is set and not null, its value is used as a format string "
- "for @var{strftime} to print the time stamp associated with each history "
- "entry displayed by the @code{history} builtin. If this variable is set, "
- "time stamps are written to the history file so they may be preserved across "
- "shell sessions. This uses the history comment character to distinguish "
- "timestamps from other history lines."
- msgstr "Si esta variable es asignada y no es núla, su valor es usado como cadena de formato por @var{strftime} para imprimir la estampa de tiempo asociada con cada entrada del historial mostrada por el integrado @code{history}. Si esta variable es asignada, las estampas de tiempo son escritas al archivo del historial para que puedan ser salvadas entre sesiones de intérprete. Esto usa el caracter de comentario del historial para distinguir estampas de tiempo de otras lineas del historial."
- #. type: item
- #: bashref.texi:5894
- #, no-wrap
- msgid "HOSTFILE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5906
- msgid ""
- "Contains the name of a file in the same format as @file{/etc/hosts} that "
- "should be read when the shell needs to complete a hostname. The list of "
- "possible hostname completions may be changed while the shell is running; the "
- "next time hostname completion is attempted after the value is changed, Bash "
- "adds the contents of the new file to the existing list. If @env{HOSTFILE} "
- "is set, but has no value, or does not name a readable file, Bash attempts to "
- "read @file{/etc/hosts} to obtain the list of possible hostname completions. "
- "When @env{HOSTFILE} is unset, the hostname list is cleared."
- msgstr "Contiene el nombre de un archivo de mismo formato que @file{/etc/hosts} que debe ser leido cuando el intérprete necesite completar un nombre de servidor. La lista de posibles completamientos de nombres de servidor puedes ser cambiada cuando el intérprete esta corriendo; la siguiente vez que se intente un completamiento de nombre de servidor después de que el valor sea cambiado, Bash agrega los contenidos de el nuevo archivo a la lista existente. Si @env{HOSTFILE} es asignada, pero no tiene un valor, o no menciona un archivo legible, Bash intenta leer @file{/etc/hosts} para obtener la lista de completamiento de nombres de servidor posibles. Cuando @env{HOSTFILE} es deasignado, la lista de nombres de servidor es limpiada."
- #. type: item
- #: bashref.texi:5907
- #, no-wrap
- msgid "HOSTNAME"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5909
- msgid "The name of the current host."
- msgstr "El nombre del servidor actual."
- #. type: item
- #: bashref.texi:5910
- #, no-wrap
- msgid "HOSTTYPE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5912
- msgid "A string describing the machine Bash is running on."
- msgstr "Una cadena que describe la maquina en la que Bash está corriendo."
- #. type: item
- #: bashref.texi:5913
- #, no-wrap
- msgid "IGNOREEOF"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5922
- msgid ""
- "Controls the action of the shell on receipt of an @code{EOF} character as "
- "the sole input. If set, the value denotes the number of consecutive "
- "@code{EOF} characters that can be read as the first character on an input "
- "line before the shell will exit. If the variable exists but does not have a "
- "numeric value (or has no value) then the default is 10. If the variable "
- "does not exist, then @code{EOF} signifies the end of input to the shell. "
- "This is only in effect for interactive shells."
- msgstr "Controla la acción del intérprete cuando recibe un caracter @code{EOF} como única entrada. Si esta asignado, el valor denota el número de caracteres @code{EOF}consecutivos que pueden ser leidos como primer caracter en una linea entrada antes de que el intérprete salga. Si la variable existe pero no tiene un valor numérico (o no tiene valor) entonces el valor por defecto es 10. Si la variable no existe, entonces @code{EOF} significa el final de la entrada al intérprete. Esto solo tiene efecto en intérpretes interactivos."
- #. type: item
- #: bashref.texi:5923
- #, no-wrap
- msgid "INPUTRC"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5926
- msgid ""
- "The name of the Readline initialization file, overriding the default of "
- "@file{~/.inputrc}."
- msgstr "El nombre del archivo de inicialización Readline, invalidando el valor por defecto @file{~/.inputrc}."
- #. type: item
- #: bashref.texi:5927
- #, no-wrap
- msgid "LANG"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5930
- msgid ""
- "Used to determine the locale category for any category not specifically "
- "selected with a variable starting with @code{LC_}."
- msgstr "Usado para determinar la categoria local para cualquier categoria seleccionada no especificamente con una variable empezando con @code{LC_}."
- #. type: item
- #: bashref.texi:5931
- #, no-wrap
- msgid "LC_ALL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5934
- msgid ""
- "This variable overrides the value of @env{LANG} and any other @code{LC_} "
- "variable specifying a locale category."
- msgstr "Esta varibale invalída el valor de @env{LANG} y cualquier otra variable @code{LC_} especificando una categoria local."
- #. type: item
- #: bashref.texi:5935
- #, no-wrap
- msgid "LC_COLLATE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5941
- msgid ""
- "This variable determines the collation order used when sorting the results "
- "of filename expansion, and determines the behavior of range expressions, "
- "equivalence classes, and collating sequences within filename expansion and "
- "pattern matching (@pxref{Filename Expansion})."
- msgstr "Esta variable determina el orden de recopilación usado cuando se ordenan los resultados de la expansión de nombres de archivo, y determina el comportamiento de las expresiones de rango, clases de equivalencias, y secuencias de recopilación con expansión de nombres de archivo y coincidencia de patrones (@pxref{Filename Expansion})."
- #. type: item
- #: bashref.texi:5942
- #, no-wrap
- msgid "LC_CTYPE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5946
- msgid ""
- "This variable determines the interpretation of characters and the behavior "
- "of character classes within filename expansion and pattern matching "
- "(@pxref{Filename Expansion})."
- msgstr "Esta variable determina la interpretación de caracteres y el comportamiento de las clases de caracteres con expansion de nombres de archivo y coincidencia de patrones (@pxref{Filname Expansion})."
- #. type: Plain text
- #: bashref.texi:5950
- msgid ""
- "This variable determines the locale used to translate double-quoted strings "
- "preceded by a @samp{$} (@pxref{Locale Translation})."
- msgstr "Esta variable determina el area local usada para traducir las cadenas entre comillas dobles precedidas por @samp{$} (@pxref{Local Translation})."
- #. type: item
- #: bashref.texi:5951
- #, no-wrap
- msgid "LC_NUMERIC"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5953
- msgid ""
- "This variable determines the locale category used for number formatting."
- msgstr "Esta variable determina la categoría del area local usada para el formateo numérico."
- #. type: item
- #: bashref.texi:5954
- #, no-wrap
- msgid "LC_TIME"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5957
- msgid ""
- "This variable determines the locale category used for data and time "
- "formatting."
- msgstr "Esta variable determina la categoría de area local usada para el formateo de datos y el tiempo."
- #. type: item
- #: bashref.texi:5958
- #, no-wrap
- msgid "LINENO"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5960
- msgid "The line number in the script or shell function currently executing."
- msgstr "El número de linea en el script o función de intérprete ejecutándose."
- #. type: item
- #: bashref.texi:5961
- #, no-wrap
- msgid "LINES"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5967
- msgid ""
- "Used by the @code{select} command to determine the column length for "
- "printing selection lists. Automatically set if the @code{checkwinsize} "
- "option is enabled (@pxref{The Shopt Builtin}), or in an interactive shell "
- "upon receipt of a @code{SIGWINCH}."
- msgstr "Usado por la orden @code{select} para determinar el largo de la columna para imprimir listas de selección. Asignado automáticamente si la opción @code{checkwinsize} esta activa (@pxref{The Shopt Builtin}), o en un intérprete interactivo después de la recepción de un @code{SIGWINCH}."
- #. type: item
- #: bashref.texi:5968
- #, no-wrap
- msgid "MACHTYPE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5971
- msgid ""
- "A string that fully describes the system type on which Bash is executing, in "
- "the standard @sc{gnu} @var{cpu-company-system} format."
- msgstr "Una cadena que describe completamente el tipo de sistema en el que Bash esta siendo ejecutado, en el formato estandar @sc{gnu} @var{cpu-compañia-sistema}."
- #. type: item
- #: bashref.texi:5972
- #, no-wrap
- msgid "MAILCHECK"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5979
- msgid ""
- "How often (in seconds) that the shell should check for mail in the files "
- "specified in the @env{MAILPATH} or @env{MAIL} variables. The default is 60 "
- "seconds. When it is time to check for mail, the shell does so before "
- "displaying the primary prompt. If this variable is unset, or set to a value "
- "that is not a number greater than or equal to zero, the shell disables mail "
- "checking."
- msgstr "Que tan seguido (en segundos) el intérprete debe buscar correo en los archivos especificados en las variables @env{MAILPATH} o @env{MAIL}. Por defecto son 60 segundos. Cuando es tiempo de buscar correo, el intérprete lo hace antes de mostrar el prompt primario. Si esta variable es desasignada, or asignada a un valor que no es mayor o igual a cero, el intérprete desactiva la revisión de correo."
- #. type: item
- #: bashref.texi:5980
- #, no-wrap
- msgid "MAPFILE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5983
- msgid ""
- "An array variable created to hold the text read by the @code{mapfile} "
- "builtin when no variable name is supplied."
- msgstr "Una variable de arreglo creada para mantener la lectura de texto por el integrado @code{mapfile} cuando no se proporciona un nombre de variable."
- #. type: item
- #: bashref.texi:5984
- #, no-wrap
- msgid "OLDPWD"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5986
- msgid "The previous working directory as set by the @code{cd} builtin."
- msgstr "El directorio de trabajo previo como fue asignado por el integrado @code{cd}."
- #. type: item
- #: bashref.texi:5987
- #, no-wrap
- msgid "OPTERR"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5990
- msgid ""
- "If set to the value 1, Bash displays error messages generated by the "
- "@code{getopts} builtin command."
- msgstr "Si se le asigna el valor de 1, Bash muestra mensajes de error generados por la orden integrada @code{getopts}."
- #. type: item
- #: bashref.texi:5991
- #, no-wrap
- msgid "OSTYPE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5993
- msgid "A string describing the operating system Bash is running on."
- msgstr "Una cadena que describe el sistema operativo en el que Bash esta corriendo."
- #. type: item
- #: bashref.texi:5994
- #, no-wrap
- msgid "PIPESTATUS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:5999
- msgid ""
- "An array variable (@pxref{Arrays}) containing a list of exit status values "
- "from the processes in the most-recently-executed foreground pipeline (which "
- "may contain only a single command)."
- msgstr "Una variable de arreglo (@pxref{Arrays}) que contiene una lista de los valores de los estados de salida de los procesos en la tuberia de primer plano ejecutada mas recientemente (que puede contener una sola orden)."
- #. type: item
- #: bashref.texi:6000
- #, no-wrap
- msgid "POSIXLY_CORRECT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6006
- msgid ""
- "If this variable is in the environment when Bash starts, the shell enters "
- "@sc{posix} mode (@pxref{Bash POSIX Mode}) before reading the startup files, "
- "as if the @option{--posix} invocation option had been supplied. If it is "
- "set while the shell is running, Bash enables @sc{posix} mode, as if the "
- "command"
- msgstr "Si esta variable esta en el entorno cuando Bash inicia, el intérprete entra en modo @sc{posix} (@pxref{Bash POSIX Mode}) antes de leer los archivos de inicialización, como si la opción @option{--posix} hubiese sido proporcionada. Si es asignada cuando el intérprete esta corriendo, Bash activa el modo @sc{posix}, como si la orden"
- #. type: example
- #: bashref.texi:6008
- #, no-wrap
- msgid "@code{set -o posix}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6011
- msgid "had been executed."
- msgstr "hubiese sido ejecutada."
- #. type: item
- #: bashref.texi:6012
- #, no-wrap
- msgid "PPID"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6015
- msgid ""
- "The process @sc{id} of the shell's parent process. This variable is "
- "readonly."
- msgstr "El @sc{id} de proceso del processo superior del intérprete. Esta variable es de solo lectura."
- #. type: item
- #: bashref.texi:6016
- #, no-wrap
- msgid "PROMPT_COMMAND"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6019
- msgid ""
- "If set, the value is interpreted as a command to execute before the printing "
- "of each primary prompt (@env{$PS1})."
- msgstr "Si es asignada, el valor es interpretado como una orden a ejecutar antes de imprimir cada prompt primario (@env{$PS1})."
- #. type: item
- #: bashref.texi:6020
- #, no-wrap
- msgid "PROMPT_DIRTRIM"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6025
- msgid ""
- "If set to a number greater than zero, the value is used as the number of "
- "trailing directory components to retain when expanding the @code{\\w} and "
- "@code{\\W} prompt string escapes (@pxref{Controlling the Prompt}). "
- "Characters removed are replaced with an ellipsis."
- msgstr "Si se le asigna un número mayor a cero, el valor es usado como el número de componentes de directorio de cola a retener cuando se expanden las cadenas de escape del prompt @code{\\\\w} y @code{\\\\W}(@pxref{Controlling the Prompt}). Los caracteres removidos son reemplazados con puntos suspensivos."
- #. type: item
- #: bashref.texi:6026
- #, no-wrap
- msgid "PS0"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6030
- msgid ""
- "The value of this parameter is expanded like @var{PS1} and displayed by "
- "interactive shells after reading a command and before the command is "
- "executed."
- msgstr "El valor de este parámetro es expandido como @var{PS1} y mostrado por intérpretes interactivos después de leer una orden y antes de que la orden sea ejecutada."
- #. type: item
- #: bashref.texi:6031
- #, no-wrap
- msgid "PS3"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6035
- msgid ""
- "The value of this variable is used as the prompt for the @code{select} "
- "command. If this variable is not set, the @code{select} command prompts "
- "with @samp{#? }"
- msgstr "El valor de esta variable es usado como el prompt para la orden @code{select}. Si esta variables no está asignada, la orden @code{select} muestra el prompt con @samp{#? }"
- #. type: item
- #: bashref.texi:6036
- #, no-wrap
- msgid "PS4"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6042
- msgid ""
- "The value is the prompt printed before the command line is echoed when the "
- "@option{-x} option is set (@pxref{The Set Builtin}). The first character of "
- "@env{PS4} is replicated multiple times, as necessary, to indicate multiple "
- "levels of indirection. The default is @samp{+ }."
- msgstr "Su valor es el prompt imprimido antes de que la linea de ordenes sea repetida (eco) cuando la opción @option{-x} es asignada (@pxref{The Set Builtin}). El primer caracter de @env{PS4} es replicado múltiples veces, cuanto sea necesario, para indicar niveles múltiples de ambigüedad. El valor por defecto es @samp{+ }."
- #. type: item
- #: bashref.texi:6043
- #, no-wrap
- msgid "PWD"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6045
- msgid "The current working directory as set by the @code{cd} builtin."
- msgstr "El directorio de trabajo actual como fue asigado por el integrado @code{cd}."
- #. type: item
- #: bashref.texi:6046
- #, no-wrap
- msgid "RANDOM"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6050
- msgid ""
- "Each time this parameter is referenced, a random integer between 0 and 32767 "
- "is generated. Assigning a value to this variable seeds the random number "
- "generator."
- msgstr "Cada vez que este parámetro es referenciado, un entero aleatorio entre 0 y 32767 es generado. Asignar un valor a esta variable proporciona un valor a la semilla del generador de números aleatorio."
- #. type: item
- #: bashref.texi:6051
- #, no-wrap
- msgid "READLINE_LINE"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6054
- msgid ""
- "The contents of the Readline line buffer, for use with @samp{bind -x} "
- "(@pxref{Bash Builtins})."
- msgstr "Los contenidos del buffer de la linea de Readline, para su uso con @samp{bind -x} (@pxref{Bash Builtins})."
- #. type: item
- #: bashref.texi:6055
- #, no-wrap
- msgid "READLINE_POINT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6058
- msgid ""
- "The position of the insertion point in the Readline line buffer, for use "
- "with @samp{bind -x} (@pxref{Bash Builtins})."
- msgstr "La posición del punto de inserción en el buffer de la linea de Readline, oara su uso con @samp{bind -x} (@pxref{Bash Builtins})."
- #. type: item
- #: bashref.texi:6059
- #, no-wrap
- msgid "REPLY"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6061
- msgid "The default variable for the @code{read} builtin."
- msgstr "La variable por defecto para el integrado @code{read}."
- #. type: item
- #: bashref.texi:6062
- #, no-wrap
- msgid "SECONDS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6068
- msgid ""
- "This variable expands to the number of seconds since the shell was started. "
- "Assignment to this variable resets the count to the value assigned, and the "
- "expanded value becomes the value assigned plus the number of seconds since "
- "the assignment."
- msgstr "Esta variable se expande al número de segundos desde que el intérprete inició. Asignamientos a esta variable reinicia la cuenta al valor asignado, y el valor expandido se convierte en el valor asignado mas el número en segundos desde el asignamiento."
- #. type: item
- #: bashref.texi:6069
- #, no-wrap
- msgid "SHELL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6073
- msgid ""
- "The full pathname to the shell is kept in this environment variable. If it "
- "is not set when the shell starts, Bash assigns to it the full pathname of "
- "the current user's login shell."
- msgstr "La nombre de ruta completo al intérprete es mantenido en esta variable de entorno. Si no es asignada cuando el intéprete inicia, Bash la asigna al nombre de ruta completo del intérprete de inicio de sesión del usuario actual."
- #. type: item
- #: bashref.texi:6074
- #, no-wrap
- msgid "SHELLOPTS"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6083
- msgid ""
- "A colon-separated list of enabled shell options. Each word in the list is a "
- "valid argument for the @option{-o} option to the @code{set} builtin command "
- "(@pxref{The Set Builtin}). The options appearing in @env{SHELLOPTS} are "
- "those reported as @samp{on} by @samp{set -o}. If this variable is in the "
- "environment when Bash starts up, each shell option in the list will be "
- "enabled before reading any startup files. This variable is readonly."
- msgstr "Una lista de opciones de intérprete separada por dos puntos. Cada palabra en la lista es un parámetro válido para la opción @option{-o} para la orden integrada @code{set} (@pxref{The Set Builtin}). Las opciones que aparecen en @env{SHELLOPTS} son aquellas reportadas como @samp{on} por @samp{set -o}. Si esta variable esta en el entorno cuando Bash inicia. cada opción de intérprete en la lista será activada antes de leer cualquier archivo de inicialización. Esta variable es de solo lectura."
- #. type: item
- #: bashref.texi:6084
- #, no-wrap
- msgid "SHLVL"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6087
- msgid ""
- "Incremented by one each time a new instance of Bash is started. This is "
- "intended to be a count of how deeply your Bash shells are nested."
- msgstr "Incrementa en uno cada vez que una nueva instancia de Bash es iniciada. Esto está pensado para ser una cuenta de que tan profundo tus intérpretes de Bash están anidados."
- #. type: item
- #: bashref.texi:6088
- #, no-wrap
- msgid "TIMEFORMAT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6097
- msgid ""
- "The value of this parameter is used as a format string specifying how the "
- "timing information for pipelines prefixed with the @code{time} reserved word "
- "should be displayed. The @samp{%} character introduces an escape sequence "
- "that is expanded to a time value or other information. The escape sequences "
- "and their meanings are as follows; the braces denote optional portions."
- msgstr "El valor de este parametro es usado como una cadena de formato que especifica como se debe mostrar la información del tiempo para las tuberias que tienen de prefijo la palabra reservada @code{time}. El caracter @samp{%} inserta una secuencia de escape que es expandida a un valor de tiempo o otra información. Las secuencias de escape y sus significados son del siguiente modo; los corchetes indican porciones opcionales."
- #. type: item
- #: bashref.texi:6100
- #, no-wrap
- msgid "%%"
- msgstr ""
- #. type: table
- #: bashref.texi:6102
- msgid "A literal @samp{%}."
- msgstr "Literalmente un @samp{%}."
- #. type: item
- #: bashref.texi:6103
- #, no-wrap
- msgid "%[@var{p}][l]R"
- msgstr ""
- #. type: table
- #: bashref.texi:6105
- msgid "The elapsed time in seconds."
- msgstr "El tiempo trnascurrido en segundos."
- #. type: item
- #: bashref.texi:6106
- #, no-wrap
- msgid "%[@var{p}][l]U"
- msgstr ""
- #. type: table
- #: bashref.texi:6108
- msgid "The number of CPU seconds spent in user mode."
- msgstr "El número de segundos del CPU gastados en modo usuario."
- #. type: item
- #: bashref.texi:6109
- #, no-wrap
- msgid "%[@var{p}][l]S"
- msgstr ""
- #. type: table
- #: bashref.texi:6111
- msgid "The number of CPU seconds spent in system mode."
- msgstr "El número de segundos del CPU gastados en modo sistema."
- #. type: item
- #: bashref.texi:6112
- #, no-wrap
- msgid "%P"
- msgstr ""
- #. type: table
- #: bashref.texi:6114
- msgid "The CPU percentage, computed as (%U + %S) / %R."
- msgstr "El porcentaje del CPU, calculado como (%U + %S) / %R."
- #. type: Plain text
- #: bashref.texi:6122
- msgid ""
- "The optional @var{p} is a digit specifying the precision, the number of "
- "fractional digits after a decimal point. A value of 0 causes no decimal "
- "point or fraction to be output. At most three places after the decimal "
- "point may be specified; values of @var{p} greater than 3 are changed to 3. "
- "If @var{p} is not specified, the value 3 is used."
- msgstr "La opcional @var{p} es un dígito que especifíca la precisión, el número de dígitos fraccionales después de un punto decimal. Un valor de 0 ocasiona que no se regrese un valor decimal o fraccionario. Como máximo tres lugares despues del punto decimal pueden ser especificadas; valores de @var{p} mayores a 3 son cambiados a 3. Si @var{p} no es especificada, el valor 3 es usado."
- #. type: Plain text
- #: bashref.texi:6126
- msgid ""
- "The optional @code{l} specifies a longer format, including minutes, of the "
- "form @var{MM}m@var{SS}.@var{FF}s. The value of @var{p} determines whether "
- "or not the fraction is included."
- msgstr "La opcional @code{l} especifíca un formato mas largo, incluyendo minutos, de la forma @var{MM}m@var{SS}.@var{FF}s. El valor de @var{p} determina si la fracción es incluida o no."
- #. type: Plain text
- #: bashref.texi:6128
- msgid "If this variable is not set, Bash acts as if it had the value"
- msgstr "Si esta variable no es asignada, Bash actua como si tuviera el valor"
- #. type: example
- #: bashref.texi:6130
- #, no-wrap
- msgid "@code{$'\\nreal\\t%3lR\\nuser\\t%3lU\\nsys\\t%3lS'}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6133
- msgid ""
- "If the value is null, no timing information is displayed. A trailing "
- "newline is added when the format string is displayed."
- msgstr "Si su valor es nulo, no se muestra información del tiempo. Un salto de linea al final es agregado cuando la cadena de formato es mostrada."
- #. type: item
- #: bashref.texi:6134
- #, no-wrap
- msgid "TMOUT"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6140
- msgid ""
- "If set to a value greater than zero, @code{TMOUT} is treated as the default "
- "timeout for the @code{read} builtin (@pxref{Bash Builtins}). The "
- "@code{select} command (@pxref{Conditional Constructs}) terminates if input "
- "does not arrive after @code{TMOUT} seconds when input is coming from a "
- "terminal."
- msgstr "Si es asignado un valor mayor que cero, @code{TMOUT} es tratadi como el tiempo muerto por defecto para el integrado @code{read} (@pxref{Bash Builtins}). La orden @code{select} (@pxref{Conditional Constructs}) termina si la entrada no llega después de @code{TMOUT} segundos cuando la entrada llega desde una terminal.\n\n"
- #. type: Plain text
- #: bashref.texi:6147
- msgid ""
- "In an interactive shell, the value is interpreted as the number of seconds "
- "to wait for a line of input after issuing the primary prompt. Bash "
- "terminates after waiting for that number of seconds if a complete line of "
- "input does not arrive."
- msgstr "En un intérprete interactivo, el valor es interpretado como el número de segundos a esperar una linea de entrada despues de que se emita el prompt primario. Bash termina despues de esperar ese número de segundos si una linea completa de entrada no llega."
- #. type: item
- #: bashref.texi:6148
- #, no-wrap
- msgid "TMPDIR"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6151
- msgid ""
- "If set, Bash uses its value as the name of a directory in which Bash creates "
- "temporary files for the shell's use."
- msgstr "Si es asignada, Bash usa su valor como el nombre del directorio en el cual Bash crea archivos temporales para el uso del intérprete."
- #. type: item
- #: bashref.texi:6152
- #, no-wrap
- msgid "UID"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6154
- msgid ""
- "The numeric real user id of the current user. This variable is readonly."
- msgstr "El identificador de usuario numérico real del usuario actual. Esta variable es de solo lectura."
- #. type: Plain text
- #: bashref.texi:6161
- msgid "This chapter describes features unique to Bash."
- msgstr "Este capítuo describe características únicas de Bash."
- #. type: section
- #: bashref.texi:6177 bashref.texi:6179 bashref.texi:6180
- #, no-wrap
- msgid "Invoking Bash"
- msgstr "Llamando a Bash"
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Command line options that you can give to Bash."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6338 bashref.texi:6339
- #, no-wrap
- msgid "Bash Startup Files"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "When and how Bash executes scripts."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6456 bashref.texi:6457
- #, no-wrap
- msgid "Interactive Shells"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "What an interactive shell is."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6614 bashref.texi:6615
- #, no-wrap
- msgid "Bash Conditional Expressions"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Primitives used in composing expressions for the @code{test} builtin."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6763 bashref.texi:6764
- #, no-wrap
- msgid "Shell Arithmetic"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Arithmetic on shell variables."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6870 bashref.texi:6871
- #, no-wrap
- msgid "Aliases"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Substituting one command for another."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:6930 bashref.texi:6931
- #, no-wrap
- msgid "Arrays"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Array Variables."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:7067 bashref.texi:7068
- #, no-wrap
- msgid "The Directory Stack"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "History of visited directories."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:7179 bashref.texi:7180
- #, no-wrap
- msgid "Controlling the Prompt"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Customizing the various prompt strings."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:7265 bashref.texi:7266
- #, no-wrap
- msgid "The Restricted Shell"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "A more controlled mode of shell execution."
- msgstr ""
- #. type: section
- #: bashref.texi:6177 bashref.texi:7319 bashref.texi:7320
- #, no-wrap
- msgid "Bash POSIX Mode"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6177
- msgid "Making Bash behave more closely to what the POSIX standard specifies."
- msgstr ""
- #. type: example
- #: bashref.texi:6186
- #, no-wrap
- msgid ""
- "bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @var{option}] [-O @var{shopt_option}] [@var{argument} @dots{}]\n"
- "bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @var{option}] [-O @var{shopt_option}] -c @var{string} [@var{argument} @dots{}]\n"
- "bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @var{option}] [-O @var{shopt_option}] [@var{argument} @dots{}]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6193
- msgid ""
- "All of the single-character options used with the @code{set} builtin "
- "(@pxref{The Set Builtin}) can be used as options when the shell is invoked. "
- "In addition, there are several multi-character options that you can use. "
- "These options must appear on the command line before the single-character "
- "options to be recognized."
- msgstr ""
- "Todas las opciones de un caracter usadas con el @code{} integrado"
- "(@pxref{The Set Builtin}) pueden ser usadas como opciones cuando el interprete"
- "es llamado. Adicionalmente, existen varias opciones multi-caracter que puede usar. "
- "Estas opciones deben aparecer en la línea de comandos antes de las opciones de un "
- "caracter para ser reconocidas."
- #. type: item
- #: bashref.texi:6195
- #, no-wrap
- msgid "--debugger"
- msgstr ""
- #. type: table
- #: bashref.texi:6200
- msgid ""
- "Arrange for the debugger profile to be executed before the shell starts. "
- "Turns on extended debugging mode (see @ref{The Shopt Builtin} for a "
- "description of the @code{extdebug} option to the @code{shopt} builtin)."
- msgstr ""
- "
- #. type: item
- #: bashref.texi:6201
- #, no-wrap
- msgid "--dump-po-strings"
- msgstr ""
- #. type: table
- #: bashref.texi:6206
- msgid ""
- "A list of all double-quoted strings preceded by @samp{$} is printed on the "
- "standard output in the @sc{gnu} @code{gettext} PO (portable object) file "
- "format. Equivalent to @option{-D} except for the output format."
- msgstr ""
- "Muestra una lista de todas las cadenas entre comillas dobles precedidas por "
- "@samp{$} en la salida estándar en el formato de archivo de @sc{gnu} @code{gettext}"
- " PO (objeto portable). Equivalente a la opción @option{-D} excepto por el formato "
- "de salida."
- #. type: item
- #: bashref.texi:6207
- #, no-wrap
- msgid "--dump-strings"
- msgstr ""
- #. type: table
- #: bashref.texi:6209
- msgid "Equivalent to @option{-D}."
- msgstr "Equivalente a @option{-D}."
- #. type: item
- #: bashref.texi:6210 bashref.texi:8140
- #, no-wrap
- msgid "--help"
- msgstr ""
- #. type: table
- #: bashref.texi:6212
- msgid "Display a usage message on standard output and exit successfully."
- msgstr "Muestra un mensaje de uso en la salida estandar y sale exitosamente."
- #. type: item
- #: bashref.texi:6213
- #, no-wrap
- msgid "--init-file @var{filename}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:6214
- #, no-wrap
- msgid "--rcfile @var{filename}"
- msgstr ""
- #. type: table
- #: bashref.texi:6217
- msgid ""
- "Execute commands from @var{filename} (instead of @file{~/.bashrc}) in an "
- "interactive shell."
- msgstr ""
- "Ejecuta ordenes desde @var{filename} (en lugar de @file{~/.bashrc}) en un "
- "intérprete interactivo."
- #. type: item
- #: bashref.texi:6218
- #, no-wrap
- msgid "--login"
- msgstr ""
- #. type: table
- #: bashref.texi:6220
- msgid "Equivalent to @option{-l}."
- msgstr "Equivalente a @option{-l}."
- #. type: item
- #: bashref.texi:6221
- #, no-wrap
- msgid "--noediting"
- msgstr ""
- #. type: table
- #: bashref.texi:6224
- msgid ""
- "Do not use the @sc{gnu} Readline library (@pxref{Command Line Editing}) to "
- "read command lines when the shell is interactive."
- msgstr ""
- "No usa la biblioteca @sc{gnu} Readline (@pxref{Command Line Editing}) para "
- "leer lineas de ordenes cuando el intérprete es interactivo."
- #. type: item
- #: bashref.texi:6225
- #, no-wrap
- msgid "--noprofile"
- msgstr ""
- #. type: table
- #: bashref.texi:6230
- msgid ""
- "Don't load the system-wide startup file @file{/etc/profile} or any of the "
- "personal initialization files @file{~/.bash_profile}, @file{~/.bash_login}, "
- "or @file{~/.profile} when Bash is invoked as a login shell."
- msgstr ""
- "No carga el archivo general de inicio @file{/etc/profile} o cualquiera de "
- "los archivos de inicialización personales @file{~/.bash_profile},
- "@file{~/.bash_login} o @file{~/.profile} cuando Bash es llamado como un
- "intérprete de inicio de sesión."
- #. type: item
- #: bashref.texi:6231
- #, no-wrap
- msgid "--norc"
- msgstr ""
- #. type: table
- #: bashref.texi:6235
- msgid ""
- "Don't read the @file{~/.bashrc} initialization file in an interactive "
- "shell. This is on by default if the shell is invoked as @code{sh}."
- msgstr ""
- "No leé el archivo de inicialización @file{~/.bashrc} en un intérprete "
- "interactivo. Esto está activo por defecto si el intérprete es llamado "
- "como @code{sh}."
- #. type: item
- #: bashref.texi:6236
- #, no-wrap
- msgid "--posix"
- msgstr ""
- #. type: table
- #: bashref.texi:6242
- msgid ""
- "Change the behavior of Bash where the default operation differs from the "
- "@sc{posix} standard to match the standard. This is intended to make Bash "
- "behave as a strict superset of that standard. @xref{Bash POSIX Mode}, for a "
- "description of the Bash @sc{posix} mode."
- msgstr ""
- "Cambia el comportamiento de Bash donde su operación difiere del estandar "
- "@sc{posix} para que corresponda al estandar. Esto está pensado para hacer "
- "que Bash se comporte como un superconjunto de ese estandar. "
- "@xref{Bash POSIX Mode}, para una descripción del modo @sc{posix} de Bash."
- #. type: item
- #: bashref.texi:6243
- #, no-wrap
- msgid "--restricted"
- msgstr ""
- #. type: table
- #: bashref.texi:6245 bashref.texi:6284
- msgid "Make the shell a restricted shell (@pxref{The Restricted Shell})."
- msgstr "Hace del intérprete un intérprete restringido (@pxref{The Restricted Shell})."
- #. type: item
- #: bashref.texi:6246
- #, no-wrap
- msgid "--verbose"
- msgstr ""
- #. type: table
- #: bashref.texi:6248
- msgid "Equivalent to @option{-v}. Print shell input lines as they're read."
- msgstr "Equivalente a @option{-v}. Imprime las lineas de entrada del intérprete conforme son leídas."
- #. type: item
- #: bashref.texi:6249 bashref.texi:8152
- #, no-wrap
- msgid "--version"
- msgstr ""
- #. type: table
- #: bashref.texi:6252
- msgid ""
- "Show version information for this instance of Bash on the standard output "
- "and exit successfully."
- msgstr ""
- "Muestra información de esta instancia de Bash en la salida estandar y sale "
- "exitosamente."
- #. type: Plain text
- #: bashref.texi:6256
- msgid ""
- "There are several single-character options that may be supplied at "
- "invocation which are not available with the @code{set} builtin."
- msgstr ""
- "Hay varias opciones de un caracter que pueden ser proporcionadas en "
- "la llamada que no están disponibles con el @code{set} integrado."
- #. type: table
- #: bashref.texi:6266
- msgid ""
- "Read and execute commands from the first non-option argument "
- "@var{command_string}, then exit. If there are arguments after the "
- "@var{command_string}, the first argument is assigned to @code{$0} and any "
- "remaining arguments are assigned to the positional parameters. The "
- "assignment to @code{$0} sets the name of the shell, which is used in warning "
- "and error messages."
- msgstr ""
- "Leé y ejecuta ordenes desde el primer argumento que no es opción "
- "@var{command_string}, luego sale. Si hay parámetros despues de "
- "@var{command_string}, el primer parámetro es asignado a @code{$0} y cualquier "
- "parámetro restante es asignado a los parámetros posicionales. La asignación "
- "a @code{$0} fija el nombre del intérprete, que es usado en mensajes de error "
- "y de advertencia."
- #. type: table
- #: bashref.texi:6270
- msgid ""
- "Force the shell to run interactively. Interactive shells are described in "
- "@ref{Interactive Shells}."
- msgstr ""
- "Fuerza al intérprete a correr interactivamente. Los intérpretes intercativos "
- "se describen en @ref{Interactive Shells}."
- #. type: table
- #: bashref.texi:6281
- msgid ""
- "Make this shell act as if it had been directly invoked by login. When the "
- "shell is interactive, this is equivalent to starting a login shell with "
- "@samp{exec -l bash}. When the shell is not interactive, the login shell "
- "startup files will be executed. @samp{exec bash -l} or @samp{exec bash --"
- "login} will replace the current shell with a Bash login shell. @xref{Bash "
- "Startup Files}, for a description of the special behavior of a login shell."
- msgstr ""
- "Hace actuar al intérprete como si hubiese sido llamado directamente por login. "
- "Cuando el intérprete es interactivo, esto es equivalente a iniciar un intérprete "
- "de início de sesión con @samp{exec -l bash}. Cuando el intérprete no es "
- "interactivo, los archivos de inicio del intérprete de inicio de sesión serán "
- "ejecutados. @samp{exec bash -l} o @samp{exec bash --login} reemplazarán el "
- "intérprete actual con uno de inicio de sesión de Bash. @xref{Bash Startup Files},"
- ", para una descripcion del comportamiento especial de un intérprete de inicio de "
- "sesión."
- #. type: table
- #: bashref.texi:6290
- msgid ""
- "If this option is present, or if no arguments remain after option "
- "processing, then commands are read from the standard input. This option "
- "allows the positional parameters to be set when invoking an interactive "
- "shell."
- msgstr ""
- "Si esta opción está presente, o si no hay parámetros despues del procesamiento "
- "de opciones, las ordenes son leídas desde la entrada estandar. Esta opción "
- "permite fijar los parámetros posicionales cuando se está llamando a un intérprete "
- "interactivo."
- #. type: item
- #: bashref.texi:6291
- #, no-wrap
- msgid "-D"
- msgstr ""
- #. type: table
- #: bashref.texi:6298
- msgid ""
- "A list of all double-quoted strings preceded by @samp{$} is printed on the "
- "standard output. These are the strings that are subject to language "
- "translation when the current locale is not @code{C} or @code{POSIX} "
- "(@pxref{Locale Translation}). This implies the @option{-n} option; no "
- "commands will be executed."
- msgstr ""
- "Muestra una lista de todas las cadenas entre comillas dobles precedidas por "
- "@samp{$} en la salida estándar. Estas son las cadenas que están sujetas a la "
- "traducción de lenguaje cuando el locale actual no es @code{C} o @code{POSIX} "
- "(@pxref{Locale Translation}). Esto implica la opcion @option{-n}; ninguna "
- "orden será ejecutada."
- #. type: item
- #: bashref.texi:6299
- #, no-wrap
- msgid "[-+]O [@var{shopt_option}]"
- msgstr ""
- #. type: table
- #: bashref.texi:6308
- msgid ""
- "@var{shopt_option} is one of the shell options accepted by the @code{shopt} "
- "builtin (@pxref{The Shopt Builtin}). If @var{shopt_option} is present, "
- "@option{-O} sets the value of that option; @option{+O} unsets it. If "
- "@var{shopt_option} is not supplied, the names and values of the shell "
- "options accepted by @code{shopt} are printed on the standard output. If the "
- "invocation option is @option{+O}, the output is displayed in a format that "
- "may be reused as input."
- msgstr ""
- "@var{shopt_option} es una de las opciones del intérprete aceptadas por el "
- "integrado @code{shopt} (@pxref{The Shopt Builtin}). Si @var{shopt_option} "
- "está presente, @option{-O} asigna el valor de esa opción; @option{+O} lo "
- "desasigna. Si @var{shopt_option} no es proporcionado, los nombres y valores "
- "de las opciones del intérprete aceptadas por @code{shopt} son mostradas en la "
- "salida estandar. Si las opción de llamada es @option{+O}, la salida se muetra "
- "en un formato que puede ser reutilizado como entrada."
- #. type: table
- #: bashref.texi:6313
- msgid ""
- "A @code{--} signals the end of options and disables further option "
- "processing. Any arguments after the @code{--} are treated as filenames and "
- "arguments."
- msgstr ""
- "Un @code{--} señala el final de las opciones y desactiva el procesamiento de "
- "opciones mas a fondo. Cualquier parámetro despues de @code{--} son tomados como "
- "nombres de archivos y parámetros.
- #. type: cindex
- #: bashref.texi:6315
- #, no-wrap
- msgid "login shell"
- msgstr "intérprete de inicio de sesión"
- #. type: Plain text
- #: bashref.texi:6318
- msgid ""
- "A @emph{login} shell is one whose first character of argument zero is "
- "@samp{-}, or one invoked with the @option{--login} option."
- msgstr ""
- "Un intérprete de @emph{inicio de sesión} es aquel cuyo primer caracter de "
- "argumento cero es @samp{-}, o aquel llamado con la opción @option{--login}."
- #. type: cindex
- #: bashref.texi:6319 bashref.texi:6458
- #, no-wrap
- msgid "interactive shell"
- msgstr "intérprete interactivo"
- #. type: Plain text
- #: bashref.texi:6326
- msgid ""
- "An @emph{interactive} shell is one started without non-option arguments, "
- "unless @option{-s} is specified, without specifying the @option{-c} option, "
- "and whose input and output are both connected to terminals (as determined by "
- "@code{isatty(3)}), or one started with the @option{-i} option. "
- "@xref{Interactive Shells}, for more information."
- msgstr ""
- "Un intérprete @emph{interactivo} es aquel iniciado sin parámetros que no son "
- "opciones, a menos que @option{-s} sea especificado, sin especificar la opción "
- "@option{-c}, y cuya entrada y salida están conectadas a terminales (como está "
- "desterminado por @code{isatty(3)}), o aquel iniciado con la opción @option{-i}."
- " @xref{Interactive Shells}, para mas información."
- #. type: Plain text
- #: bashref.texi:6337
- msgid ""
- "If arguments remain after option processing, and neither the @option{-c} nor "
- "the @option{-s} option has been supplied, the first argument is assumed to "
- "be the name of a file containing shell commands (@pxref{Shell Scripts}). "
- "When Bash is invoked in this fashion, @code{$0} is set to the name of the "
- "file, and the positional parameters are set to the remaining arguments. "
- "Bash reads and executes commands from this file, then exits. Bash's exit "
- "status is the exit status of the last command executed in the script. If no "
- "commands are executed, the exit status is 0."
- msgstr ""
- "Si quedan parámetros despues del procesamiento de opciones, y ni la "
- "opción @option{-c} ni @option{-s} fueron proporcionadas, se asume que el "
- "primer parámetro es el nombre de un archivo que contiene ordenes de intérprete "
- "(@pxref{Shell Scripts}). Cuando Bash es llamado de esta manera, @code{$0} es "
- "asignado al nombre del archivo, y los parámetros poscionales son asignados a los "
- "parámetros restantes. Bash leé y ejecuta ordenes desde este archivo, y luego sale."
- " El estado de salida de Bash es el estado de salida de la última orden ejecutada "
- "en el script. Si no se ejecutaron ordenes, el estado de salida es 0."
- #. type: cindex
- #: bashref.texi:6340
- #, no-wrap
- msgid "startup files"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6346
- msgid ""
- "This section describes how Bash executes its startup files. If any of the "
- "files exist but cannot be read, Bash reports an error. Tildes are expanded "
- "in filenames as described above under Tilde Expansion (@pxref{Tilde "
- "Expansion})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6348
- msgid "Interactive shells are described in @ref{Interactive Shells}."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6349
- #, no-wrap
- msgid "Invoked as an interactive login shell, or with @option{--login}"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6359
- msgid ""
- "When Bash is invoked as an interactive login shell, or as a non-interactive "
- "shell with the @option{--login} option, it first reads and executes commands "
- "from the file @file{/etc/profile}, if that file exists. After reading that "
- "file, it looks for @file{~/.bash_profile}, @file{~/.bash_login}, and "
- "@file{~/.profile}, in that order, and reads and executes commands from the "
- "first one that exists and is readable. The @option{--noprofile} option may "
- "be used when the shell is started to inhibit this behavior."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6364
- msgid ""
- "When an interactive login shell exits, or a non-interactive login shell "
- "executes the @code{exit} builtin command, Bash reads and executes commands "
- "from the file @file{~/.bash_logout}, if it exists."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6365
- #, no-wrap
- msgid "Invoked as an interactive non-login shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6372
- msgid ""
- "When an interactive shell that is not a login shell is started, Bash reads "
- "and executes commands from @file{~/.bashrc}, if that file exists. This may "
- "be inhibited by using the @option{--norc} option. The @option{--rcfile "
- "@var{file}} option will force Bash to read and execute commands from "
- "@var{file} instead of @file{~/.bashrc}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6374
- msgid "So, typically, your @file{~/.bash_profile} contains the line"
- msgstr ""
- #. type: example
- #: bashref.texi:6376
- #, no-wrap
- msgid "@code{if [ -f ~/.bashrc ]; then . ~/.bashrc; fi}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6379
- msgid "after (or before) any login-specific initializations."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6380
- #, no-wrap
- msgid "Invoked non-interactively"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6387
- msgid ""
- "When Bash is started non-interactively, to run a shell script, for example, "
- "it looks for the variable @env{BASH_ENV} in the environment, expands its "
- "value if it appears there, and uses the expanded value as the name of a file "
- "to read and execute. Bash behaves as if the following command were executed:"
- msgstr ""
- #. type: example
- #: bashref.texi:6389
- #, no-wrap
- msgid "@code{if [ -n \"$BASH_ENV\" ]; then . \"$BASH_ENV\"; fi}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6393
- msgid ""
- "but the value of the @env{PATH} variable is not used to search for the "
- "filename."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6397
- msgid ""
- "As noted above, if a non-interactive shell is invoked with the @option{--"
- "login} option, Bash attempts to read and execute commands from the login "
- "shell startup files."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6398
- #, no-wrap
- msgid "Invoked with name @code{sh}"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6403
- msgid ""
- "If Bash is invoked with the name @code{sh}, it tries to mimic the startup "
- "behavior of historical versions of @code{sh} as closely as possible, while "
- "conforming to the @sc{posix} standard as well."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6417
- msgid ""
- "When invoked as an interactive login shell, or as a non-interactive shell "
- "with the @option{--login} option, it first attempts to read and execute "
- "commands from @file{/etc/profile} and @file{~/.profile}, in that order. The "
- "@option{--noprofile} option may be used to inhibit this behavior. When "
- "invoked as an interactive shell with the name @code{sh}, Bash looks for the "
- "variable @env{ENV}, expands its value if it is defined, and uses the "
- "expanded value as the name of a file to read and execute. Since a shell "
- "invoked as @code{sh} does not attempt to read and execute commands from any "
- "other startup files, the @option{--rcfile} option has no effect. A non-"
- "interactive shell invoked with the name @code{sh} does not attempt to read "
- "any other startup files."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6420
- msgid ""
- "When invoked as @code{sh}, Bash enters @sc{posix} mode after the startup "
- "files are read."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6421
- #, no-wrap
- msgid "Invoked in @sc{posix} mode"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6430
- msgid ""
- "When Bash is started in @sc{posix} mode, as with the @option{--posix} "
- "command line option, it follows the @sc{posix} standard for startup files. "
- "In this mode, interactive shells expand the @env{ENV} variable and commands "
- "are read and executed from the file whose name is the expanded value. No "
- "other startup files are read."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6431
- #, no-wrap
- msgid "Invoked by remote shell daemon"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6444
- msgid ""
- "Bash attempts to determine when it is being run with its standard input "
- "connected to a network connection, as when executed by the remote shell "
- "daemon, usually @code{rshd}, or the secure shell daemon @code{sshd}. If "
- "Bash determines it is being run in this fashion, it reads and executes "
- "commands from @file{~/.bashrc}, if that file exists and is readable. It "
- "will not do this if invoked as @code{sh}. The @option{--norc} option may be "
- "used to inhibit this behavior, and the @option{--rcfile} option may be used "
- "to force another file to be read, but neither @code{rshd} nor @code{sshd} "
- "generally invoke the shell with those options or allow them to be specified."
- msgstr ""
- #. type: subsubheading
- #: bashref.texi:6445
- #, no-wrap
- msgid "Invoked with unequal effective and real @sc{uid/gid}s"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6455
- msgid ""
- "If Bash is started with the effective user (group) id not equal to the real "
- "user (group) id, and the @option{-p} option is not supplied, no startup "
- "files are read, shell functions are not inherited from the environment, the "
- "@env{SHELLOPTS}, @env{BASHOPTS}, @env{CDPATH}, and @env{GLOBIGNORE} "
- "variables, if they appear in the environment, are ignored, and the effective "
- "user id is set to the real user id. If the @option{-p} option is supplied "
- "at invocation, the startup behavior is the same, but the effective user id "
- "is not reset."
- msgstr ""
- #. type: cindex
- #: bashref.texi:6459
- #, no-wrap
- msgid "shell, interactive"
- msgstr ""
- #. type: subsection
- #: bashref.texi:6465 bashref.texi:6467 bashref.texi:6468
- #, no-wrap
- msgid "What is an Interactive Shell?"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6465
- msgid "What determines whether a shell is Interactive."
- msgstr ""
- #. type: subsection
- #: bashref.texi:6465 bashref.texi:6483 bashref.texi:6484
- #, no-wrap
- msgid "Is this Shell Interactive?"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6465
- msgid "How to tell if a shell is interactive."
- msgstr ""
- #. type: subsection
- #: bashref.texi:6465 bashref.texi:6510 bashref.texi:6511
- #, no-wrap
- msgid "Interactive Shell Behavior"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:6465
- msgid "What changes in a interactive shell?"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6476
- msgid ""
- "An interactive shell is one started without non-option arguments, unless "
- "@option{-s} is specified, without specifying the @option{-c} option, and "
- "whose input and error output are both connected to terminals (as determined "
- "by @code{isatty(3)}), or one started with the @option{-i} option."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6479
- msgid ""
- "An interactive shell generally reads from and writes to a user's terminal."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6482
- msgid ""
- "The @option{-s} invocation option may be used to set the positional "
- "parameters when an interactive shell is started."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6490
- msgid ""
- "To determine within a startup script whether or not Bash is running "
- "interactively, test the value of the @samp{-} special parameter. It "
- "contains @code{i} when the shell is interactive. For example:"
- msgstr ""
- #. type: example
- #: bashref.texi:6496
- #, no-wrap
- msgid ""
- "case \"$-\" in\n"
- "*i*)\techo This shell is interactive ;;\n"
- "*)\techo This shell is not interactive ;;\n"
- "esac\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6501
- msgid ""
- "Alternatively, startup scripts may examine the variable @env{PS1}; it is "
- "unset in non-interactive shells, and set in interactive shells. Thus:"
- msgstr ""
- #. type: example
- #: bashref.texi:6508
- #, no-wrap
- msgid ""
- "if [ -z \"$PS1\" ]; then\n"
- " echo This shell is not interactive\n"
- "else\n"
- " echo This shell is interactive\n"
- "fi\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6515
- msgid ""
- "When the shell is running interactively, it changes its behavior in several "
- "ways."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6519
- msgid ""
- "Startup files are read and executed as described in @ref{Bash Startup Files}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6524
- msgid ""
- "Job Control (@pxref{Job Control}) is enabled by default. When job control "
- "is in effect, Bash ignores the keyboard-generated job control signals "
- "@code{SIGTTIN}, @code{SIGTTOU}, and @code{SIGTSTP}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6530
- msgid ""
- "Bash expands and displays @env{PS1} before reading the first line of a "
- "command, and expands and displays @env{PS2} before reading the second and "
- "subsequent lines of a multi-line command. Bash displays @env{PS0} after it "
- "reads a command but before executing it."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6535
- msgid ""
- "Bash executes the value of the @env{PROMPT_COMMAND} variable as a command "
- "before printing the primary prompt, @env{$PS1} (@pxref{Bash Variables})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6539
- msgid ""
- "Readline (@pxref{Command Line Editing}) is used to read commands from the "
- "user's terminal."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6544
- msgid ""
- "Bash inspects the value of the @code{ignoreeof} option to @code{set -o} "
- "instead of exiting immediately when it receives an @code{EOF} on its "
- "standard input when reading a command (@pxref{The Set Builtin})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6551
- msgid ""
- "Command history (@pxref{Bash History Facilities}) and history expansion "
- "(@pxref{History Interaction}) are enabled by default. Bash will save the "
- "command history to the file named by @env{$HISTFILE} when a shell with "
- "history enabled exits."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6554
- msgid "Alias expansion (@pxref{Aliases}) is performed by default."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6558
- msgid ""
- "In the absence of any traps, Bash ignores @code{SIGTERM} (@pxref{Signals})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6563
- msgid ""
- "In the absence of any traps, @code{SIGINT} is caught and handled "
- "((@pxref{Signals}). @code{SIGINT} will interrupt some shell builtins."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6567
- msgid ""
- "An interactive login shell sends a @code{SIGHUP} to all jobs on exit if the "
- "@code{huponexit} shell option has been enabled (@pxref{Signals})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6571
- msgid ""
- "The @option{-n} invocation option is ignored, and @samp{set -n} has no "
- "effect (@pxref{The Set Builtin})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6576
- msgid ""
- "Bash will check for mail periodically, depending on the values of the "
- "@env{MAIL}, @env{MAILPATH}, and @env{MAILCHECK} shell variables (@pxref{Bash "
- "Variables})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6581
- msgid ""
- "Expansion errors due to references to unbound shell variables after "
- "@samp{set -u} has been enabled will not cause the shell to exit (@pxref{The "
- "Set Builtin})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6586
- msgid ""
- "The shell will not exit on expansion errors caused by @var{var} being unset "
- "or null in @code{$@{@var{var}:?@var{word}@}} expansions (@pxref{Shell "
- "Parameter Expansion})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6590
- msgid ""
- "Redirection errors encountered by shell builtins will not cause the shell to "
- "exit."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6594
- msgid ""
- "When running in @sc{posix} mode, a special builtin returning an error status "
- "will not cause the shell to exit (@pxref{Bash POSIX Mode})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6598
- msgid ""
- "A failed @code{exec} will not cause the shell to exit (@pxref{Bourne Shell "
- "Builtins})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6601
- msgid "Parser syntax errors will not cause the shell to exit."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6606
- msgid ""
- "Simple spelling correction for directory arguments to the @code{cd} builtin "
- "is enabled by default (see the description of the @code{cdspell} option to "
- "the @code{shopt} builtin in @ref{The Shopt Builtin})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:6611
- msgid ""
- "The shell will check the value of the @env{TMOUT} variable and exit if a "
- "command is not read within the specified number of seconds after printing "
- "@env{$PS1} (@pxref{Bash Variables})."
- msgstr ""
- #. type: cindex
- #: bashref.texi:6616
- #, no-wrap
- msgid "expressions, conditional"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6620
- msgid ""
- "Conditional expressions are used by the @code{[[} compound command and the "
- "@code{test} and @code{[} builtin commands."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6634
- msgid ""
- "Expressions may be unary or binary. Unary expressions are often used to "
- "examine the status of a file. There are string operators and numeric "
- "comparison operators as well. Bash handles several filenames specially when "
- "they are used in expressions. If the operating system on which Bash is "
- "running provides these special files, Bash will use them; otherwise it will "
- "emulate them internally with this behavior: If the @var{file} argument to "
- "one of the primaries is of the form @file{/dev/fd/@var{N}}, then file "
- "descriptor @var{N} is checked. If the @var{file} argument to one of the "
- "primaries is one of @file{/dev/stdin}, @file{/dev/stdout}, or @file{/dev/"
- "stderr}, file descriptor 0, 1, or 2, respectively, is checked."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6638
- msgid ""
- "When used with @code{[[}, the @samp{<} and @samp{>} operators sort "
- "lexicographically using the current locale. The @code{test} command uses "
- "ASCII ordering."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6641
- msgid ""
- "Unless otherwise specified, primaries that operate on files follow symbolic "
- "links and operate on the target of the link, rather than the link itself."
- msgstr ""
- #. type: item
- #: bashref.texi:6643
- #, no-wrap
- msgid "-a @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6645 bashref.texi:6657
- msgid "True if @var{file} exists."
- msgstr ""
- #. type: item
- #: bashref.texi:6646
- #, no-wrap
- msgid "-b @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6648
- msgid "True if @var{file} exists and is a block special file."
- msgstr ""
- #. type: item
- #: bashref.texi:6649
- #, no-wrap
- msgid "-c @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6651
- msgid "True if @var{file} exists and is a character special file."
- msgstr ""
- #. type: item
- #: bashref.texi:6652
- #, no-wrap
- msgid "-d @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6654
- msgid "True if @var{file} exists and is a directory."
- msgstr ""
- #. type: item
- #: bashref.texi:6655
- #, no-wrap
- msgid "-e @var{file}"
- msgstr ""
- #. type: item
- #: bashref.texi:6658
- #, no-wrap
- msgid "-f @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6660
- msgid "True if @var{file} exists and is a regular file."
- msgstr ""
- #. type: item
- #: bashref.texi:6661
- #, no-wrap
- msgid "-g @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6663
- msgid "True if @var{file} exists and its set-group-id bit is set."
- msgstr ""
- #. type: item
- #: bashref.texi:6664
- #, no-wrap
- msgid "-h @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6666 bashref.texi:6696
- msgid "True if @var{file} exists and is a symbolic link."
- msgstr ""
- #. type: item
- #: bashref.texi:6667
- #, no-wrap
- msgid "-k @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6669
- msgid "True if @var{file} exists and its \"sticky\" bit is set."
- msgstr ""
- #. type: item
- #: bashref.texi:6670
- #, no-wrap
- msgid "-p @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6672
- msgid "True if @var{file} exists and is a named pipe (FIFO)."
- msgstr ""
- #. type: item
- #: bashref.texi:6673
- #, no-wrap
- msgid "-r @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6675
- msgid "True if @var{file} exists and is readable."
- msgstr ""
- #. type: item
- #: bashref.texi:6676
- #, no-wrap
- msgid "-s @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6678
- msgid "True if @var{file} exists and has a size greater than zero."
- msgstr ""
- #. type: item
- #: bashref.texi:6679
- #, no-wrap
- msgid "-t @var{fd}"
- msgstr ""
- #. type: table
- #: bashref.texi:6681
- msgid "True if file descriptor @var{fd} is open and refers to a terminal."
- msgstr ""
- #. type: item
- #: bashref.texi:6682
- #, no-wrap
- msgid "-u @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6684
- msgid "True if @var{file} exists and its set-user-id bit is set."
- msgstr ""
- #. type: item
- #: bashref.texi:6685
- #, no-wrap
- msgid "-w @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6687
- msgid "True if @var{file} exists and is writable."
- msgstr ""
- #. type: item
- #: bashref.texi:6688
- #, no-wrap
- msgid "-x @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6690
- msgid "True if @var{file} exists and is executable."
- msgstr ""
- #. type: item
- #: bashref.texi:6691
- #, no-wrap
- msgid "-G @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6693
- msgid "True if @var{file} exists and is owned by the effective group id."
- msgstr ""
- #. type: item
- #: bashref.texi:6694
- #, no-wrap
- msgid "-L @var{file}"
- msgstr ""
- #. type: item
- #: bashref.texi:6697
- #, no-wrap
- msgid "-N @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6699
- msgid "True if @var{file} exists and has been modified since it was last read."
- msgstr ""
- #. type: item
- #: bashref.texi:6700
- #, no-wrap
- msgid "-O @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6702
- msgid "True if @var{file} exists and is owned by the effective user id."
- msgstr ""
- #. type: item
- #: bashref.texi:6703
- #, no-wrap
- msgid "-S @var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:6705
- msgid "True if @var{file} exists and is a socket."
- msgstr ""
- #. type: item
- #: bashref.texi:6706
- #, no-wrap
- msgid "@var{file1} -ef @var{file2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6709
- msgid ""
- "True if @var{file1} and @var{file2} refer to the same device and inode "
- "numbers."
- msgstr ""
- #. type: item
- #: bashref.texi:6710
- #, no-wrap
- msgid "@var{file1} -nt @var{file2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6713
- msgid ""
- "True if @var{file1} is newer (according to modification date) than "
- "@var{file2}, or if @var{file1} exists and @var{file2} does not."
- msgstr ""
- #. type: item
- #: bashref.texi:6714
- #, no-wrap
- msgid "@var{file1} -ot @var{file2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6717
- msgid ""
- "True if @var{file1} is older than @var{file2}, or if @var{file2} exists and "
- "@var{file1} does not."
- msgstr ""
- #. type: item
- #: bashref.texi:6718
- #, no-wrap
- msgid "-o @var{optname}"
- msgstr ""
- #. type: table
- #: bashref.texi:6722
- msgid ""
- "True if the shell option @var{optname} is enabled. The list of options "
- "appears in the description of the @option{-o} option to the @code{set} "
- "builtin (@pxref{The Set Builtin})."
- msgstr ""
- #. type: item
- #: bashref.texi:6723
- #, no-wrap
- msgid "-v @var{varname}"
- msgstr ""
- #. type: table
- #: bashref.texi:6725
- msgid ""
- "True if the shell variable @var{varname} is set (has been assigned a value)."
- msgstr ""
- #. type: item
- #: bashref.texi:6726
- #, no-wrap
- msgid "-R @var{varname}"
- msgstr ""
- #. type: table
- #: bashref.texi:6728
- msgid ""
- "True if the shell variable @var{varname} is set and is a name reference."
- msgstr ""
- #. type: item
- #: bashref.texi:6729
- #, no-wrap
- msgid "-z @var{string}"
- msgstr ""
- #. type: table
- #: bashref.texi:6731
- msgid "True if the length of @var{string} is zero."
- msgstr ""
- #. type: item
- #: bashref.texi:6732
- #, no-wrap
- msgid "-n @var{string}"
- msgstr ""
- #. type: var{#1}
- #: bashref.texi:6733
- #, no-wrap
- msgid "string"
- msgstr ""
- #. type: table
- #: bashref.texi:6735
- msgid "True if the length of @var{string} is non-zero."
- msgstr ""
- #. type: item
- #: bashref.texi:6736
- #, no-wrap
- msgid "@var{string1} == @var{string2}"
- msgstr ""
- #. type: itemx
- #: bashref.texi:6737
- #, no-wrap
- msgid "@var{string1} = @var{string2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6741
- msgid ""
- "True if the strings are equal. When used with the @code{[[} command, this "
- "performs pattern matching as described above (@pxref{Conditional "
- "Constructs})."
- msgstr ""
- #. type: table
- #: bashref.texi:6743
- msgid ""
- "@samp{=} should be used with the @code{test} command for @sc{posix} "
- "conformance."
- msgstr ""
- #. type: item
- #: bashref.texi:6744
- #, no-wrap
- msgid "@var{string1} != @var{string2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6746
- msgid "True if the strings are not equal."
- msgstr ""
- #. type: item
- #: bashref.texi:6747
- #, no-wrap
- msgid "@var{string1} < @var{string2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6749
- msgid "True if @var{string1} sorts before @var{string2} lexicographically."
- msgstr ""
- #. type: item
- #: bashref.texi:6750
- #, no-wrap
- msgid "@var{string1} > @var{string2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6752
- msgid "True if @var{string1} sorts after @var{string2} lexicographically."
- msgstr ""
- #. type: item
- #: bashref.texi:6753
- #, no-wrap
- msgid "@var{arg1} OP @var{arg2}"
- msgstr ""
- #. type: table
- #: bashref.texi:6761
- msgid ""
- "@code{OP} is one of @samp{-eq}, @samp{-ne}, @samp{-lt}, @samp{-le}, @samp{-"
- "gt}, or @samp{-ge}. These arithmetic binary operators return true if "
- "@var{arg1} is equal to, not equal to, less than, less than or equal to, "
- "greater than, or greater than or equal to @var{arg2}, respectively. "
- "@var{Arg1} and @var{arg2} may be positive or negative integers."
- msgstr ""
- #. type: cindex
- #: bashref.texi:6765
- #, no-wrap
- msgid "arithmetic, shell"
- msgstr ""
- #. type: cindex
- #: bashref.texi:6766
- #, no-wrap
- msgid "shell arithmetic"
- msgstr ""
- #. type: cindex
- #: bashref.texi:6767
- #, no-wrap
- msgid "expressions, arithmetic"
- msgstr ""
- #. type: cindex
- #: bashref.texi:6768
- #, no-wrap
- msgid "evaluation, arithmetic"
- msgstr ""
- #. type: cindex
- #: bashref.texi:6769
- #, no-wrap
- msgid "arithmetic evaluation"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6774
- msgid ""
- "The shell allows arithmetic expressions to be evaluated, as one of the shell "
- "expansions or by using the @code{((} compound command, the @code{let} "
- "builtin, or the @option{-i} option to the @code{declare} builtin."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6782
- msgid ""
- "Evaluation is done in fixed-width integers with no check for overflow, "
- "though division by 0 is trapped and flagged as an error. The operators and "
- "their precedence, associativity, and values are the same as in the C "
- "language. The following list of operators is grouped into levels of equal-"
- "precedence operators. The levels are listed in order of decreasing "
- "precedence."
- msgstr ""
- #. type: item
- #: bashref.texi:6785
- #, no-wrap
- msgid "@var{id}++ @var{id}--"
- msgstr ""
- #. type: table
- #: bashref.texi:6787
- msgid "variable post-increment and post-decrement"
- msgstr ""
- #. type: item
- #: bashref.texi:6788
- #, no-wrap
- msgid "++@var{id} --@var{id}"
- msgstr ""
- #. type: table
- #: bashref.texi:6790
- msgid "variable pre-increment and pre-decrement"
- msgstr ""
- #. type: item
- #: bashref.texi:6791
- #, no-wrap
- msgid "- +"
- msgstr ""
- #. type: table
- #: bashref.texi:6793
- msgid "unary minus and plus"
- msgstr ""
- #. type: item
- #: bashref.texi:6794
- #, no-wrap
- msgid "! ~"
- msgstr ""
- #. type: table
- #: bashref.texi:6796
- msgid "logical and bitwise negation"
- msgstr ""
- #. type: item
- #: bashref.texi:6797
- #, no-wrap
- msgid "**"
- msgstr ""
- #. type: table
- #: bashref.texi:6799
- msgid "exponentiation"
- msgstr ""
- #. type: item
- #: bashref.texi:6800
- #, no-wrap
- msgid "* / %"
- msgstr ""
- #. type: table
- #: bashref.texi:6802
- msgid "multiplication, division, remainder"
- msgstr ""
- #. type: item
- #: bashref.texi:6803
- #, no-wrap
- msgid "+ -"
- msgstr ""
- #. type: table
- #: bashref.texi:6805
- msgid "addition, subtraction"
- msgstr ""
- #. type: item
- #: bashref.texi:6806
- #, no-wrap
- msgid "<< >>"
- msgstr ""
- #. type: table
- #: bashref.texi:6808
- msgid "left and right bitwise shifts"
- msgstr ""
- #. type: item
- #: bashref.texi:6809
- #, no-wrap
- msgid "<= >= < >"
- msgstr ""
- #. type: table
- #: bashref.texi:6811
- msgid "comparison"
- msgstr ""
- #. type: item
- #: bashref.texi:6812
- #, no-wrap
- msgid "== !="
- msgstr ""
- #. type: table
- #: bashref.texi:6814
- msgid "equality and inequality"
- msgstr ""
- #. type: item
- #: bashref.texi:6815
- #, no-wrap
- msgid "&"
- msgstr ""
- #. type: table
- #: bashref.texi:6817
- msgid "bitwise AND"
- msgstr ""
- #. type: item
- #: bashref.texi:6818
- #, no-wrap
- msgid "^"
- msgstr ""
- #. type: table
- #: bashref.texi:6820
- msgid "bitwise exclusive OR"
- msgstr ""
- #. type: item
- #: bashref.texi:6821
- #, no-wrap
- msgid "|"
- msgstr ""
- #. type: table
- #: bashref.texi:6823
- msgid "bitwise OR"
- msgstr ""
- #. type: item
- #: bashref.texi:6824
- #, no-wrap
- msgid "&&"
- msgstr ""
- #. type: table
- #: bashref.texi:6826
- msgid "logical AND"
- msgstr ""
- #. type: item
- #: bashref.texi:6827
- #, no-wrap
- msgid "||"
- msgstr ""
- #. type: table
- #: bashref.texi:6829
- msgid "logical OR"
- msgstr ""
- #. type: item
- #: bashref.texi:6830
- #, no-wrap
- msgid "expr ? expr : expr"
- msgstr ""
- #. type: table
- #: bashref.texi:6832
- msgid "conditional operator"
- msgstr ""
- #. type: item
- #: bashref.texi:6833
- #, no-wrap
- msgid "= *= /= %= += -= <<= >>= &= ^= |="
- msgstr ""
- #. type: table
- #: bashref.texi:6835
- msgid "assignment"
- msgstr ""
- #. type: item
- #: bashref.texi:6836
- #, no-wrap
- msgid "expr1 , expr2"
- msgstr ""
- #. type: table
- #: bashref.texi:6838
- msgid "comma"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6852
- msgid ""
- "Shell variables are allowed as operands; parameter expansion is performed "
- "before the expression is evaluated. Within an expression, shell variables "
- "may also be referenced by name without using the parameter expansion "
- "syntax. A shell variable that is null or unset evaluates to 0 when "
- "referenced by name without using the parameter expansion syntax. The value "
- "of a variable is evaluated as an arithmetic expression when it is "
- "referenced, or when a variable which has been given the @var{integer} "
- "attribute using @samp{declare -i} is assigned a value. A null value "
- "evaluates to 0. A shell variable need not have its @var{integer} attribute "
- "turned on to be used in an expression."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6865
- msgid ""
- "Constants with a leading 0 are interpreted as octal numbers. A leading "
- "@samp{0x} or @samp{0X} denotes hexadecimal. Otherwise, numbers take the "
- "form [@var{base}@code{#}]@var{n}, where the optional @var{base} is a decimal "
- "number between 2 and 64 representing the arithmetic base, and @var{n} is a "
- "number in that base. If @var{base}@code{#} is omitted, then base 10 is "
- "used. When specifying @var{n}, the digits greater than 9 are represented by "
- "the lowercase letters, the uppercase letters, @samp{@@}, and @samp{_}, in "
- "that order. If @var{base} is less than or equal to 36, lowercase and "
- "uppercase letters may be used interchangeably to represent numbers between "
- "10 and 35."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6869
- msgid ""
- "Operators are evaluated in order of precedence. Sub-expressions in "
- "parentheses are evaluated first and may override the precedence rules above."
- msgstr ""
- #. type: cindex
- #: bashref.texi:6872
- #, no-wrap
- msgid "alias expansion"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6878
- msgid ""
- "@var{Aliases} allow a string to be substituted for a word when it is used as "
- "the first word of a simple command. The shell maintains a list of aliases "
- "that may be set and unset with the @code{alias} and @code{unalias} builtin "
- "commands."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6896
- msgid ""
- "The first word of each simple command, if unquoted, is checked to see if it "
- "has an alias. If so, that word is replaced by the text of the alias. The "
- "characters @samp{/}, @samp{$}, @samp{`}, @samp{=} and any of the shell "
- "metacharacters or quoting characters listed above may not appear in an alias "
- "name. The replacement text may contain any valid shell input, including "
- "shell metacharacters. The first word of the replacement text is tested for "
- "aliases, but a word that is identical to an alias being expanded is not "
- "expanded a second time. This means that one may alias @code{ls} to "
- "@code{\"ls -F\"}, for instance, and Bash does not try to recursively expand "
- "the replacement text. If the last character of the alias value is a "
- "@var{blank}, then the next command word following the alias is also checked "
- "for alias expansion."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6899
- msgid ""
- "Aliases are created and listed with the @code{alias} command, and removed "
- "with the @code{unalias} command."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6904
- msgid ""
- "There is no mechanism for using arguments in the replacement text, as in "
- "@code{csh}. If arguments are needed, a shell function should be used "
- "(@pxref{Shell Functions})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6908
- msgid ""
- "Aliases are not expanded when the shell is not interactive, unless the "
- "@code{expand_aliases} shell option is set using @code{shopt} (@pxref{The "
- "Shopt Builtin})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6927
- msgid ""
- "The rules concerning the definition and use of aliases are somewhat "
- "confusing. Bash always reads at least one complete line of input before "
- "executing any of the commands on that line. Aliases are expanded when a "
- "command is read, not when it is executed. Therefore, an alias definition "
- "appearing on the same line as another command does not take effect until the "
- "next line of input is read. The commands following the alias definition on "
- "that line are not affected by the new alias. This behavior is also an issue "
- "when functions are executed. Aliases are expanded when a function "
- "definition is read, not when the function is executed, because a function "
- "definition is itself a command. As a consequence, aliases defined in a "
- "function are not available until after that function is executed. To be "
- "safe, always put alias definitions on a separate line, and do not use "
- "@code{alias} in compound commands."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6929
- msgid "For almost every purpose, shell functions are preferred over aliases."
- msgstr ""
- #. type: cindex
- #: bashref.texi:6932
- #, no-wrap
- msgid "arrays"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6944
- msgid ""
- "Bash provides one-dimensional indexed and associative array variables. Any "
- "variable may be used as an indexed array; the @code{declare} builtin will "
- "explicitly declare an array. There is no maximum limit on the size of an "
- "array, nor any requirement that members be indexed or assigned "
- "contiguously. Indexed arrays are referenced using integers (including "
- "arithmetic expressions (@pxref{Shell Arithmetic})) and are zero-based; "
- "associative arrays use arbitrary strings. Unless otherwise noted, indexed "
- "array indices must be non-negative integers."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6947
- msgid ""
- "An indexed array is created automatically if any variable is assigned to "
- "using the syntax"
- msgstr ""
- #. type: example
- #: bashref.texi:6949
- #, no-wrap
- msgid "@var{name}[@var{subscript}]=@var{value}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6955
- msgid ""
- "The @var{subscript} is treated as an arithmetic expression that must "
- "evaluate to a number. To explicitly declare an array, use"
- msgstr ""
- #. type: example
- #: bashref.texi:6957
- #, no-wrap
- msgid "declare -a @var{name}\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6960
- msgid "The syntax"
- msgstr ""
- #. type: example
- #: bashref.texi:6962
- #, no-wrap
- msgid "declare -a @var{name}[@var{subscript}]\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6965
- msgid "is also accepted; the @var{subscript} is ignored."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6968
- msgid "Associative arrays are created using"
- msgstr ""
- #. type: example
- #: bashref.texi:6970
- #, no-wrap
- msgid "declare -A @var{name}.\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6976
- msgid ""
- "Attributes may be specified for an array variable using the @code{declare} "
- "and @code{readonly} builtins. Each attribute applies to all members of an "
- "array."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6978
- msgid "Arrays are assigned to using compound assignments of the form"
- msgstr ""
- #. type: example
- #: bashref.texi:6980
- #, no-wrap
- msgid "@var{name}=(@var{value1} @var{value2} @dots{} )\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6989
- msgid ""
- "where each @var{value} is of the form @code{[@var{subscript}]=}"
- "@var{string}. Indexed array assignments do not require anything but "
- "@var{string}. When assigning to indexed arrays, if the optional subscript "
- "is supplied, that index is assigned to; otherwise the index of the element "
- "assigned is the last index assigned to by the statement plus one. Indexing "
- "starts at zero."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6991
- msgid "When assigning to an associative array, the subscript is required."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:6995
- msgid ""
- "This syntax is also accepted by the @code{declare} builtin. Individual "
- "array elements may be assigned to using the @code{@var{name}"
- "[@var{subscript}]=@var{value}} syntax introduced above."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7001
- msgid ""
- "When assigning to an indexed array, if @var{name} is subscripted by a "
- "negative number, that number is interpreted as relative to one greater than "
- "the maximum index of @var{name}, so negative indices count back from the end "
- "of the array, and an index of -1 references the last element."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7031
- msgid ""
- "Any element of an array may be referenced using @code{$@{@var{name}"
- "[@var{subscript}]@}}. The braces are required to avoid conflicts with the "
- "shell's filename expansion operators. If the @var{subscript} is @samp{@@} "
- "or @samp{*}, the word expands to all members of the array @var{name}. These "
- "subscripts differ only when the word appears within double quotes. If the "
- "word is double-quoted, @code{$@{@var{name}[*]@}} expands to a single word "
- "with the value of each array member separated by the first character of the "
- "@env{IFS} variable, and @code{$@{@var{name}[@@]@}} expands each element of "
- "@var{name} to a separate word. When there are no array members, "
- "@code{$@{@var{name}[@@]@}} expands to nothing. If the double-quoted "
- "expansion occurs within a word, the expansion of the first parameter is "
- "joined with the beginning part of the original word, and the expansion of "
- "the last parameter is joined with the last part of the original word. This "
- "is analogous to the expansion of the special parameters @samp{@@} and "
- "@samp{*}. @code{$@{#@var{name}[@var{subscript}]@}} expands to the length of "
- "@code{$@{@var{name}[@var{subscript}]@}}. If @var{subscript} is @samp{@@} or "
- "@samp{*}, the expansion is the number of elements in the array. If the "
- "@var{subscript} used to reference an element of an indexed array evaluates "
- "to a number less than zero, it is interpreted as relative to one greater "
- "than the maximum index of the array, so negative indices count back from the "
- "end of the array, and an index of -1 refers to the last element."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7036
- msgid ""
- "Referencing an array variable without a subscript is equivalent to "
- "referencing with a subscript of 0. Any reference to a variable using a "
- "valid subscript is legal, and @code{bash} will create an array if necessary."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7039
- msgid ""
- "An array variable is considered set if a subscript has been assigned a "
- "value. The null string is a valid value."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7045
- msgid ""
- "It is possible to obtain the keys (indices) of an array as well as the "
- "values. $@{!@var{name}[@@]@} and $@{!@var{name}[*]@} expand to the indices "
- "assigned in array variable @var{name}. The treatment when in double quotes "
- "is similar to the expansion of the special parameters @samp{@@} and @samp{*} "
- "within double quotes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7055
- msgid ""
- "The @code{unset} builtin is used to destroy arrays. @code{unset @var{name}"
- "[@var{subscript}]} destroys the array element at index @var{subscript}. "
- "Negative subscripts to indexed arrays are interpreted as described above. "
- "Care must be taken to avoid unwanted side effects caused by filename "
- "expansion. @code{unset @var{name}}, where @var{name} is an array, removes "
- "the entire array. A subscript of @samp{*} or @samp{@@} also removes the "
- "entire array."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7066
- msgid ""
- "The @code{declare}, @code{local}, and @code{readonly} builtins each accept a "
- "@option{-a} option to specify an indexed array and a @option{-A} option to "
- "specify an associative array. If both options are supplied, @option{-A} "
- "takes precedence. The @code{read} builtin accepts a @option{-a} option to "
- "assign a list of words read from the standard input to an array, and can "
- "read values from the standard input into individual array elements. The "
- "@code{set} and @code{declare} builtins display array values in a way that "
- "allows them to be reused as input."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7069
- #, no-wrap
- msgid "directory stack"
- msgstr ""
- #. type: subsection
- #: bashref.texi:7074 bashref.texi:7087 bashref.texi:7088
- #, no-wrap
- msgid "Directory Stack Builtins"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7074
- msgid "Bash builtin commands to manipulate the directory stack."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7083
- msgid ""
- "The directory stack is a list of recently-visited directories. The "
- "@code{pushd} builtin adds directories to the stack as it changes the current "
- "directory, and the @code{popd} builtin removes specified directories from "
- "the stack and changes the current directory to the directory removed. The "
- "@code{dirs} builtin displays the contents of the directory stack. The "
- "current directory is always the \"top\" of the directory stack."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7086
- msgid ""
- "The contents of the directory stack are also visible as the value of the "
- "@env{DIRSTACK} shell variable."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7092 bashref.texi:7093
- #, no-wrap
- msgid "dirs"
- msgstr ""
- #. type: example
- #: bashref.texi:7096
- #, no-wrap
- msgid "dirs [-clpv] [+@var{N} | -@var{N}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7102
- msgid ""
- "Display the list of currently remembered directories. Directories are added "
- "to the list with the @code{pushd} command; the @code{popd} command removes "
- "directories from the list. The current directory is always the first "
- "directory in the stack."
- msgstr ""
- #. type: table
- #: bashref.texi:7106
- msgid "Clears the directory stack by deleting all of the elements."
- msgstr ""
- #. type: table
- #: bashref.texi:7109
- msgid ""
- "Produces a listing using full pathnames; the default listing format uses a "
- "tilde to denote the home directory."
- msgstr ""
- #. type: table
- #: bashref.texi:7112
- msgid ""
- "Causes @code{dirs} to print the directory stack with one entry per line."
- msgstr ""
- #. type: table
- #: bashref.texi:7115
- msgid ""
- "Causes @code{dirs} to print the directory stack with one entry per line, "
- "prefixing each entry with its index in the stack."
- msgstr ""
- #. type: item
- #: bashref.texi:7115 bashref.texi:7141 bashref.texi:7164
- #, no-wrap
- msgid "+@var{N}"
- msgstr ""
- #. type: table
- #: bashref.texi:7119
- msgid ""
- "Displays the @var{N}th directory (counting from the left of the list printed "
- "by @code{dirs} when invoked without options), starting with zero."
- msgstr ""
- #. type: item
- #: bashref.texi:7119 bashref.texi:7144 bashref.texi:7168
- #, no-wrap
- msgid "-@var{N}"
- msgstr ""
- #. type: table
- #: bashref.texi:7123
- msgid ""
- "Displays the @var{N}th directory (counting from the right of the list "
- "printed by @code{dirs} when invoked without options), starting with zero."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7125 bashref.texi:7126
- #, no-wrap
- msgid "popd"
- msgstr ""
- #. type: example
- #: bashref.texi:7129
- #, no-wrap
- msgid "popd [-n] [+@var{N} | -@var{N}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7136
- msgid ""
- "When no arguments are given, @code{popd} removes the top directory from the "
- "stack and performs a @code{cd} to the new top directory. The elements are "
- "numbered from 0 starting at the first directory listed with @code{dirs}; "
- "that is, @code{popd} is equivalent to @code{popd +0}."
- msgstr ""
- #. type: table
- #: bashref.texi:7141
- msgid ""
- "Suppresses the normal change of directory when removing directories from the "
- "stack, so that only the stack is manipulated."
- msgstr ""
- #. type: table
- #: bashref.texi:7144
- msgid ""
- "Removes the @var{N}th directory (counting from the left of the list printed "
- "by @code{dirs}), starting with zero."
- msgstr ""
- #. type: table
- #: bashref.texi:7147
- msgid ""
- "Removes the @var{N}th directory (counting from the right of the list printed "
- "by @code{dirs}), starting with zero."
- msgstr ""
- #. type: item
- #: bashref.texi:7149 bashref.texi:7150
- #, no-wrap
- msgid "pushd"
- msgstr ""
- #. type: example
- #: bashref.texi:7153
- #, no-wrap
- msgid "pushd [-n] [@var{+N} | @var{-N} | @var{dir}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7159
- msgid ""
- "Save the current directory on the top of the directory stack and then "
- "@code{cd} to @var{dir}. With no arguments, @code{pushd} exchanges the top "
- "two directories and makes the new top the current directory."
- msgstr ""
- #. type: table
- #: bashref.texi:7164
- msgid ""
- "Suppresses the normal change of directory when rotating or adding "
- "directories to the stack, so that only the stack is manipulated."
- msgstr ""
- #. type: table
- #: bashref.texi:7168
- msgid ""
- "Brings the @var{N}th directory (counting from the left of the list printed "
- "by @code{dirs}, starting with zero) to the top of the list by rotating the "
- "stack."
- msgstr ""
- #. type: table
- #: bashref.texi:7172
- msgid ""
- "Brings the @var{N}th directory (counting from the right of the list printed "
- "by @code{dirs}, starting with zero) to the top of the list by rotating the "
- "stack."
- msgstr ""
- #. type: var{#1}
- #: bashref.texi:7172
- #, no-wrap
- msgid "dir"
- msgstr ""
- #. type: table
- #: bashref.texi:7176
- msgid ""
- "Makes @var{dir} be the top of the stack, making it the new current directory "
- "as if it had been supplied as an argument to the @code{cd} builtin."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7181
- #, no-wrap
- msgid "prompting"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7187
- msgid ""
- "The value of the variable @env{PROMPT_COMMAND} is examined just before Bash "
- "prints each primary prompt. If @env{PROMPT_COMMAND} is set and has a non-"
- "null value, then the value is executed just as if it had been typed on the "
- "command line."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7190
- msgid ""
- "In addition, the following table describes the special characters which can "
- "appear in the prompt variables @env{PS1} to @env{PS4}:"
- msgstr ""
- #. type: table
- #: bashref.texi:7194
- msgid "A bell character."
- msgstr ""
- #. type: item
- #: bashref.texi:7194
- #, no-wrap
- msgid "\\d"
- msgstr ""
- #. type: table
- #: bashref.texi:7196
- msgid "The date, in \"Weekday Month Date\" format (e.g., \"Tue May 26\")."
- msgstr ""
- #. type: item
- #: bashref.texi:7196
- #, no-wrap
- msgid "\\D@{@var{format}@}"
- msgstr ""
- #. type: table
- #: bashref.texi:7200
- msgid ""
- "The @var{format} is passed to @code{strftime}(3) and the result is inserted "
- "into the prompt string; an empty @var{format} results in a locale-specific "
- "time representation. The braces are required."
- msgstr ""
- #. type: table
- #: bashref.texi:7202
- msgid "An escape character."
- msgstr ""
- #. type: item
- #: bashref.texi:7202
- #, no-wrap
- msgid "\\h"
- msgstr ""
- #. type: table
- #: bashref.texi:7204
- msgid "The hostname, up to the first `.'."
- msgstr ""
- #. type: item
- #: bashref.texi:7204
- #, no-wrap
- msgid "\\H"
- msgstr ""
- #. type: table
- #: bashref.texi:7206
- msgid "The hostname."
- msgstr ""
- #. type: item
- #: bashref.texi:7206
- #, no-wrap
- msgid "\\j"
- msgstr ""
- #. type: table
- #: bashref.texi:7208
- msgid "The number of jobs currently managed by the shell."
- msgstr ""
- #. type: item
- #: bashref.texi:7208
- #, no-wrap
- msgid "\\l"
- msgstr ""
- #. type: table
- #: bashref.texi:7210
- msgid "The basename of the shell's terminal device name."
- msgstr ""
- #. type: table
- #: bashref.texi:7212
- msgid "A newline."
- msgstr ""
- #. type: table
- #: bashref.texi:7214
- msgid "A carriage return."
- msgstr ""
- #. type: item
- #: bashref.texi:7214
- #, no-wrap
- msgid "\\s"
- msgstr ""
- #. type: table
- #: bashref.texi:7217
- msgid ""
- "The name of the shell, the basename of @code{$0} (the portion following the "
- "final slash)."
- msgstr ""
- #. type: table
- #: bashref.texi:7219
- msgid "The time, in 24-hour HH:MM:SS format."
- msgstr ""
- #. type: item
- #: bashref.texi:7219
- #, no-wrap
- msgid "\\T"
- msgstr ""
- #. type: table
- #: bashref.texi:7221
- msgid "The time, in 12-hour HH:MM:SS format."
- msgstr ""
- #. type: item
- #: bashref.texi:7221
- #, no-wrap
- msgid "\\@@"
- msgstr ""
- #. type: table
- #: bashref.texi:7223
- msgid "The time, in 12-hour am/pm format."
- msgstr ""
- #. type: item
- #: bashref.texi:7223
- #, no-wrap
- msgid "\\A"
- msgstr ""
- #. type: table
- #: bashref.texi:7225
- msgid "The time, in 24-hour HH:MM format."
- msgstr ""
- #. type: item
- #: bashref.texi:7225
- #, no-wrap
- msgid "\\u"
- msgstr ""
- #. type: table
- #: bashref.texi:7227
- msgid "The username of the current user."
- msgstr ""
- #. type: table
- #: bashref.texi:7229
- msgid "The version of Bash (e.g., 2.00)"
- msgstr ""
- #. type: item
- #: bashref.texi:7229
- #, no-wrap
- msgid "\\V"
- msgstr ""
- #. type: table
- #: bashref.texi:7231
- msgid "The release of Bash, version + patchlevel (e.g., 2.00.0)"
- msgstr ""
- #. type: item
- #: bashref.texi:7231
- #, no-wrap
- msgid "\\w"
- msgstr ""
- #. type: table
- #: bashref.texi:7234
- msgid ""
- "The current working directory, with @env{$HOME} abbreviated with a tilde "
- "(uses the @env{$PROMPT_DIRTRIM} variable)."
- msgstr ""
- #. type: item
- #: bashref.texi:7234
- #, no-wrap
- msgid "\\W"
- msgstr ""
- #. type: table
- #: bashref.texi:7236
- msgid "The basename of @env{$PWD}, with @env{$HOME} abbreviated with a tilde."
- msgstr ""
- #. type: item
- #: bashref.texi:7236
- #, no-wrap
- msgid "\\!"
- msgstr ""
- #. type: table
- #: bashref.texi:7238
- msgid "The history number of this command."
- msgstr ""
- #. type: item
- #: bashref.texi:7238
- #, no-wrap
- msgid "\\#"
- msgstr ""
- #. type: table
- #: bashref.texi:7240
- msgid "The command number of this command."
- msgstr ""
- #. type: item
- #: bashref.texi:7240
- #, no-wrap
- msgid "\\$"
- msgstr ""
- #. type: table
- #: bashref.texi:7242
- msgid "If the effective uid is 0, @code{#}, otherwise @code{$}."
- msgstr ""
- #. type: table
- #: bashref.texi:7244
- msgid "The character whose ASCII code is the octal value @var{nnn}."
- msgstr ""
- #. type: table
- #: bashref.texi:7246
- msgid "A backslash."
- msgstr ""
- #. type: item
- #: bashref.texi:7246
- #, no-wrap
- msgid "\\["
- msgstr ""
- #. type: table
- #: bashref.texi:7249
- msgid ""
- "Begin a sequence of non-printing characters. This could be used to embed a "
- "terminal control sequence into the prompt."
- msgstr ""
- #. type: item
- #: bashref.texi:7249
- #, no-wrap
- msgid "\\]"
- msgstr ""
- #. type: table
- #: bashref.texi:7251
- msgid "End a sequence of non-printing characters."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7259
- msgid ""
- "The command number and the history number are usually different: the history "
- "number of a command is its position in the history list, which may include "
- "commands restored from the history file (@pxref{Bash History Facilities}), "
- "while the command number is the position in the sequence of commands "
- "executed during the current shell session."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7264
- msgid ""
- "After the string is decoded, it is expanded via parameter expansion, command "
- "substitution, arithmetic expansion, and quote removal, subject to the value "
- "of the @code{promptvars} shell option (@pxref{Bash Builtins})."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7267
- #, no-wrap
- msgid "restricted shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7278
- msgid ""
- "If Bash is started with the name @code{rbash}, or the @option{--restricted} "
- "or @option{-r} option is supplied at invocation, the shell becomes "
- "restricted. A restricted shell is used to set up an environment more "
- "controlled than the standard shell. A restricted shell behaves identically "
- "to @code{bash} with the exception that the following are disallowed or not "
- "performed:"
- msgstr ""
- #. type: itemize
- #: bashref.texi:7282
- msgid "Changing directories with the @code{cd} builtin."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7285
- msgid ""
- "Setting or unsetting the values of the @env{SHELL}, @env{PATH}, @env{ENV}, "
- "or @env{BASH_ENV} variables."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7287
- msgid "Specifying command names containing slashes."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7290
- msgid ""
- "Specifying a filename containing a slash as an argument to the @code{.} "
- "builtin command."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7293
- msgid ""
- "Specifying a filename containing a slash as an argument to the @option{-p} "
- "option to the @code{hash} builtin command."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7295
- msgid "Importing function definitions from the shell environment at startup."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7297
- msgid ""
- "Parsing the value of @env{SHELLOPTS} from the shell environment at startup."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7300
- msgid ""
- "Redirecting output using the @samp{>}, @samp{>|}, @samp{<>}, @samp{>&}, "
- "@samp{&>}, and @samp{>>} redirection operators."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7302
- msgid ""
- "Using the @code{exec} builtin to replace the shell with another command."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7305
- msgid ""
- "Adding or deleting builtin commands with the @option{-f} and @option{-d} "
- "options to the @code{enable} builtin."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7307
- msgid ""
- "Using the @code{enable} builtin command to enable disabled shell builtins."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7309
- msgid "Specifying the @option{-p} option to the @code{command} builtin."
- msgstr ""
- #. type: itemize
- #: bashref.texi:7311
- msgid ""
- "Turning off restricted mode with @samp{set +r} or @samp{set +o restricted}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7314
- msgid "These restrictions are enforced after any startup files are read."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7318
- msgid ""
- "When a command that is found to be a shell script is executed (@pxref{Shell "
- "Scripts}), @code{rbash} turns off any restrictions in the shell spawned to "
- "execute the script."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7321
- #, no-wrap
- msgid "POSIX Mode"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7327
- msgid ""
- "Starting Bash with the @option{--posix} command-line option or executing "
- "@samp{set -o posix} while Bash is running will cause Bash to conform more "
- "closely to the @sc{posix} standard by changing the behavior to match that "
- "specified by @sc{posix} in areas where the Bash default differs."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7330
- msgid ""
- "When invoked as @code{sh}, Bash enters @sc{posix} mode after reading the "
- "startup files."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7332
- msgid ""
- "The following list is what's changed when `@sc{posix} mode' is in effect:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7338
- msgid ""
- "When a command in the hash table no longer exists, Bash will re-search "
- "@env{$PATH} to find the new location. This is also available with "
- "@samp{shopt -s checkhash}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7342
- msgid ""
- "The message printed by the job control code and builtins when a job exits "
- "with a non-zero status is `Done(status)'."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7347
- msgid ""
- "The message printed by the job control code and builtins when a job is "
- "stopped is `Stopped(@var{signame})', where @var{signame} is, for example, "
- "@code{SIGTSTP}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7350
- msgid "Alias expansion is always enabled, even in non-interactive shells."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7354
- msgid ""
- "Reserved words appearing in a context where reserved words are recognized do "
- "not undergo alias expansion."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7360
- msgid ""
- "The @sc{posix} @env{PS1} and @env{PS2} expansions of @samp{!} to the history "
- "number and @samp{!!} to @samp{!} are enabled, and parameter expansion is "
- "performed on the values of @env{PS1} and @env{PS2} regardless of the setting "
- "of the @code{promptvars} option."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7364
- msgid ""
- "The @sc{posix} startup files are executed (@env{$ENV}) rather than the "
- "normal Bash files."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7368
- msgid ""
- "Tilde expansion is only performed on assignments preceding a command name, "
- "rather than on all assignment statements on the line."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7372
- msgid ""
- "The default history file is @file{~/.sh_history} (this is the default value "
- "of @env{$HISTFILE})."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7376
- msgid ""
- "Redirection operators do not perform filename expansion on the word in the "
- "redirection unless the shell is interactive."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7380
- msgid ""
- "Redirection operators do not perform word splitting on the word in the "
- "redirection."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7386
- msgid ""
- "Function names must be valid shell @code{name}s. That is, they may not "
- "contain characters other than letters, digits, and underscores, and may not "
- "start with a digit. Declaring a function with an invalid name causes a "
- "fatal syntax error in non-interactive shells."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7390
- msgid ""
- "Function names may not be the same as one of the @sc{posix} special builtins."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7394
- msgid ""
- "@sc{posix} special builtins are found before shell functions during command "
- "lookup."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7398
- msgid ""
- "When printing shell function definitions (e.g., by @code{type}), Bash does "
- "not print the @code{function} keyword."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7403
- msgid ""
- "Literal tildes that appear as the first character in elements of the "
- "@env{PATH} variable are not expanded as described above under @ref{Tilde "
- "Expansion}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7409
- msgid ""
- "The @code{time} reserved word may be used by itself as a command. When used "
- "in this way, it displays timing statistics for the shell and its completed "
- "children. The @env{TIMEFORMAT} variable controls the format of the timing "
- "information."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7416
- msgid ""
- "When parsing and expanding a $@{@dots{}@} expansion that appears within "
- "double quotes, single quotes are no longer special and cannot be used to "
- "quote a closing brace or other special character, unless the operator is one "
- "of those defined to perform pattern removal. In this case, they do not have "
- "to appear as matched pairs."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7420
- msgid ""
- "The parser does not recognize @code{time} as a reserved word if the next "
- "token begins with a @samp{-}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7424
- msgid ""
- "The @samp{!} character does not introduce history expansion within a double-"
- "quoted string, even if the @code{histexpand} option is enabled."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7431
- msgid ""
- "If a @sc{posix} special builtin returns an error status, a non-interactive "
- "shell exits. The fatal errors are those listed in the @sc{posix} standard, "
- "and include things like passing incorrect options, redirection errors, "
- "variable assignment errors for assignments preceding the command name, and "
- "so on."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7438
- msgid ""
- "A non-interactive shell exits with an error status if a variable assignment "
- "error occurs when no command name follows the assignment statements. A "
- "variable assignment error occurs, for example, when trying to assign a value "
- "to a readonly variable."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7443
- msgid ""
- "A non-interactive shell exits with an error status if a variable assignment "
- "error occurs in an assignment statement preceding a special builtin, but not "
- "with any other simple command."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7448
- msgid ""
- "A non-interactive shell exits with an error status if the iteration variable "
- "in a @code{for} statement or the selection variable in a @code{select} "
- "statement is a readonly variable."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7452
- msgid ""
- "Non-interactive shells exit if @var{filename} in @code{.} @var{filename} is "
- "not found."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7456
- msgid ""
- "Non-interactive shells exit if a syntax error in an arithmetic expansion "
- "results in an invalid expression."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7459
- msgid "Non-interactive shells exit if a parameter expansion error occurs."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7464
- msgid ""
- "Non-interactive shells exit if there is a syntax error in a script read with "
- "the @code{.} or @code{source} builtins, or in a string processed by the "
- "@code{eval} builtin."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7467
- msgid "Process substitution is not available."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7471
- msgid ""
- "While variable indirection is available, it may not be applied to the "
- "@samp{#} and @samp{?} special parameters."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7476
- msgid ""
- "When expanding the @samp{*} special parameter in a pattern context where the "
- "expansion is double-quoted does not treat the @code{$*} as if it were double-"
- "quoted."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7480
- msgid ""
- "Assignment statements preceding @sc{posix} special builtins persist in the "
- "shell environment after the builtin completes."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7485
- msgid ""
- "Assignment statements preceding shell function calls persist in the shell "
- "environment after the function returns, as if a @sc{posix} special builtin "
- "command had been executed."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7491
- msgid ""
- "The @code{command} builtin does not prevent builtins that take assignment "
- "statements as arguments from expanding them as assignment statements; when "
- "not in @sc{posix} mode, assignment builtins lose their assignment statement "
- "expansion properties when preceded by @code{command}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7496
- msgid ""
- "The @code{bg} builtin uses the required format to describe each job placed "
- "in the background, which does not include an indication of whether the job "
- "is the current or previous job."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7500
- msgid ""
- "The output of @samp{kill -l} prints all the signal names on a single line, "
- "separated by spaces, without the @samp{SIG} prefix."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7504
- msgid ""
- "The @code{kill} builtin does not accept signal names with a @samp{SIG} "
- "prefix."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7508
- msgid ""
- "The @code{export} and @code{readonly} builtin commands display their output "
- "in the format required by @sc{posix}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7512
- msgid ""
- "The @code{trap} builtin displays signal names without the leading @code{SIG}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7520
- msgid ""
- "The @code{trap} builtin doesn't check the first argument for a possible "
- "signal specification and revert the signal handling to the original "
- "disposition if it is, unless that argument consists solely of digits and is "
- "a valid signal number. If users want to reset the handler for a given "
- "signal to the original disposition, they should use @samp{-} as the first "
- "argument."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7524
- msgid ""
- "The @code{.} and @code{source} builtins do not search the current directory "
- "for the filename argument if it is not found by searching @env{PATH}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7532
- msgid ""
- "Enabling @sc{posix} mode has the effect of setting the "
- "@code{inherit_errexit} option, so subshells spawned to execute command "
- "substitutions inherit the value of the @option{-e} option from the parent "
- "shell. When the @code{inherit_errexit} option is not enabled, Bash clears "
- "the @option{-e} option in such subshells."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7537
- msgid ""
- "When the @code{alias} builtin displays alias definitions, it does not "
- "display them with a leading @samp{alias } unless the @option{-p} option is "
- "supplied."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7541
- msgid ""
- "When the @code{set} builtin is invoked without options, it does not display "
- "shell function names and definitions."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7546
- msgid ""
- "When the @code{set} builtin is invoked without options, it displays variable "
- "values without quotes, unless they contain shell metacharacters, even if the "
- "result contains nonprinting characters."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7552
- msgid ""
- "When the @code{cd} builtin is invoked in @var{logical} mode, and the "
- "pathname constructed from @code{$PWD} and the directory name supplied as an "
- "argument does not refer to an existing directory, @code{cd} will fail "
- "instead of falling back to @var{physical} mode."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7557
- msgid ""
- "The @code{pwd} builtin verifies that the value it prints is the same as the "
- "current directory, even if it is not asked to check the file system with the "
- "@option{-P} option."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7561
- msgid ""
- "When listing the history, the @code{fc} builtin does not include an "
- "indication of whether or not a history entry has been modified."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7564
- msgid "The default editor used by @code{fc} is @code{ed}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7569
- msgid ""
- "The @code{type} and @code{command} builtins will not report a non-executable "
- "file as having been found, though the shell will attempt to execute such a "
- "file if it is the only so-named file found in @code{$PATH}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7574
- msgid ""
- "The @code{vi} editing mode will invoke the @code{vi} editor directly when "
- "the @samp{v} command is run, instead of checking @code{$VISUAL} and "
- "@code{$EDITOR}."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7579
- msgid ""
- "When the @code{xpg_echo} option is enabled, Bash does not attempt to "
- "interpret any arguments to @code{echo} as options. Each argument is "
- "displayed, after escape characters are converted."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7583
- msgid ""
- "The @code{ulimit} builtin uses a block size of 512 bytes for the @option{-c} "
- "and @option{-f} options."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7588
- msgid ""
- "The arrival of @code{SIGCHLD} when a trap is set on @code{SIGCHLD} does not "
- "interrupt the @code{wait} builtin and cause it to return immediately. The "
- "trap command is run once for each child that exits."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7594
- msgid ""
- "The @code{read} builtin may be interrupted by a signal for which a trap has "
- "been set. If Bash receives a trapped signal while executing @code{read}, "
- "the trap handler executes and @code{read} returns an exit status greater "
- "than 128."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7598
- msgid ""
- "Bash removes an exited background process's status from the list of such "
- "statuses after the @code{wait} builtin is used to obtain it."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7604
- msgid ""
- "There is other @sc{posix} behavior that Bash does not implement by default "
- "even when in @sc{posix} mode. Specifically:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7611
- msgid ""
- "The @code{fc} builtin checks @code{$EDITOR} as a program to edit history "
- "entries if @code{FCEDIT} is unset, rather than defaulting directly to "
- "@code{ed}. @code{fc} uses @code{ed} if @code{EDITOR} is unset."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7615
- msgid ""
- "As noted above, Bash requires the @code{xpg_echo} option to be enabled for "
- "the @code{echo} builtin to be fully conformant."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7621
- msgid ""
- "Bash can be configured to be @sc{posix}-conformant by default, by specifying "
- "the @option{--enable-strict-posix-default} to @code{configure} when building "
- "(@pxref{Optional Features})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7627
- msgid ""
- "This chapter discusses what job control is, how it works, and how Bash "
- "allows you to access its facilities."
- msgstr ""
- #. type: section
- #: bashref.texi:7634 bashref.texi:7636 bashref.texi:7637
- #, no-wrap
- msgid "Job Control Basics"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7634
- msgid "How job control works."
- msgstr ""
- #. type: section
- #: bashref.texi:7634 bashref.texi:7741 bashref.texi:7742
- #, no-wrap
- msgid "Job Control Builtins"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7634
- msgid "Bash builtin commands used to interact with job control."
- msgstr ""
- #. type: section
- #: bashref.texi:7634 bashref.texi:7884 bashref.texi:7885
- #, no-wrap
- msgid "Job Control Variables"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7634
- msgid "Variables Bash uses to customize job control."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7639
- #, no-wrap
- msgid "foreground"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7640
- #, no-wrap
- msgid "background"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7641
- #, no-wrap
- msgid "suspending jobs"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7649
- msgid ""
- "Job control refers to the ability to selectively stop (suspend) the "
- "execution of processes and continue (resume) their execution at a later "
- "point. A user typically employs this facility via an interactive interface "
- "supplied jointly by the operating system kernel's terminal driver and Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7655
- msgid ""
- "The shell associates a @var{job} with each pipeline. It keeps a table of "
- "currently executing jobs, which may be listed with the @code{jobs} command. "
- "When Bash starts a job asynchronously, it prints a line that looks like:"
- msgstr ""
- #. type: example
- #: bashref.texi:7657
- #, no-wrap
- msgid "[1] 25647\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7664
- msgid ""
- "indicating that this job is job number 1 and that the process @sc{id} of the "
- "last process in the pipeline associated with this job is 25647. All of the "
- "processes in a single pipeline are members of the same job. Bash uses the "
- "@var{job} abstraction as the basis for job control."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7680
- msgid ""
- "To facilitate the implementation of the user interface to job control, the "
- "operating system maintains the notion of a current terminal process group "
- "@sc{id}. Members of this process group (processes whose process group "
- "@sc{id} is equal to the current terminal process group @sc{id}) receive "
- "keyboard-generated signals such as @code{SIGINT}. These processes are said "
- "to be in the foreground. Background processes are those whose process group "
- "@sc{id} differs from the terminal's; such processes are immune to keyboard-"
- "generated signals. Only foreground processes are allowed to read from or, "
- "if the user so specifies with @code{stty tostop}, write to the terminal. "
- "Background processes which attempt to read from (write to when @code{stty "
- "tostop} is in effect) the terminal are sent a @code{SIGTTIN} "
- "(@code{SIGTTOU}) signal by the kernel's terminal driver, which, unless "
- "caught, suspends the process."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7694
- msgid ""
- "If the operating system on which Bash is running supports job control, Bash "
- "contains facilities to use it. Typing the @var{suspend} character "
- "(typically @samp{^Z}, Control-Z) while a process is running causes that "
- "process to be stopped and returns control to Bash. Typing the @var{delayed "
- "suspend} character (typically @samp{^Y}, Control-Y) causes the process to be "
- "stopped when it attempts to read input from the terminal, and control to be "
- "returned to Bash. The user then manipulates the state of this job, using "
- "the @code{bg} command to continue it in the background, the @code{fg} "
- "command to continue it in the foreground, or the @code{kill} command to kill "
- "it. A @samp{^Z} takes effect immediately, and has the additional side "
- "effect of causing pending output and typeahead to be discarded."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7697
- msgid ""
- "There are a number of ways to refer to a job in the shell. The character "
- "@samp{%} introduces a job specification (@var{jobspec})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7710
- msgid ""
- "Job number @code{n} may be referred to as @samp{%n}. The symbols @samp{%%} "
- "and @samp{%+} refer to the shell's notion of the current job, which is the "
- "last job stopped while it was in the foreground or started in the "
- "background. A single @samp{%} (with no accompanying job specification) also "
- "refers to the current job. The previous job may be referenced using "
- "@samp{%-}. If there is only a single job, @samp{%+} and @samp{%-} can both "
- "be used to refer to that job. In output pertaining to jobs (e.g., the "
- "output of the @code{jobs} command), the current job is always flagged with a "
- "@samp{+}, and the previous job with a @samp{-}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7718
- msgid ""
- "A job may also be referred to using a prefix of the name used to start it, "
- "or using a substring that appears in its command line. For example, "
- "@samp{%ce} refers to a stopped @code{ce} job. Using @samp{%?ce}, on the "
- "other hand, refers to any job containing the string @samp{ce} in its command "
- "line. If the prefix or substring matches more than one job, Bash reports an "
- "error."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7723
- msgid ""
- "Simply naming a job can be used to bring it into the foreground: @samp{%1} "
- "is a synonym for @samp{fg %1}, bringing job 1 from the background into the "
- "foreground. Similarly, @samp{%1 &} resumes job 1 in the background, "
- "equivalent to @samp{bg %1}"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7732
- msgid ""
- "The shell learns immediately whenever a job changes state. Normally, Bash "
- "waits until it is about to print a prompt before reporting changes in a "
- "job's status so as to not interrupt any other output. If the @option{-b} "
- "option to the @code{set} builtin is enabled, Bash reports such changes "
- "immediately (@pxref{The Set Builtin}). Any trap on @code{SIGCHLD} is "
- "executed for each child process that exits."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7740
- msgid ""
- "If an attempt to exit Bash is made while jobs are stopped, (or running, if "
- "the @code{checkjobs} option is enabled -- see @ref{The Shopt Builtin}), the "
- "shell prints a warning message, and if the @code{checkjobs} option is "
- "enabled, lists the jobs and their statuses. The @code{jobs} command may "
- "then be used to inspect their status. If a second attempt to exit is made "
- "without an intervening command, Bash does not print another warning, and any "
- "stopped jobs are terminated."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7746 bashref.texi:7747
- #, no-wrap
- msgid "bg"
- msgstr ""
- #. type: example
- #: bashref.texi:7750
- #, no-wrap
- msgid "bg [@var{jobspec} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7759
- msgid ""
- "Resume each suspended job @var{jobspec} in the background, as if it had been "
- "started with @samp{&}. If @var{jobspec} is not supplied, the current job is "
- "used. The return status is zero unless it is run when job control is not "
- "enabled, or, when run with job control enabled, any @var{jobspec} was not "
- "found or specifies a job that was started without job control."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7760 bashref.texi:7761
- #, no-wrap
- msgid "fg"
- msgstr ""
- #. type: example
- #: bashref.texi:7764
- #, no-wrap
- msgid "fg [@var{jobspec}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7772
- msgid ""
- "Resume the job @var{jobspec} in the foreground and make it the current job. "
- "If @var{jobspec} is not supplied, the current job is used. The return "
- "status is that of the command placed into the foreground, or non-zero if run "
- "when job control is disabled or, when run with job control enabled, "
- "@var{jobspec} does not specify a valid job or @var{jobspec} specifies a job "
- "that was started without job control."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7773 bashref.texi:7774
- #, no-wrap
- msgid "jobs"
- msgstr ""
- #. type: example
- #: bashref.texi:7778
- #, no-wrap
- msgid ""
- "jobs [-lnprs] [@var{jobspec}]\n"
- "jobs -x @var{command} [@var{arguments}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7782
- msgid ""
- "The first form lists the active jobs. The options have the following "
- "meanings:"
- msgstr ""
- #. type: table
- #: bashref.texi:7786
- msgid "List process @sc{id}s in addition to the normal information."
- msgstr ""
- #. type: table
- #: bashref.texi:7790
- msgid ""
- "Display information only about jobs that have changed status since the user "
- "was last notified of their status."
- msgstr ""
- #. type: table
- #: bashref.texi:7793
- msgid "List only the process @sc{id} of the job's process group leader."
- msgstr ""
- #. type: table
- #: bashref.texi:7796
- msgid "Display only running jobs."
- msgstr ""
- #. type: table
- #: bashref.texi:7799
- msgid "Display only stopped jobs."
- msgstr ""
- #. type: table
- #: bashref.texi:7805
- msgid ""
- "If @var{jobspec} is given, output is restricted to information about that "
- "job. If @var{jobspec} is not supplied, the status of all jobs is listed."
- msgstr ""
- #. type: table
- #: bashref.texi:7810
- msgid ""
- "If the @option{-x} option is supplied, @code{jobs} replaces any "
- "@var{jobspec} found in @var{command} or @var{arguments} with the "
- "corresponding process group @sc{id}, and executes @var{command}, passing it "
- "@var{argument}s, returning its exit status."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7811 bashref.texi:7812
- #, no-wrap
- msgid "kill"
- msgstr ""
- #. type: example
- #: bashref.texi:7816
- #, no-wrap
- msgid ""
- "kill [-s @var{sigspec}] [-n @var{signum}] [-@var{sigspec}] @var{jobspec} or @var{pid}\n"
- "kill -l|-L [@var{exit_status}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7833
- msgid ""
- "Send a signal specified by @var{sigspec} or @var{signum} to the process "
- "named by job specification @var{jobspec} or process @sc{id} @var{pid}. "
- "@var{sigspec} is either a case-insensitive signal name such as @code{SIGINT} "
- "(with or without the @code{SIG} prefix) or a signal number; @var{signum} is "
- "a signal number. If @var{sigspec} and @var{signum} are not present, "
- "@code{SIGTERM} is used. The @option{-l} option lists the signal names. If "
- "any arguments are supplied when @option{-l} is given, the names of the "
- "signals corresponding to the arguments are listed, and the return status is "
- "zero. @var{exit_status} is a number specifying a signal number or the exit "
- "status of a process terminated by a signal. The @option{-L} option is "
- "equivalent to @option{-l}. The return status is zero if at least one signal "
- "was successfully sent, or non-zero if an error occurs or an invalid option "
- "is encountered."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7834 bashref.texi:7835
- #, no-wrap
- msgid "wait"
- msgstr ""
- #. type: example
- #: bashref.texi:7838
- #, no-wrap
- msgid "wait [-n] [@var{jobspec} or @var{pid} @dots{}]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7850
- msgid ""
- "Wait until the child process specified by each process @sc{id} @var{pid} or "
- "job specification @var{jobspec} exits and return the exit status of the last "
- "command waited for. If a job spec is given, all processes in the job are "
- "waited for. If no arguments are given, all currently active child processes "
- "are waited for, and the return status is zero. If the @option{-n} option is "
- "supplied, @code{wait} waits for any job to terminate and returns its exit "
- "status. If neither @var{jobspec} nor @var{pid} specifies an active child "
- "process of the shell, the return status is 127."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7851 bashref.texi:7852
- #, no-wrap
- msgid "disown"
- msgstr ""
- #. type: example
- #: bashref.texi:7855
- #, no-wrap
- msgid "disown [-ar] [-h] [@var{jobspec} @dots{} | @var{pid} @dots{} ]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7867
- msgid ""
- "Without options, remove each @var{jobspec} from the table of active jobs. "
- "If the @option{-h} option is given, the job is not removed from the table, "
- "but is marked so that @code{SIGHUP} is not sent to the job if the shell "
- "receives a @code{SIGHUP}. If @var{jobspec} is not present, and neither the "
- "@option{-a} nor the @option{-r} option is supplied, the current job is "
- "used. If no @var{jobspec} is supplied, the @option{-a} option means to "
- "remove or mark all jobs; the @option{-r} option without a @var{jobspec} "
- "argument restricts operation to running jobs."
- msgstr ""
- #. type: btindex
- #: bashref.texi:7868 bashref.texi:7869
- #, no-wrap
- msgid "suspend"
- msgstr ""
- #. type: example
- #: bashref.texi:7872
- #, no-wrap
- msgid "suspend [-f]\n"
- msgstr ""
- #. type: table
- #: bashref.texi:7878
- msgid ""
- "Suspend the execution of this shell until it receives a @code{SIGCONT} "
- "signal. A login shell cannot be suspended; the @option{-f} option can be "
- "used to override this and force the suspension."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7883
- msgid ""
- "When job control is not active, the @code{kill} and @code{wait} builtins do "
- "not accept @var{jobspec} arguments. They must be supplied process @sc{id}s."
- msgstr ""
- #. type: item
- #: bashref.texi:7889
- #, no-wrap
- msgid "auto_resume"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7906
- msgid ""
- "This variable controls how the shell interacts with the user and job "
- "control. If this variable exists then single word simple commands without "
- "redirections are treated as candidates for resumption of an existing job. "
- "There is no ambiguity allowed; if there is more than one job beginning with "
- "the string typed, then the most recently accessed job will be selected. The "
- "name of a stopped job, in this context, is the command line used to start "
- "it. If this variable is set to the value @samp{exact}, the string supplied "
- "must match the name of a stopped job exactly; if set to @samp{substring}, "
- "the string supplied needs to match a substring of the name of a stopped "
- "job. The @samp{substring} value provides functionality analogous to the "
- "@samp{%?} job @sc{id} (@pxref{Job Control Basics}). If set to any other "
- "value, the supplied string must be a prefix of a stopped job's name; this "
- "provides functionality analogous to the @samp{%} job @sc{id}."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7911
- #, no-wrap
- msgid "Readline, how to use"
- msgstr ""
- #. type: include
- #: bashref.texi:7912
- #, no-wrap
- msgid "rluser.texi"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7913
- #, no-wrap
- msgid "History, how to use"
- msgstr ""
- #. type: include
- #: bashref.texi:7914
- #, no-wrap
- msgid "hsuser.texi"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7927
- msgid ""
- "This chapter provides basic instructions for installing Bash on the various "
- "supported platforms. The distribution supports the @sc{gnu} operating "
- "systems, nearly every version of Unix, and several non-Unix systems such as "
- "BeOS and Interix. Other independent ports exist for @sc{ms-dos}, @sc{os/2}, "
- "and Windows platforms."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:7944 bashref.texi:7945
- #, no-wrap
- msgid "Basic Installation"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "Installation instructions."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8024 bashref.texi:8025
- #, no-wrap
- msgid "Compilers and Options"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "How to set special options for various systems."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8046 bashref.texi:8047
- #, no-wrap
- msgid "Compiling For Multiple Architectures"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid ""
- "How to compile Bash for more than one kind of system from the same source "
- "tree."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8081 bashref.texi:8082
- #, no-wrap
- msgid "Installation Names"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "How to set the various paths used by the installation."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8098 bashref.texi:8099
- #, no-wrap
- msgid "Specifying the System Type"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "How to configure Bash for a particular system."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8113 bashref.texi:8114
- #, no-wrap
- msgid "Sharing Defaults"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "How to share default configuration values among GNU programs."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8126 bashref.texi:8127
- #, no-wrap
- msgid "Operation Controls"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "Options recognized by the configuration program."
- msgstr ""
- #. type: section
- #: bashref.texi:7942 bashref.texi:8160 bashref.texi:8161
- #, no-wrap
- msgid "Optional Features"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:7942
- msgid "How to enable and disable optional features when building Bash."
- msgstr ""
- #. type: cindex
- #: bashref.texi:7946
- #, no-wrap
- msgid "installation"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7947
- #, no-wrap
- msgid "configuration"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7948
- #, no-wrap
- msgid "Bash installation"
- msgstr ""
- #. type: cindex
- #: bashref.texi:7949
- #, no-wrap
- msgid "Bash configuration"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7952
- msgid "These are installation instructions for Bash."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7954
- msgid "The simplest way to compile Bash is:"
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7962
- msgid ""
- "@code{cd} to the directory containing the source code and type @samp{./"
- "configure} to configure Bash for your system. If you're using @code{csh} on "
- "an old version of System V, you might need to type @samp{sh ./configure} "
- "instead to prevent @code{csh} from trying to execute @code{configure} itself."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7966
- msgid ""
- "Running @code{configure} takes some time. While running, it prints messages "
- "telling which features it is checking for."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7970
- msgid ""
- "Type @samp{make} to compile Bash and build the @code{bashbug} bug reporting "
- "script."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7973
- msgid "Optionally, type @samp{make tests} to run the Bash test suite."
- msgstr ""
- #. type: enumerate
- #: bashref.texi:7977
- msgid ""
- "Type @samp{make install} to install @code{bash} and @code{bashbug}. This "
- "will also install the manual pages and Info file."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7995
- msgid ""
- "The @code{configure} shell script attempts to guess correct values for "
- "various system-dependent variables used during compilation. It uses those "
- "values to create a @file{Makefile} in each directory of the package (the top "
- "directory, the @file{builtins}, @file{doc}, and @file{support} directories, "
- "each directory under @file{lib}, and several others). It also creates a "
- "@file{config.h} file containing system-dependent definitions. Finally, it "
- "creates a shell script named @code{config.status} that you can run in the "
- "future to recreate the current configuration, a file @file{config.cache} "
- "that saves the results of its tests to speed up reconfiguring, and a file "
- "@file{config.log} containing compiler output (useful mainly for debugging "
- "@code{configure}). If at some point @file{config.cache} contains results "
- "you don't want to keep, you may remove or edit it."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:7998
- msgid ""
- "To find out more about the options and arguments that the @code{configure} "
- "script understands, type"
- msgstr ""
- #. type: example
- #: bashref.texi:8001
- #, no-wrap
- msgid "bash-2.04$ ./configure --help\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8005
- msgid "at the Bash prompt in your Bash source directory."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8011
- msgid ""
- "If you need to do unusual things to compile Bash, please try to figure out "
- "how @code{configure} could check whether or not to do them, and mail diffs "
- "or instructions to @email{bash-maintainers@@gnu.org} so they can be "
- "considered for the next release."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8018
- msgid ""
- "The file @file{configure.ac} is used to create @code{configure} by a program "
- "called Autoconf. You only need @file{configure.ac} if you want to change it "
- "or regenerate @code{configure} using a newer version of Autoconf. If you do "
- "this, make sure you are using Autoconf version 2.50 or newer."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8023
- msgid ""
- "You can remove the program binaries and object files from the source code "
- "directory by typing @samp{make clean}. To also remove the files that "
- "@code{configure} created (so you can compile Bash for a different kind of "
- "computer), type @samp{make distclean}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8032
- msgid ""
- "Some systems require unusual options for compilation or linking that the "
- "@code{configure} script does not know about. You can give @code{configure} "
- "initial values for variables by setting them in the environment. Using a "
- "Bourne-compatible shell, you can do that on the command line like this:"
- msgstr ""
- #. type: example
- #: bashref.texi:8035
- #, no-wrap
- msgid "CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8038
- msgid "On systems that have the @code{env} program, you can do it like this:"
- msgstr ""
- #. type: example
- #: bashref.texi:8041
- #, no-wrap
- msgid "env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8045
- msgid "The configuration process uses GCC to build Bash if it is available."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8059
- msgid ""
- "You can compile Bash for more than one kind of computer at the same time, by "
- "placing the object files for each architecture in their own directory. To "
- "do this, you must use a version of @code{make} that supports the "
- "@code{VPATH} variable, such as GNU @code{make}. @code{cd} to the directory "
- "where you want the object files and executables to go and run the "
- "@code{configure} script from the source directory. You may need to supply "
- "the @option{--srcdir=PATH} argument to tell @code{configure} where the "
- "source files are. @code{configure} automatically checks for the source code "
- "in the directory that @code{configure} is in and in `..'."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8065
- msgid ""
- "If you have to use a @code{make} that does not supports the @code{VPATH} "
- "variable, you can compile Bash for one architecture at a time in the source "
- "code directory. After you have installed Bash for one architecture, use "
- "@samp{make distclean} before reconfiguring for another architecture."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8071
- msgid ""
- "Alternatively, if your system supports symbolic links, you can use the "
- "@file{support/mkclone} script to create a build tree which has symbolic "
- "links back to each file in the source directory. Here's an example that "
- "creates a build directory in the current directory from a source directory "
- "@file{/usr/gnu/src/bash-2.0}:"
- msgstr ""
- #. type: example
- #: bashref.texi:8074
- #, no-wrap
- msgid "bash /usr/gnu/src/bash-2.0/support/mkclone -s /usr/gnu/src/bash-2.0 .\n"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8080
- msgid ""
- "The @code{mkclone} script requires Bash, so you must have already built Bash "
- "for at least one architecture before you can create build directories for "
- "other architectures."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8090
- msgid ""
- "By default, @samp{make install} will install into @file{/usr/local/bin}, "
- "@file{/usr/local/man}, etc. You can specify an installation prefix other "
- "than @file{/usr/local} by giving @code{configure} the option @option{--"
- "prefix=@var{PATH}}, or by specifying a value for the @code{DESTDIR} "
- "@samp{make} variable when running @samp{make install}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8097
- msgid ""
- "You can specify separate installation prefixes for architecture-specific "
- "files and architecture-independent files. If you give @code{configure} the "
- "option @option{--exec-prefix=@var{PATH}}, @samp{make install} will use "
- "@var{PATH} as the prefix for installing programs and libraries. "
- "Documentation and other data files will still use the regular prefix."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8109
- msgid ""
- "There may be some features @code{configure} can not figure out "
- "automatically, but need to determine by the type of host Bash will run on. "
- "Usually @code{configure} can figure that out, but if it prints a message "
- "saying it can not guess the host type, give it the @option{--host=TYPE} "
- "option. @samp{TYPE} can either be a short name for the system type, such as "
- "@samp{sun4}, or a canonical name with three fields: @samp{CPU-COMPANY-"
- "SYSTEM} (e.g., @samp{i386-unknown-freebsd4.2})."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8112
- msgid ""
- "See the file @file{support/config.sub} for the possible values of each field."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8125
- msgid ""
- "If you want to set default values for @code{configure} scripts to share, you "
- "can create a site shell script called @code{config.site} that gives default "
- "values for variables like @code{CC}, @code{cache_file}, and @code{prefix}. "
- "@code{configure} looks for @file{PREFIX/share/config.site} if it exists, "
- "then @file{PREFIX/etc/config.site} if it exists. Or, you can set the "
- "@code{CONFIG_SITE} environment variable to the location of the site script. "
- "A warning: the Bash @code{configure} looks for a site script, but not all "
- "@code{configure} scripts do."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8131
- msgid ""
- "@code{configure} recognizes the following options to control how it operates."
- msgstr ""
- #. type: item
- #: bashref.texi:8134
- #, no-wrap
- msgid "--cache-file=@var{file}"
- msgstr ""
- #. type: table
- #: bashref.texi:8139
- msgid ""
- "Use and save the results of the tests in @var{file} instead of @file{./"
- "config.cache}. Set @var{file} to @file{/dev/null} to disable caching, for "
- "debugging @code{configure}."
- msgstr ""
- #. type: table
- #: bashref.texi:8142
- msgid "Print a summary of the options to @code{configure}, and exit."
- msgstr ""
- #. type: item
- #: bashref.texi:8143
- #, no-wrap
- msgid "--quiet"
- msgstr ""
- #. type: itemx
- #: bashref.texi:8144
- #, no-wrap
- msgid "--silent"
- msgstr ""
- #. type: table
- #: bashref.texi:8147
- msgid "Do not print messages saying which checks are being made."
- msgstr ""
- #. type: item
- #: bashref.texi:8148
- #, no-wrap
- msgid "--srcdir=@var{dir}"
- msgstr ""
- #. type: table
- #: bashref.texi:8151
- msgid ""
- "Look for the Bash source code in directory @var{dir}. Usually "
- "@code{configure} can determine that directory automatically."
- msgstr ""
- #. type: table
- #: bashref.texi:8155
- msgid ""
- "Print the version of Autoconf used to generate the @code{configure} script, "
- "and exit."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8159
- msgid ""
- "@code{configure} also accepts some other, not widely used, boilerplate "
- "options. @samp{configure --help} prints the complete list."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8170
- msgid ""
- "The Bash @code{configure} has a number of @option{--enable-@var{feature}} "
- "options, where @var{feature} indicates an optional part of Bash. There are "
- "also several @option{--with-@var{package}} options, where @var{package} is "
- "something like @samp{bash-malloc} or @samp{purify}. To turn off the default "
- "use of a package, use @option{--without-@var{package}}. To configure Bash "
- "without a feature that is enabled by default, use @option{--disable-"
- "@var{feature}}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8173
- msgid ""
- "Here is a complete list of the @option{--enable-} and @option{--with-} "
- "options that the Bash @code{configure} recognizes."
- msgstr ""
- #. type: item
- #: bashref.texi:8175
- #, no-wrap
- msgid "--with-afs"
- msgstr ""
- #. type: table
- #: bashref.texi:8177
- msgid "Define if you are using the Andrew File System from Transarc."
- msgstr ""
- #. type: item
- #: bashref.texi:8178
- #, no-wrap
- msgid "--with-bash-malloc"
- msgstr ""
- #. type: table
- #: bashref.texi:8188
- msgid ""
- "Use the Bash version of @code{malloc} in the directory @file{lib/malloc}. "
- "This is not the same @code{malloc} that appears in @sc{gnu} libc, but an "
- "older version originally derived from the 4.2 @sc{bsd} @code{malloc}. This "
- "@code{malloc} is very fast, but wastes some space on each allocation. This "
- "option is enabled by default. The @file{NOTES} file contains a list of "
- "systems for which this should be turned off, and @code{configure} disables "
- "this option automatically for a number of systems."
- msgstr ""
- #. type: item
- #: bashref.texi:8189
- #, no-wrap
- msgid "--with-curses"
- msgstr ""
- #. type: table
- #: bashref.texi:8193
- msgid ""
- "Use the curses library instead of the termcap library. This should be "
- "supplied if your system has an inadequate or incomplete termcap database."
- msgstr ""
- #. type: item
- #: bashref.texi:8194
- #, no-wrap
- msgid "--with-gnu-malloc"
- msgstr ""
- #. type: table
- #: bashref.texi:8196
- msgid "A synonym for @code{--with-bash-malloc}."
- msgstr ""
- #. type: item
- #: bashref.texi:8197
- #, no-wrap
- msgid "--with-installed-readline[=@var{PREFIX}]"
- msgstr ""
- #. type: table
- #: bashref.texi:8212
- msgid ""
- "Define this to make Bash link with a locally-installed version of Readline "
- "rather than the version in @file{lib/readline}. This works only with "
- "Readline 5.0 and later versions. If @var{PREFIX} is @code{yes} or not "
- "supplied, @code{configure} uses the values of the make variables "
- "@code{includedir} and @code{libdir}, which are subdirectories of "
- "@code{prefix} by default, to find the installed version of Readline if it is "
- "not in the standard system include and library directories. If @var{PREFIX} "
- "is @code{no}, Bash links with the version in @file{lib/readline}. If "
- "@var{PREFIX} is set to any other value, @code{configure} treats it as a "
- "directory pathname and looks for the installed version of Readline in "
- "subdirectories of that directory (include files in @var{PREFIX}/"
- "@code{include} and the library in @var{PREFIX}/@code{lib})."
- msgstr ""
- #. type: item
- #: bashref.texi:8213
- #, no-wrap
- msgid "--with-purify"
- msgstr ""
- #. type: table
- #: bashref.texi:8216
- msgid ""
- "Define this to use the Purify memory allocation checker from Rational "
- "Software."
- msgstr ""
- #. type: item
- #: bashref.texi:8217
- #, no-wrap
- msgid "--enable-minimal-config"
- msgstr ""
- #. type: table
- #: bashref.texi:8220
- msgid ""
- "This produces a shell with minimal features, close to the historical Bourne "
- "shell."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8224
- msgid ""
- "There are several @option{--enable-} options that alter how Bash is compiled "
- "and linked, rather than changing run-time features."
- msgstr ""
- #. type: item
- #: bashref.texi:8226
- #, no-wrap
- msgid "--enable-largefile"
- msgstr ""
- #. type: table
- #: bashref.texi:8231
- msgid ""
- "Enable support for @uref{http://www.sas.com/standards/large_file/"
- "x_open.20Mar96.html, large files} if the operating system requires special "
- "compiler options to build programs which can access large files. This is "
- "enabled by default, if the operating system provides large file support."
- msgstr ""
- #. type: item
- #: bashref.texi:8232
- #, no-wrap
- msgid "--enable-profiling"
- msgstr ""
- #. type: table
- #: bashref.texi:8235
- msgid ""
- "This builds a Bash binary that produces profiling information to be "
- "processed by @code{gprof} each time it is executed."
- msgstr ""
- #. type: item
- #: bashref.texi:8236
- #, no-wrap
- msgid "--enable-static-link"
- msgstr ""
- #. type: table
- #: bashref.texi:8239
- msgid ""
- "This causes Bash to be linked statically, if @code{gcc} is being used. This "
- "could be used to build a version to use as root's shell."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8244
- msgid ""
- "The @samp{minimal-config} option can be used to disable all of the following "
- "options, but it is processed first, so individual options may be enabled "
- "using @samp{enable-@var{feature}}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8250
- msgid ""
- "All of the following options except for @samp{disabled-builtins}, "
- "@samp{direxpand-default}, and @samp{xpg-echo-default} are enabled by "
- "default, unless the operating system does not provide the necessary support."
- msgstr ""
- #. type: item
- #: bashref.texi:8252
- #, no-wrap
- msgid "--enable-alias"
- msgstr ""
- #. type: table
- #: bashref.texi:8255
- msgid ""
- "Allow alias expansion and include the @code{alias} and @code{unalias} "
- "builtins (@pxref{Aliases})."
- msgstr ""
- #. type: item
- #: bashref.texi:8256
- #, no-wrap
- msgid "--enable-arith-for-command"
- msgstr ""
- #. type: table
- #: bashref.texi:8260
- msgid ""
- "Include support for the alternate form of the @code{for} command that "
- "behaves like the C language @code{for} statement (@pxref{Looping "
- "Constructs})."
- msgstr ""
- #. type: item
- #: bashref.texi:8261
- #, no-wrap
- msgid "--enable-array-variables"
- msgstr ""
- #. type: table
- #: bashref.texi:8264
- msgid ""
- "Include support for one-dimensional array shell variables (@pxref{Arrays})."
- msgstr ""
- #. type: item
- #: bashref.texi:8265
- #, no-wrap
- msgid "--enable-bang-history"
- msgstr ""
- #. type: table
- #: bashref.texi:8268
- msgid ""
- "Include support for @code{csh}-like history substitution (@pxref{History "
- "Interaction})."
- msgstr ""
- #. type: item
- #: bashref.texi:8269
- #, no-wrap
- msgid "--enable-brace-expansion"
- msgstr ""
- #. type: table
- #: bashref.texi:8273
- msgid ""
- "Include @code{csh}-like brace expansion ( @code{b@{a,b@}c} @expansion{} "
- "@code{bac bbc} ). See @ref{Brace Expansion}, for a complete description."
- msgstr ""
- #. type: item
- #: bashref.texi:8274
- #, no-wrap
- msgid "--enable-casemod-attributes"
- msgstr ""
- #. type: table
- #: bashref.texi:8278
- msgid ""
- "Include support for case-modifying attributes in the @code{declare} builtin "
- "and assignment statements. Variables with the @var{uppercase} attribute, "
- "for example, will have their values converted to uppercase upon assignment."
- msgstr ""
- #. type: item
- #: bashref.texi:8279
- #, no-wrap
- msgid "--enable-casemod-expansion"
- msgstr ""
- #. type: table
- #: bashref.texi:8281
- msgid "Include support for case-modifying word expansions."
- msgstr ""
- #. type: item
- #: bashref.texi:8282
- #, no-wrap
- msgid "--enable-command-timing"
- msgstr ""
- #. type: table
- #: bashref.texi:8287
- msgid ""
- "Include support for recognizing @code{time} as a reserved word and for "
- "displaying timing statistics for the pipeline following @code{time} "
- "(@pxref{Pipelines}). This allows pipelines as well as shell builtins and "
- "functions to be timed."
- msgstr ""
- #. type: item
- #: bashref.texi:8288
- #, no-wrap
- msgid "--enable-cond-command"
- msgstr ""
- #. type: table
- #: bashref.texi:8291
- msgid ""
- "Include support for the @code{[[} conditional command. (@pxref{Conditional "
- "Constructs})."
- msgstr ""
- #. type: item
- #: bashref.texi:8292
- #, no-wrap
- msgid "--enable-cond-regexp"
- msgstr ""
- #. type: table
- #: bashref.texi:8296
- msgid ""
- "Include support for matching @sc{posix} regular expressions using the "
- "@samp{=~} binary operator in the @code{[[} conditional command. "
- "(@pxref{Conditional Constructs})."
- msgstr ""
- #. type: item
- #: bashref.texi:8297
- #, no-wrap
- msgid "--enable-coprocesses"
- msgstr ""
- #. type: table
- #: bashref.texi:8300
- msgid ""
- "Include support for coprocesses and the @code{coproc} reserved word "
- "(@pxref{Pipelines})."
- msgstr ""
- #. type: item
- #: bashref.texi:8301
- #, no-wrap
- msgid "--enable-debugger"
- msgstr ""
- #. type: table
- #: bashref.texi:8303
- msgid "Include support for the bash debugger (distributed separately)."
- msgstr ""
- #. type: item
- #: bashref.texi:8304
- #, no-wrap
- msgid "--enable-direxpand-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8308
- msgid ""
- "Cause the @code{direxpand} shell option (@pxref{The Shopt Builtin}) to be "
- "enabled by default when the shell starts. It is normally disabled by "
- "default."
- msgstr ""
- #. type: item
- #: bashref.texi:8309
- #, no-wrap
- msgid "--enable-directory-stack"
- msgstr ""
- #. type: table
- #: bashref.texi:8313
- msgid ""
- "Include support for a @code{csh}-like directory stack and the @code{pushd}, "
- "@code{popd}, and @code{dirs} builtins (@pxref{The Directory Stack})."
- msgstr ""
- #. type: item
- #: bashref.texi:8314
- #, no-wrap
- msgid "--enable-disabled-builtins"
- msgstr ""
- #. type: table
- #: bashref.texi:8319
- msgid ""
- "Allow builtin commands to be invoked via @samp{builtin xxx} even after "
- "@code{xxx} has been disabled using @samp{enable -n xxx}. See @ref{Bash "
- "Builtins}, for details of the @code{builtin} and @code{enable} builtin "
- "commands."
- msgstr ""
- #. type: item
- #: bashref.texi:8320
- #, no-wrap
- msgid "--enable-dparen-arithmetic"
- msgstr ""
- #. type: table
- #: bashref.texi:8323
- msgid ""
- "Include support for the @code{((@dots{}))} command (@pxref{Conditional "
- "Constructs})."
- msgstr ""
- #. type: item
- #: bashref.texi:8324
- #, no-wrap
- msgid "--enable-extended-glob"
- msgstr ""
- #. type: table
- #: bashref.texi:8327
- msgid ""
- "Include support for the extended pattern matching features described above "
- "under @ref{Pattern Matching}."
- msgstr ""
- #. type: item
- #: bashref.texi:8328
- #, no-wrap
- msgid "--enable-extended-glob-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8331
- msgid ""
- "Set the default value of the @var{extglob} shell option described above "
- "under @ref{The Shopt Builtin} to be enabled."
- msgstr ""
- #. type: item
- #: bashref.texi:8332
- #, no-wrap
- msgid "--enable-function-import"
- msgstr ""
- #. type: table
- #: bashref.texi:8336
- msgid ""
- "Include support for importing function definitions exported by another "
- "instance of the shell from the environment. This option is enabled by "
- "default."
- msgstr ""
- #. type: item
- #: bashref.texi:8337
- #, no-wrap
- msgid "--enable-glob-asciirange-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8342
- msgid ""
- "Set the default value of the @var{globasciiranges} shell option described "
- "above under @ref{The Shopt Builtin} to be enabled. This controls the "
- "behavior of character ranges when used in pattern matching bracket "
- "expressions."
- msgstr ""
- #. type: item
- #: bashref.texi:8343
- #, no-wrap
- msgid "--enable-help-builtin"
- msgstr ""
- #. type: table
- #: bashref.texi:8346
- msgid ""
- "Include the @code{help} builtin, which displays help on shell builtins and "
- "variables (@pxref{Bash Builtins})."
- msgstr ""
- #. type: item
- #: bashref.texi:8347
- #, no-wrap
- msgid "--enable-history"
- msgstr ""
- #. type: table
- #: bashref.texi:8350
- msgid ""
- "Include command history and the @code{fc} and @code{history} builtin "
- "commands (@pxref{Bash History Facilities})."
- msgstr ""
- #. type: item
- #: bashref.texi:8351
- #, no-wrap
- msgid "--enable-job-control"
- msgstr ""
- #. type: table
- #: bashref.texi:8354
- msgid ""
- "This enables the job control features (@pxref{Job Control}), if the "
- "operating system supports them."
- msgstr ""
- #. type: item
- #: bashref.texi:8355
- #, no-wrap
- msgid "--enable-multibyte"
- msgstr ""
- #. type: table
- #: bashref.texi:8358
- msgid ""
- "This enables support for multibyte characters if the operating system "
- "provides the necessary support."
- msgstr ""
- #. type: item
- #: bashref.texi:8359
- #, no-wrap
- msgid "--enable-net-redirections"
- msgstr ""
- #. type: table
- #: bashref.texi:8364
- msgid ""
- "This enables the special handling of filenames of the form @code{/dev/tcp/"
- "@var{host}/@var{port}} and @code{/dev/udp/@var{host}/@var{port}} when used "
- "in redirections (@pxref{Redirections})."
- msgstr ""
- #. type: item
- #: bashref.texi:8365
- #, no-wrap
- msgid "--enable-process-substitution"
- msgstr ""
- #. type: table
- #: bashref.texi:8368
- msgid ""
- "This enables process substitution (@pxref{Process Substitution}) if the "
- "operating system provides the necessary support."
- msgstr ""
- #. type: item
- #: bashref.texi:8369
- #, no-wrap
- msgid "--enable-progcomp"
- msgstr ""
- #. type: table
- #: bashref.texi:8373
- msgid ""
- "Enable the programmable completion facilities (@pxref{Programmable "
- "Completion}). If Readline is not enabled, this option has no effect."
- msgstr ""
- #. type: item
- #: bashref.texi:8374
- #, no-wrap
- msgid "--enable-prompt-string-decoding"
- msgstr ""
- #. type: table
- #: bashref.texi:8379
- msgid ""
- "Turn on the interpretation of a number of backslash-escaped characters in "
- "the @env{$PS1}, @env{$PS2}, @env{$PS3}, and @env{$PS4} prompt strings. See "
- "@ref{Controlling the Prompt}, for a complete list of prompt string escape "
- "sequences."
- msgstr ""
- #. type: item
- #: bashref.texi:8380
- #, no-wrap
- msgid "--enable-readline"
- msgstr ""
- #. type: table
- #: bashref.texi:8383
- msgid ""
- "Include support for command-line editing and history with the Bash version "
- "of the Readline library (@pxref{Command Line Editing})."
- msgstr ""
- #. type: item
- #: bashref.texi:8384
- #, no-wrap
- msgid "--enable-restricted"
- msgstr ""
- #. type: table
- #: bashref.texi:8388
- msgid ""
- "Include support for a @dfn{restricted shell}. If this is enabled, Bash, "
- "when called as @code{rbash}, enters a restricted mode. See @ref{The "
- "Restricted Shell}, for a description of restricted mode."
- msgstr ""
- #. type: item
- #: bashref.texi:8389
- #, no-wrap
- msgid "--enable-select"
- msgstr ""
- #. type: table
- #: bashref.texi:8392
- msgid ""
- "Include the @code{select} compound command, which allows the generation of "
- "simple menus (@pxref{Conditional Constructs})."
- msgstr ""
- #. type: item
- #: bashref.texi:8393
- #, no-wrap
- msgid "--enable-separate-helpfiles"
- msgstr ""
- #. type: table
- #: bashref.texi:8396
- msgid ""
- "Use external files for the documentation displayed by the @code{help} "
- "builtin instead of storing the text internally."
- msgstr ""
- #. type: item
- #: bashref.texi:8397
- #, no-wrap
- msgid "--enable-single-help-strings"
- msgstr ""
- #. type: table
- #: bashref.texi:8402
- msgid ""
- "Store the text displayed by the @code{help} builtin as a single string for "
- "each help topic. This aids in translating the text to different languages. "
- "You may need to disable this if your compiler cannot handle very long string "
- "literals."
- msgstr ""
- #. type: item
- #: bashref.texi:8403
- #, no-wrap
- msgid "--enable-strict-posix-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8405
- msgid "Make Bash @sc{posix}-conformant by default (@pxref{Bash POSIX Mode})."
- msgstr ""
- #. type: item
- #: bashref.texi:8406
- #, no-wrap
- msgid "--enable-usg-echo-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8408
- msgid "A synonym for @code{--enable-xpg-echo-default}."
- msgstr ""
- #. type: item
- #: bashref.texi:8409
- #, no-wrap
- msgid "--enable-xpg-echo-default"
- msgstr ""
- #. type: table
- #: bashref.texi:8417
- msgid ""
- "Make the @code{echo} builtin expand backslash-escaped characters by default, "
- "without requiring the @option{-e} option. This sets the default value of "
- "the @code{xpg_echo} shell option to @code{on}, which makes the Bash "
- "@code{echo} behave more like the version specified in the Single Unix "
- "Specification, version 3. @xref{Bash Builtins}, for a description of the "
- "escape sequences that @code{echo} recognizes."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8426
- msgid ""
- "The file @file{config-top.h} contains C Preprocessor @samp{#define} "
- "statements for options which are not settable from @code{configure}. Some "
- "of these are not meant to be changed; beware of the consequences if you do. "
- "Read the comments associated with each definition for more information about "
- "its effect."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8436
- msgid ""
- "Please report all bugs you find in Bash. But first, you should make sure "
- "that it really is a bug, and that it appears in the latest version of Bash. "
- "The latest version of Bash is always available for FTP from @uref{ftp://ftp."
- "gnu.org/pub/gnu/bash/}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8443
- msgid ""
- "Once you have determined that a bug actually exists, use the @code{bashbug} "
- "command to submit a bug report. If you have a fix, you are encouraged to "
- "mail that as well! Suggestions and `philosophical' bug reports may be mailed "
- "to @email{bug-bash@@gnu.org} or posted to the Usenet newsgroup @code{gnu."
- "bash.bug}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8445
- msgid "All bug reports should include:"
- msgstr ""
- #. type: itemize
- #: bashref.texi:8448
- msgid "The version number of Bash."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8450
- msgid "The hardware and operating system."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8452
- msgid "The compiler used to compile Bash."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8454
- msgid "A description of the bug behaviour."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8457
- msgid ""
- "A short script or `recipe' which exercises the bug and may be used to "
- "reproduce it."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8462
- msgid ""
- "@code{bashbug} inserts the first three items automatically into the template "
- "it provides for filing a bug report."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8465
- msgid ""
- "Please send all reports concerning this manual to @email{bug-bash@@gnu.org}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8479
- msgid ""
- "Bash implements essentially the same grammar, parameter and variable "
- "expansion, redirection, and quoting as the Bourne Shell. Bash uses the "
- "@sc{posix} standard as the specification of how these features are to be "
- "implemented. There are some differences between the traditional Bourne "
- "shell and Bash; this section quickly details the differences of "
- "significance. A number of these differences are explained in greater depth "
- "in previous sections. This section uses the version of @code{sh} included "
- "in SVR4.2 (the last version of the historical Bourne shell) as the baseline "
- "reference."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8485
- msgid ""
- "Bash is @sc{posix}-conformant, even where the @sc{posix} specification "
- "differs from traditional @code{sh} behavior (@pxref{Bash POSIX Mode})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8488
- msgid "Bash has multi-character invocation options (@pxref{Invoking Bash})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8492
- msgid ""
- "Bash has command-line editing (@pxref{Command Line Editing}) and the "
- "@code{bind} builtin."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8498
- msgid ""
- "Bash provides a programmable word completion mechanism (@pxref{Programmable "
- "Completion}), and builtin commands @code{complete}, @code{compgen}, and "
- "@code{compopt}, to manipulate it."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8504
- msgid ""
- "Bash has command history (@pxref{Bash History Facilities}) and the "
- "@code{history} and @code{fc} builtins to manipulate it. The Bash history "
- "list maintains timestamp information and uses the value of the "
- "@code{HISTTIMEFORMAT} variable to display it."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8508
- msgid ""
- "Bash implements @code{csh}-like history expansion (@pxref{History "
- "Interaction})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8514
- msgid ""
- "Bash has one-dimensional array variables (@pxref{Arrays}), and the "
- "appropriate variable expansions and assignment syntax to use them. Several "
- "of the Bash builtins take options to act on arrays. Bash provides a number "
- "of built-in array variables."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8519
- msgid ""
- "The @code{$'@dots{}'} quoting syntax, which expands ANSI-C backslash-escaped "
- "characters in the text between the single quotes, is supported (@pxref{ANSI-"
- "C Quoting})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8526
- msgid ""
- "Bash supports the @code{$\"@dots{}\"} quoting syntax to do locale-specific "
- "translation of the characters between the double quotes. The @option{-D}, "
- "@option{--dump-strings}, and @option{--dump-po-strings} invocation options "
- "list the translatable strings found in a script (@pxref{Locale Translation})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8533
- msgid ""
- "Bash implements the @code{!} keyword to negate the return value of a "
- "pipeline (@pxref{Pipelines}). Very useful when an @code{if} statement needs "
- "to act only if a test fails. The Bash @samp{-o pipefail} option to "
- "@code{set} will cause a pipeline to return a failure status if any command "
- "fails."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8538
- msgid ""
- "Bash has the @code{time} reserved word and command timing "
- "(@pxref{Pipelines}). The display of the timing statistics may be controlled "
- "with the @env{TIMEFORMAT} variable."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8542
- msgid ""
- "Bash implements the @code{for (( @var{expr1} ; @var{expr2} ; @var{expr3} ))} "
- "arithmetic for command, similar to the C language (@pxref{Looping "
- "Constructs})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8546
- msgid ""
- "Bash includes the @code{select} compound command, which allows the "
- "generation of simple menus (@pxref{Conditional Constructs})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8551
- msgid ""
- "Bash includes the @code{[[} compound command, which makes conditional "
- "testing part of the shell grammar (@pxref{Conditional Constructs}), "
- "including optional regular expression matching."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8555
- msgid ""
- "Bash provides optional case-insensitive matching for the @code{case} and "
- "@code{[[} constructs."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8559
- msgid ""
- "Bash includes brace expansion (@pxref{Brace Expansion}) and tilde expansion "
- "(@pxref{Tilde Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8563
- msgid ""
- "Bash implements command aliases and the @code{alias} and @code{unalias} "
- "builtins (@pxref{Aliases})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8568
- msgid ""
- "Bash provides shell arithmetic, the @code{((} compound command "
- "(@pxref{Conditional Constructs}), and arithmetic expansion (@pxref{Shell "
- "Arithmetic})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8574
- msgid ""
- "Variables present in the shell's initial environment are automatically "
- "exported to child processes. The Bourne shell does not normally do this "
- "unless the variables are explicitly marked using the @code{export} command."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8578
- msgid ""
- "Bash supports the @samp{+=} assignment operator, which appends to the value "
- "of the variable named on the left hand side."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8583
- msgid ""
- "Bash includes the @sc{posix} pattern removal @samp{%}, @samp{#}, @samp{%%} "
- "and @samp{##} expansions to remove leading or trailing substrings from "
- "variable values (@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8587
- msgid ""
- "The expansion @code{$@{#xx@}}, which returns the length of @code{$@{xx@}}, "
- "is supported (@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8593
- msgid ""
- "The expansion @code{$@{var:}@var{offset}@code{[:}@var{length}@code{]@}}, "
- "which expands to the substring of @code{var}'s value of length @var{length}, "
- "beginning at @var{offset}, is present (@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8599
- msgid ""
- "The expansion @code{$@{var/[/]}@var{pattern}@code{[/}@var{replacement}"
- "@code{]@}}, which matches @var{pattern} and replaces it with "
- "@var{replacement} in the value of @code{var}, is available (@pxref{Shell "
- "Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8604
- msgid ""
- "The expansion @code{$@{!@var{prefix}*@}} expansion, which expands to the "
- "names of all shell variables whose names begin with @var{prefix}, is "
- "available (@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8608
- msgid ""
- "Bash has @var{indirect} variable expansion using @code{$@{!word@}} "
- "(@pxref{Shell Parameter Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8612
- msgid ""
- "Bash can expand positional parameters beyond @code{$9} using "
- "@code{$@{@var{num}@}}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8618
- msgid ""
- "The @sc{posix} @code{$()} form of command substitution is implemented "
- "(@pxref{Command Substitution}), and preferred to the Bourne shell's "
- "@code{``} (which is also implemented for backwards compatibility)."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8621
- msgid "Bash has process substitution (@pxref{Process Substitution})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8629
- msgid ""
- "Bash automatically assigns variables that provide information about the "
- "current user (@env{UID}, @env{EUID}, and @env{GROUPS}), the current host "
- "(@env{HOSTTYPE}, @env{OSTYPE}, @env{MACHTYPE}, and @env{HOSTNAME}), and the "
- "instance of Bash that is running (@env{BASH}, @env{BASH_VERSION}, and "
- "@env{BASH_VERSINFO}). @xref{Bash Variables}, for details."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8634
- msgid ""
- "The @env{IFS} variable is used to split only the results of expansion, not "
- "all words (@pxref{Word Splitting}). This closes a longstanding shell "
- "security hole."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8639
- msgid ""
- "The filename expansion bracket expression code uses @samp{!} and @samp{^} to "
- "negate the set of characters between the brackets. The Bourne shell uses "
- "only @samp{!}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8644
- msgid ""
- "Bash implements the full set of @sc{posix} filename expansion operators, "
- "including @var{character classes}, @var{equivalence classes}, and "
- "@var{collating symbols} (@pxref{Filename Expansion})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8648
- msgid ""
- "Bash implements extended pattern matching features when the @code{extglob} "
- "shell option is enabled (@pxref{Pattern Matching})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8652
- msgid ""
- "It is possible to have a variable and a function with the same name; "
- "@code{sh} does not separate the two name spaces."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8657
- msgid ""
- "Bash functions are permitted to have local variables using the @code{local} "
- "builtin, and thus useful recursive functions may be written (@pxref{Bash "
- "Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8664
- msgid ""
- "Variable assignments preceding commands affect only that command, even "
- "builtins and functions (@pxref{Environment}). In @code{sh}, all variable "
- "assignments preceding commands are global unless the command is executed "
- "from the file system."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8668
- msgid ""
- "Bash performs filename expansion on filenames specified as operands to input "
- "and output redirection operators (@pxref{Redirections})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8674
- msgid ""
- "Bash contains the @samp{<>} redirection operator, allowing a file to be "
- "opened for both reading and writing, and the @samp{&>} redirection operator, "
- "for directing standard output and standard error to the same file "
- "(@pxref{Redirections})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8678
- msgid ""
- "Bash includes the @samp{<<<} redirection operator, allowing a string to be "
- "used as the standard input to a command."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8682
- msgid ""
- "Bash implements the @samp{[n]<&@var{word}} and @samp{[n]>&@var{word}} "
- "redirection operators, which move one file descriptor to another."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8686
- msgid ""
- "Bash treats a number of filenames specially when they are used in "
- "redirection operators (@pxref{Redirections})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8690
- msgid ""
- "Bash can open network connections to arbitrary machines and services with "
- "the redirection operators (@pxref{Redirections})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8695
- msgid ""
- "The @code{noclobber} option is available to avoid overwriting existing files "
- "with output redirection (@pxref{The Set Builtin}). The @samp{>|} "
- "redirection operator may be used to override @code{noclobber}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8700
- msgid ""
- "The Bash @code{cd} and @code{pwd} builtins (@pxref{Bourne Shell Builtins}) "
- "each take @option{-L} and @option{-P} options to switch between logical and "
- "physical modes."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8705
- msgid ""
- "Bash allows a function to override a builtin with the same name, and "
- "provides access to that builtin's functionality within the function via the "
- "@code{builtin} and @code{command} builtins (@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8709
- msgid ""
- "The @code{command} builtin allows selective disabling of functions when "
- "command lookup is performed (@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8713
- msgid ""
- "Individual builtins may be enabled or disabled using the @code{enable} "
- "builtin (@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8719
- msgid ""
- "The Bash @code{exec} builtin takes additional options that allow users to "
- "control the contents of the environment passed to the executed command, and "
- "what the zeroth argument to the command is to be (@pxref{Bourne Shell "
- "Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8723
- msgid ""
- "Shell functions may be exported to children via the environment using "
- "@code{export -f} (@pxref{Shell Functions})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8731
- msgid ""
- "The Bash @code{export}, @code{readonly}, and @code{declare} builtins can "
- "take a @option{-f} option to act on shell functions, a @option{-p} option to "
- "display variables with various attributes set in a format that can be used "
- "as shell input, a @option{-n} option to remove various variable attributes, "
- "and @samp{name=value} arguments to set variable attributes and values "
- "simultaneously."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8737
- msgid ""
- "The Bash @code{hash} builtin allows a name to be associated with an "
- "arbitrary filename, even when that filename cannot be found by searching the "
- "@env{$PATH}, using @samp{hash -p} (@pxref{Bourne Shell Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8741
- msgid ""
- "Bash includes a @code{help} builtin for quick reference to shell facilities "
- "(@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8745
- msgid ""
- "The @code{printf} builtin is available to display formatted output "
- "(@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8761
- msgid ""
- "The Bash @code{read} builtin (@pxref{Bash Builtins}) will read a line "
- "ending in @samp{\\} with the @option{-r} option, and will use the "
- "@env{REPLY} variable as a default if no non-option arguments are supplied. "
- "The Bash @code{read} builtin also accepts a prompt string with the @option{-"
- "p} option and will use Readline to obtain the line when given the @option{-"
- "e} option. The @code{read} builtin also has additional options to control "
- "input: the @option{-s} option will turn off echoing of input characters as "
- "they are read, the @option{-t} option will allow @code{read} to time out if "
- "input does not arrive within a specified number of seconds, the @option{-n} "
- "option will allow reading only a specified number of characters rather than "
- "a full line, and the @option{-d} option will read until a particular "
- "character rather than newline."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8766
- msgid ""
- "The @code{return} builtin may be used to abort execution of scripts executed "
- "with the @code{.} or @code{source} builtins (@pxref{Bourne Shell Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8771
- msgid ""
- "Bash includes the @code{shopt} builtin, for finer control of shell optional "
- "capabilities (@pxref{The Shopt Builtin}), and allows these options to be set "
- "and unset at shell invocation (@pxref{Invoking Bash})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8775
- msgid ""
- "Bash has much more optional behavior controllable with the @code{set} "
- "builtin (@pxref{The Set Builtin})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8780
- msgid ""
- "The @samp{-x} (@option{xtrace}) option displays commands other than simple "
- "commands when performing an execution trace (@pxref{The Set Builtin})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8785
- msgid ""
- "The @code{test} builtin (@pxref{Bourne Shell Builtins}) is slightly "
- "different, as it implements the @sc{posix} algorithm, which specifies the "
- "behavior based on the number of arguments."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8791
- msgid ""
- "Bash includes the @code{caller} builtin, which displays the context of any "
- "active subroutine call (a shell function or a script executed with the "
- "@code{.} or @code{source} builtins). This supports the bash debugger."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8804
- msgid ""
- "The @code{trap} builtin (@pxref{Bourne Shell Builtins}) allows a "
- "@code{DEBUG} pseudo-signal specification, similar to @code{EXIT}. Commands "
- "specified with a @code{DEBUG} trap are executed before every simple command, "
- "@code{for} command, @code{case} command, @code{select} command, every "
- "arithmetic @code{for} command, and before the first command executes in a "
- "shell function. The @code{DEBUG} trap is not inherited by shell functions "
- "unless the function has been given the @code{trace} attribute or the "
- "@code{functrace} option has been enabled using the @code{shopt} builtin. "
- "The @code{extdebug} shell option has additional effects on the @code{DEBUG} "
- "trap."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8811
- msgid ""
- "The @code{trap} builtin (@pxref{Bourne Shell Builtins}) allows an @code{ERR} "
- "pseudo-signal specification, similar to @code{EXIT} and @code{DEBUG}. "
- "Commands specified with an @code{ERR} trap are executed after a simple "
- "command fails, with a few exceptions. The @code{ERR} trap is not inherited "
- "by shell functions unless the @code{-o errtrace} option to the @code{set} "
- "builtin is enabled."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8821
- msgid ""
- "The @code{trap} builtin (@pxref{Bourne Shell Builtins}) allows a "
- "@code{RETURN} pseudo-signal specification, similar to @code{EXIT} and "
- "@code{DEBUG}. Commands specified with an @code{RETURN} trap are executed "
- "before execution resumes after a shell function or a shell script executed "
- "with @code{.} or @code{source} returns. The @code{RETURN} trap is not "
- "inherited by shell functions unless the function has been given the "
- "@code{trace} attribute or the @code{functrace} option has been enabled using "
- "the @code{shopt} builtin."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8825
- msgid ""
- "The Bash @code{type} builtin is more extensive and gives more information "
- "about the names it finds (@pxref{Bash Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8830
- msgid ""
- "The Bash @code{umask} builtin permits a @option{-p} option to cause the "
- "output to be displayed in the form of a @code{umask} command that may be "
- "reused as input (@pxref{Bourne Shell Builtins})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8837
- msgid ""
- "Bash implements a @code{csh}-like directory stack, and provides the "
- "@code{pushd}, @code{popd}, and @code{dirs} builtins to manipulate it "
- "(@pxref{The Directory Stack}). Bash also makes the directory stack visible "
- "as the value of the @env{DIRSTACK} shell variable."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8841
- msgid ""
- "Bash interprets special backslash-escaped characters in the prompt strings "
- "when interactive (@pxref{Controlling the Prompt})."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8845
- msgid ""
- "The Bash restricted mode is more useful (@pxref{The Restricted Shell}); the "
- "SVR4.2 shell restricted mode is too limited."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8851
- msgid ""
- "The @code{disown} builtin can remove a job from the internal shell job table "
- "(@pxref{Job Control Builtins}) or suppress the sending of @code{SIGHUP} to a "
- "job when the shell exits as the result of a @code{SIGHUP}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8855
- msgid ""
- "Bash includes a number of features to support a separate debugger for shell "
- "scripts."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8859
- msgid ""
- "The SVR4.2 shell has two privilege-related builtins (@code{mldmode} and "
- "@code{priv}) not present in Bash."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8862
- msgid "Bash does not have the @code{stop} or @code{newgrp} builtins."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8865
- msgid ""
- "Bash does not use the @env{SHACCT} variable or perform shell accounting."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8869
- msgid ""
- "The SVR4.2 @code{sh} uses a @env{TIMEOUT} variable like Bash uses "
- "@env{TMOUT}."
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8874
- msgid "More features unique to Bash may be found in @ref{Bash Features}."
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8876
- #, no-wrap
- msgid "Implementation Differences From The SVR4.2 Shell"
- msgstr ""
- #. type: Plain text
- #: bashref.texi:8880
- msgid ""
- "Since Bash is a completely new implementation, it does not suffer from many "
- "of the limitations of the SVR4.2 shell. For instance:"
- msgstr ""
- #. type: itemize
- #: bashref.texi:8887
- msgid ""
- "Bash does not fork a subshell when redirecting into or out of a shell "
- "control structure such as an @code{if} or @code{while} statement."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8892
- msgid ""
- "Bash does not allow unbalanced quotes. The SVR4.2 shell will silently "
- "insert a needed closing quote at @code{EOF} under certain circumstances. "
- "This can be the cause of some hard-to-find errors."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8898
- msgid ""
- "The SVR4.2 shell uses a baroque memory management scheme based on trapping "
- "@code{SIGSEGV}. If the shell is started from a process with @code{SIGSEGV} "
- "blocked (e.g., by using the @code{system()} C library function call), it "
- "misbehaves badly."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8905
- msgid ""
- "In a questionable attempt at security, the SVR4.2 shell, when invoked "
- "without the @option{-p} option, will alter its real and effective @sc{uid} "
- "and @sc{gid} if they are less than some magic threshold value, commonly "
- "100. This can lead to unexpected results."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8909
- msgid ""
- "The SVR4.2 shell does not allow users to trap @code{SIGSEGV}, "
- "@code{SIGALRM}, or @code{SIGCHLD}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8913
- msgid ""
- "The SVR4.2 shell does not allow the @env{IFS}, @env{MAILCHECK}, @env{PATH}, "
- "@env{PS1}, or @env{PS2} variables to be unset."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8917
- msgid ""
- "The SVR4.2 shell treats @samp{^} as the undocumented equivalent of @samp{|}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8923
- msgid ""
- "Bash allows multiple option arguments when it is invoked (@code{-x -v}); the "
- "SVR4.2 shell allows only one option argument (@code{-xv}). In fact, some "
- "versions of the shell dump core if the second argument begins with a "
- "@samp{-}."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8928
- msgid ""
- "The SVR4.2 shell exits a script if any builtin fails; Bash exits a script "
- "only if one of the @sc{posix} special builtins fails, and only for certain "
- "failures, as enumerated in the @sc{posix} standard."
- msgstr ""
- #. type: itemize
- #: bashref.texi:8932
- msgid ""
- "The SVR4.2 shell behaves differently when invoked as @code{jsh} (it turns on "
- "job control)."
- msgstr ""
- #. type: include
- #: bashref.texi:8937
- #, no-wrap
- msgid "fdl.texi"
- msgstr ""
- #. type: node
- #: bashref.texi:8950 bashref.texi:8952
- #, no-wrap
- msgid "Builtin Index"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:8950
- msgid "Index of Bash builtin commands."
- msgstr ""
- #. type: node
- #: bashref.texi:8950 bashref.texi:8956
- #, no-wrap
- msgid "Reserved Word Index"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:8950
- msgid "Index of Bash reserved words."
- msgstr ""
- #. type: node
- #: bashref.texi:8950 bashref.texi:8960
- #, no-wrap
- msgid "Variable Index"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:8950
- msgid "Quick reference helps you find the variable you want."
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8950 bashref.texi:8964 bashref.texi:8965
- #, no-wrap
- msgid "Function Index"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:8950
- msgid "Index of bindable Readline functions."
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8950 bashref.texi:8968 bashref.texi:8969
- #, no-wrap
- msgid "Concept Index"
- msgstr ""
- #. type: menuentry
- #: bashref.texi:8950
- msgid "General index for concepts described in this manual."
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8953
- #, no-wrap
- msgid "Index of Shell Builtin Commands"
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8957
- #, no-wrap
- msgid "Index of Shell Reserved Words"
- msgstr ""
- #. type: appendixsec
- #: bashref.texi:8961
- #, no-wrap
- msgid "Parameter and Variable Index"
- msgstr ""
|