Misplaced Pages

BS

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

bs is a programming language and a compiler/interpreter for modest-sized programs on UNIX systems. The bs command can be invoked either for interactive programming or with a file containing a program, optionally taking arguments, via a Unix shell , e.g., using a Shebang (Unix) #!/usr/bin/bs .

#439560

24-626: (Redirected from Bs ) [REDACTED] Look up bs , BS , or .bs in Wiktionary, the free dictionary. BS , B.S. , Bs , bs , or B's may refer to: Arts and entertainment [ edit ] BS-, a prefix for all games broadcast for the Satellaview modem via the Japanese Broadcasting Satellite system "B.S." (song) , a song by Jhené Aiko from

48-582: A UNIX file, use ed(1) . The four principal languages available under UNIX are C (see cc(1) ), Fortran (see f77(1) ), bs (a compiler/interpreter in the spirit of Basic, see bs(1) ) , and assembly language (see as(1) ). While not released outside prior to System III, the bs command was present internally in UNIX/TS 1.0 (November 1978), PWB/UNIX 2.0 (June 1979), and CB UNIX editions 2.1 (November 1979) and 2.3 (1981). The bs command does not appear in some earlier internal releases, e.g.,

72-473: A calendar used in Nepal Bosnian language (ISO 639 alpha-2 code bs ) Broad Street (disambiguation) Bronze Star Medal , a United States military award Ordo Basilianus Ssmi Salvatoris Melkitarum ( Institute of consecrated life ), a Roman Catholic monastic Order See also [ edit ] B (disambiguation) , where "Bs" may refer to the plural of "B" Topics referred to by

96-512: A city and province of Italy with the vehicle registration plate BS Suwałki , a city in Poland with the vehicle registration plate BS In science and technology [ edit ] Computing and telecommunications [ edit ] Bs (programming language) Backspace , and the backspace control character in the C0 control code set Base transceiver station , or base station,

120-705: A division of Associated British Foods Building surveyor , a professional in the construction industry concerned with setting out reference points and markers Nonpartisan Local Government Activists ( Bezpartyjni Samorządowcy ) a political party in Poland In finance [ edit ] Venezuelan bolívar , currency of Venezuela Bolivian boliviano , currency of Bolivia Places [ edit ] BS postcode area , in Bristol, England The Bahamas , by ISO 2-letter country code and license plate code .bs , country-code Top Level Domain for

144-506: A handbook of mathematics Strange B meson , a subatomic particle, symbol B s Brier score , a measure for the accuracy of probabilistic predictions The Köppen climate classification code for a semi-arid climate In sport [ edit ] The Bs , a 19th-century cricket team British Shooting , the governing body for target shooting in Great Britain British Showjumping ,

168-526: A node in a mobile telephony network Bubble sort , a sorting algorithm Boot sector , a memory region containing machine code, generally used for booting an operating system BotServ , an IRC bot server BraveSentry , a clone of the SpySheriff malware program Broadcasting Satellite (Japanese) , a system of Japanese communication satellites Medicine [ edit ] Bachelor of Surgery , an academic degree Bernard–Soulier syndrome ,

192-584: A program to be executed subsequently. Like in SNOBOL4, the assignment operator ( = ) is used for I/O and bs can execute code in strings, using its eval function. It also includes SNOBOL's interrogation operator ( ? ) used to test whether an expression evaluation succeeds or not. The built-in format function, limited to one argument, supports a subset of C's printf format conversion specifiers, e.g., "%f". The language has some conspicuous elements. For instance, its program functions are defined using

216-549: A rare autosomal recessive coagulopathy, that is caused a deficiency of glycoprotein Ib Bartter syndrome , a rare inherited disease which results in hypokalemia Other uses in science and technology [ edit ] Bachelor of Science , an academic degree Behavioural sciences Brake-specific fuel consumption , a measure of engine fuel efficiency Bright Star Catalogue , which lists all stars of stellar magnitude 6.5 or brighter Bronshtein and Semendyayev ,

240-573: A transit system BellSouth , a United States telephone company Better Serbia ( Bolja Srbija ), a political party in Serbia Biuro Szyfrów ("Cipher Bureau"), a Polish cryptography and signals intelligence agency known for its work on German Enigma ciphers in the 1930s Boy Scouts; see scouting British International Helicopters (IATA code BS) British Shipbuilders , a public corporation founded in 1977 British Standards , produced by BSI Group British Sugar ,

264-419: Is as important as the resulting speed of execution. Formalities of data declaration and file/process manipulation are minimized. Line-at-a-time debugging, the trace and dump statements, and useful run-time error messages all simplify program testing. Furthermore, incomplete programs can be debugged; inner functions can be tested before outer functions have been written and vice versa. A bs program

SECTION 10

#1732773251440

288-416: Is compiled and executed differently from programs written in the other principal Unix programming languages of the time: C , FORTRAN , and assembly language , whose respective commands compile program source code to executable assembler output ( a.out ). Instead, a bs program is, first, converted by the bs command to an internal reverse Polish ( RPN ) intermediate representation and then executed by

312-621: Is different from Wikidata All article disambiguation pages All disambiguation pages bs">bs The requested page title contains unsupported characters : ">". Return to Main Page . Bs (programming language) An early man page states, "[ bs ] is a remote descendant of Basic [sic] and SNOBOL4 , with a little C thrown in." The bs command appears in UNIX System III Release 3.0 (1980), first released outside of Bell Labs in 1982. It

336-417: Is provided by bc , Perl , and POSIX shell . In the 21st century, bs is present in, at least, HP-UX Release 11i (2000), as well as AIX versions 6.1 (2007) and 7.2 (2018), likely due to their UNIX System V heritage. The bs man page , ostensibly the programming language's only specification, characterizes it as follows: Bs is designed for programming tasks where program development time

360-408: The fun ... nuf syntax and its functions can have local variables. Also, bs can operate in two modes, either interpreting (and executing) statements and programs or compiling them, and switching between the two using compile and stop . Otherwise, its functionality is unique only collectively (in one language), since individual features are redundant with those of coexisting tools, such as

384-740: The AT&;T UNIX PC (3B1) specifically mentions that the bs command is not available, but that it is available on SVR3.2. ) Occasionally, bs was touted as one of the primary programming languages for development under UNIX. However, bs is not included in the POSIX.1 commands and utilities (the standard List of Unix commands ) nor in the Single UNIX Specification and is not provided with most contemporary operating systems. For example in Linux , similar syntax and functionality

408-668: The Unix Shell , e.g., file I/O and loops, and AWK , e.g., associative arrays and Regular expression matching. The bs language was meant for convenient development and debugging of small, modular programs. It has a collection of syntax and features from prior, popular languages but it is internally compiled, unlike a Shell script . As such, in purpose, design, and function, bs is a largely unknown, modest predecessor of hybrid interpreted/compiled languages such as Perl and Python . The following examples are derived from an A/UX bs(1) man page . This example uses bs as

432-717: The Bahamas Banská Štiavnica , a city in Slovakia with the vehicle registration plate BS Basel-Stadt , a Swiss canton, officially abbreviated to BS Beersheba or Be'er Sheva (Hebrew: בְּאֵר שֶׁבַע ), a city in the Southern District of Israel Braunschweig , a town in Germany, also known in English as Brunswick, with the vehicle registration plate BS Brescia ,

456-730: The UNIX Support Group’s March 1977 release, nor the PWB/UNIX manual dated May, 1977, suggesting its creation circa 1978. It does not appear in any version of Research Unix nor the Berkeley Software Distribution . Subsequently and into the 1990s, bs was included in a variety of System III-derived or System V-derived commercial operating systems including, but not limited to: PC/IX ; UNIX System V Releases 2 & 3: SVR2 , SVR3 , SVR3.2 (1986); HP-UX ; AIX ; and A/UX . (The User's Manual for

480-593: The album Chilombo Team BS , French music collective founded by La Fouine that includes Fababy, Sultan and Sindy NHK 's satellite broadcaster mark, NHK-BS Backstage (magazine) Baritone saxophone , a musical instrument Bullshit (card game) , a card game Businesses and organizations [ edit ] Banco Sabadell , a bank in Spain Banco Santander , a bank headquartered in Spain Beijing Subway ,

504-465: The command's internal virtual stack machine . The bs language, thus, is a hybrid interpreter and compiler and a divergence in Unix programming from Ancient Unix . The bs language shares some features and syntax with BASIC , SNOBOL , and C , the two former presumably inspiring its name. Like BASIC, it can be used interactively, either executing statements immediately or collecting them into

SECTION 20

#1732773251440

528-580: The governing body for showjumping in Great Britain Blocked Shot, in basketball statistics, see Block (basketball) Blown Save, in baseball statistics, see Save (baseball) Oakland Ballers , American baseball team nicknamed B's Other uses [ edit ] Bullshit , a phrase denoting something worthless Bengali Sambat , used to mark years in the Bengali calendar Big Sister (disambiguation) Bikram Sambat ,

552-724: The same term [REDACTED] This disambiguation page lists articles associated with the title BS . If an internal link led you here, you may wish to change the link to point directly to the intended article. Retrieved from " https://en.wikipedia.org/w/index.php?title=BS&oldid=1253361049 " Category : Disambiguation pages Hidden categories: Articles containing Spanish-language text Articles containing Polish-language text Articles containing Slovak-language text Articles containing German-language text Articles containing Hebrew-language text Articles containing Italian-language text Articles containing Latin-language text Short description

576-401: Was written by Dick Haight (Richard C. Haight) circa 1978, who recounts it as follows: I wrote bs at the time Unix (V 3?) and all of the commands were being converted from assembler to C. So [ Ken Thompson ’s ] bas became my bs — sort of. The Release 3.0 manual mentions bs prominently on page 9 (emphasis added): Writing a program. To enter the text of a source program into

#439560