Sponsored Content
Full Discussion: 20th based convertor
Top Forums Shell Programming and Scripting 20th based convertor Post 302335429 by fpmurphy on Sunday 19th of July 2009 08:27:13 AM
Old 07-19-2009
Simple to do if you can use ksh93
Code:
echo -n "insert number to be converted: "
read dec

typeset -i20 num=dec

echo ${num:3}

 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl to C convertor

Is there one out there that supports Perl/Tk ??? (5 Replies)
Discussion started by: perleo
5 Replies

2. Programming

Binary to Text Convertor

Hey Im starting out in C just recently and Im needing a string that converts binary to text, The only way i know of doing this without knowledge of C entirely. Is Making a sorta of library of the entire alphabet in binary for the program to select the text from it to display a sentence. If that... (2 Replies)
Discussion started by: 01doublehelix10
2 Replies

3. UNIX and Linux Applications

web to wap convertor

cld someone suggest a good web to wap convertor (1 Reply)
Discussion started by: viapillai
1 Replies

4. UNIX for Dummies Questions & Answers

Script ran by job scheduler fails from the 15th to the 20th of the month

Hi, I have a script that finds the application logs from the previous day and sends it to another server via ftp. The code is something like this: yest_date=`TZ=CST+24 date "+%b %d"` logdir=/app/logs logs=app*.log tmpdir=/tmp cd $logdir for i in `ls -1 $logs` do chkstr=`ls -1l $i | grep... (2 Replies)
Discussion started by: tatchel
2 Replies

5. Shell Programming and Scripting

Searching for bash to cshell convertor

Hi ,I have seen this comverters before ,but I was searching today and I can not find them .Is anybody used them before .Any recomendations Thanks (5 Replies)
Discussion started by: lio123
5 Replies
MIC-CHROOT(1)						      General Commands Manual						     MIC-CHROOT(1)

NAME
mc-chroot - chroot into a live image in order to do some changes SYNOPSIS
mic-chroot [options] <image|image fs> <image> is a live image file name, <image fs> is a directory path which contains the whole file system unpacked from a live image. DESCRIPTION
mic-chroot can chroot into a live image to do some changes, you can use it to unpack a live image then do some changes, once changes are done, you can regenerate a live image including those changes you did. mic-image-manager has a GUI tool for mic-chroot, you can use it if you prefer to use GUI instead of command line. OPTIONS
--version show version number -h, --help show this help message -s SAVETO, --save-to=SAVETO Save unpacked filesystem to the specified path --unpack-only Just unpack an image, this is used tounpack an image with -s option together -b BINDMOUNTS, --bind-mounts=BINDMOUNTS Specify bind mount list, for example: -b "/proc:/proc;/:/parentroot" -c CONVERTTO, --convert-to=CONVERTTO Convert it to the specified type live image on exiting, the allowed value is livecd or liveusb --convert-only Just convert an image, this will skip chroot and directly convert an image/filesytem with -c option together -o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir) EXAMPLES
Unpack an image to a directory and chroot into it: mic-chroot -s /my/fs/root EXIT STATUS
mic-image-convertor returns a zero exist status if it succeeds, otherwise return non-zero and print error message. AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding SEE ALSO
mic-image-creator(1), mic-convertor(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1) perl v5.12.3 2011-05-31 MIC-CHROOT(1)
All times are GMT -4. The time now is 07:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy