<commit_before>.TH sb2 1 "12 April 2007" "2.0" "sb2 man page"
.SH NAME
sb2 \- crosscompiling environment
.SH SYNOPSIS
.B sb2
[ \-v ] [ \-h ] [ \-t DIRECTORY ] [ \-e ] [ -m DIRECTORY] [command] [arguments] [...]
.SH DESCRIPTION
.B sb2
Runs command in scratchbox2. If no command is given, a bash shell
in scratchbox2 environment is started.
.SH OPTIONS
.TP
\-v
Output all path mappings to $HOME/sb2_mapping.log.
.TP
\-h
Print help.
.TP
\-t
Define target root location in argument. Scratchbox2 tries to find the
right target root location automatically, but this overrides that.
.TP
\-e
Use emulation mode, avoid executing ANY host binaries except qemu.
.TP
\-m
Use redirection rules from the directory given in argument.

.SH ENVIRONMENT
There is a LOT environment variables being used. Since sb2 is still
very volatile, the best documentation is in the source of sb2.
.IP SBOX_TARGET_ROOT
Target location. If not defined, .sb2rc file is searched for.

.SH CONFIGURATION
To configure sb2, do something like this:

mkdir $HOME/buildroot
cd $HOME/buildroot
[fetch a rootfs from somewhere and extract it here]
sb2-init /path/to/cross-compiler/bin/arm-linux-gcc

Put this in your $HOME/.sb2rc to make sb2 default to using $HOME/buildroot:
SBOX_TARGET_ROOT=~/buildroot

.SH FILES
.P
.I sb2.config
.I ~/.sb2rc
.SH SEE ALSO
.BR sb2-init (1)
.BR gcc (1),
.BR ld (1),
No known bugs at this time.
.SH AUTHOR
.nf
<NAME>
.fi<commit_msg>Fix mangled manpage<commit_after>.TH sb2 1 "12 April 2007" "2.0" "sb2 man page"
.SH NAME
sb2 \- crosscompiling environment
.SH SYNOPSIS
.B sb2
[ \-v ] [ \-h ] [ \-t DIRECTORY ] [ \-e ] [ -m DIRECTORY] [command] [arguments] [...]
.SH DESCRIPTION
.B sb2
Runs command in scratchbox2. If no command is given, a bash shell
in scratchbox2 environment is started.
.SH OPTIONS
.TP
\-v
Output all path mappings to $HOME/sb2_mapping.log.
.TP
\-h
Print help.
.TP
\-t
Define target root location in argument. Scratchbox2 tries to find the
right target root location automatically, but this overrides that.
.TP
\-e
Use emulation mode, avoid executing ANY host binaries except qemu.
.TP
\-m
Use redirection rules from the directory given in argument.

.SH ENVIRONMENT
There is a LOT environment variables being used. Since sb2 is still
very volatile, the best documentation is in the source of sb2.
.IP SBOX_TARGET_ROOT
Target location. If not defined, .sb2rc file is searched for.

.SH CONFIGURATION
To configure sb2, do something like this:

.nf
mkdir $HOME/buildroot
cd $HOME/buildroot
[fetch a rootfs from somewhere and extract it here]
sb2-init /path/to/cross-compiler/bin/arm-linux-gcc
.fi

Put this in $HOME/.sb2rc to default to using $HOME/buildroot:
.PP
SBOX_TARGET_ROOT=~/buildroot

.SH FILES
.P
.I sb2.config
.I ~/.sb2rc
.SH SEE ALSO
.BR sb2-init (1)
.BR gcc (1),
.BR ld (1),
No known bugs at this time.
.SH AUTHOR
.nf
<NAME>
.fi
{'fraction_non_alphanumeric': 0.09866573033707865, 'fraction_numerical': 0.021418539325842697, 'mean_word_length': 3.507911392405063, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1135754', 'n_tokens_mistral': 1024, 'n_tokens_neox': 963, 'n_words': 425}