Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unix "look" Command "File too large" Error Message Post 302516085 by shishong on Thursday 21st of April 2011 03:28:31 PM
Old 04-21-2011
Yes, the boost in performance is precisely why I need "look". hm..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix "at" / "Cron" Command New Problem...Need help

Hi All, I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Discussion started by: Mohanraj
3 Replies

2. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

3. Shell Programming and Scripting

cat $como_file | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'

hi All, cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g' Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

how to use "cut" or "awk" or "sed" to remove a string

logs: "/home/abc/public_html/index.php" "/home/abc/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" how to use "cut" or "awk" or "sed" to get the following result: abc abc xyz xyz xyz (8 Replies)
Discussion started by: timmywong
8 Replies

6. Solaris

The slices "usr", "opt", "tmp" disappeared!!! Help please.

The system don't boot. on the screen appears following: press enter to maintenance (or type CTRL-D to continue)...I checked with format command. ... the slices "0-root","1-swap","2-backup" exist. ...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Discussion started by: wolfgang
16 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
bjam(1) 						      General Commands Manual							   bjam(1)

NAME
bjam - Command-line utility to build Boost-related C++ projects with Boost.Build SYNOPSIS
bjam [-a] [-dx] [-fx] [-jx] [-lx] [-n] [-ox] [-px] [-q] [-sx=y] [-tx] [-v] [--x] bjam accepts the following options: -a Build all targets, even if they are current -dx Set the debug level to x (0-9) -fx Read x instead of Jambase -jx Run up to x shell commands concurrently -lx Limit actions to x number of seconds after which they are stopped -n Don't actually execute the updating actions -ox Write the updating actions to file x -px x=0, pipes action stdout and stderr merged into action output -q Quit quickly as soon as a target fails -sx=y Set variable x=y, overriding environment -tx Rebuild x, even if it is up-to-date -v Print the version of jam and exit --x Option is ignored DESCRIPTION
This section provides the information necessary to create your own projects using Boost.Build The information provided here is relatively high-level, and Chapter 6, Reference as well as the on-line help system must be used to obtain low-level documentation (see --help) Boost.Build actually consists of two parts - Boost.Jam, a build engine with its own interpreted language, and Boost.Build itself, implemented in Boost.Jam's language. The chain of events when you type bjam on the command line is as follows: o Boost.Jam tries to find Boost.Build and loads the top-level module. The exact process is described in the section called "Initialization" o The top-level module loads user-defined configuration files, user-config.jam and site-config.jam, which define available toolsets o The Jamfile in the current directory is read That in turn might cause reading of further Jamfiles. As a result, a tree of projects is created, with targets inside projects o Finally, using the build request specified on the command line, Boost.Build decides which targets should be built and how. That information is passed back to Boost.Jam, which takes care of actually running the scheduled build action commands So, to be able to successfully use Boost.Build, you need to know only four things: o How to configure Boost.Build (http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html) o How to declare targets in Jamfiles (http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html) o How the build process works (http://www.boost.org/boost-build2/doc/html/bbv2/overview/build_process.html) Some Basics about the Boost.Jam language. See the section called "Boost.Jam Language" (http://www.boost.org/boost- build2/doc/html/bbv2/overview/jam_language.html) CONCEPTS
Boost.Build has a few unique concepts that are introduced in this section. The best way to explain the concepts is by comparison with more classical build tools When using any flavour of make, you directly specify targets and commands that are used to create them from other target. The below example creates a.o from a.c using a hardcoded compiler invocation command a.o: a.c g++ -o a.o -g a.c This is rather low-level description mechanism and it is hard to adjust commands, options, and sets of created targets depending on the used compiler and operating system. To improve portability, most modern build system provide a set of higher-level functions that can be used in build description files. Consider this example: add_program ('a', 'a.c') This is a function call that creates targets necessary to create executable file from source file a.c. Depending on configured properties, different commands line may be used. However, add_program is higher-level, but rather thin level All targets are created immediately when build description is parsed, which makes it impossible to perform multi-variant builds. Often, change in any build property requires complete reconfiguration of the build tree In order to support true multivariant builds, Boost.Build introduces the concept of metatarget--object that is created when build description is parsed and can be later called with specific build properties to generate actual targets Consider an example: exe a : a.cpp ; When this declaration is parsed, Boost.Build creates a metatarget, but does not yet decides what files must be created, or what commands must be used. After all build files are parsed, Boost.Build considers properties requested on the command line. Supposed you have invoked Boost.Build with: bjam toolset=gcc toolset=msvc In that case, the metatarget will be called twice, once with toolset=gcc and once with toolset=msvc. Both invocations will produce concrete targets, that will have different extensions and use different command lines. Another key concept is build property. Build property is a variable that affects the build process. It can be specified on the command line, and is passed when calling a metatarget While all build tools have a similar mechanism, Boost.Build differs by requiring that all build properties are declared in advance, and providing a large set of properties with portable semantics The final concept is property propagation. Boost.Build does not require that every metatarget is called with the same properties. Instead, the 'top-level' metatargets are called with the properties specified on the command line Each metatarget can elect to augment or override some properties (in particular, using the requirements mechanism, see the section called "Requirements": http://www.boost.org/boost- build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements) Then, the dependency metatargets are called with modified properties and produce concrete targets that are then used in build process Of course, dependency metatargets maybe in turn modify build properties and have dependencies of their own. For more in-depth treatment of the requirements and concepts, you may refer to SYRCoSE 2009 Boost.Build article (http://syrcose.ispras.ru/2009/files/04_paper.pdf). SEE ALSO
boost-libraries(3) SUPPORT
Please report any bugs to https://svn.boost.org/trac/boost/ COPYRIGHT
Boost Software License - Version 1.0 - August 17th, 2003 See the LICENSE_1_0.txt file for more information on that license, or directly on Internet: http://www.boost.org/LICENSE_1_0.txt Doxygen Sat Nov 19 2011 bjam(1)
All times are GMT -4. The time now is 07:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy