Sponsored Content
Full Discussion: To Create range of values
Top Forums Shell Programming and Scripting To Create range of values Post 302361109 by shiva447 on Monday 12th of October 2009 10:01:16 AM
Old 10-12-2009
Hi Tytalus,

Appreciate your response.

As you said i require the range 9801-10000 (Or would you also want the 9801-10000 range ?) and it is mandate also.

Thank you

---------- Post updated at 07:31 PM ---------- Previous update was at 06:19 PM ----------

Hi,

My integers are created in the below range with 2600 values ,and i inputted to the script sent by you with the below input and 50 as dividing factor

0000000433874674
.
.
.
.
.
0000000433877573

i end up in below result .

1 - 2.16939e+08
2.16939e+08 - 433877573

Now we have two requirements below.

1) We want to have the chunks even it is divided by 14 as you said in your earlier post
2) And we want to avoid the exponential parts as put up in the above example .

Thanks in Advance
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Create range from a list

Hello everyone, I am trying to create a script that will make a range or ranges based on a sorted list of numbers. Eg. If the list is like 1 2 3 4 5 6 7 12 13 14 15 The output range should be: 1-7 12-15 (9 Replies)
Discussion started by: run_time_error
9 Replies

2. Shell Programming and Scripting

Awk extract a range of values

Hi Input 10 131 11 179 11 170 20 142 20 131 20 144 21 178 22 155 22 196 23 144 23 184 24 194 24 191 24 218 25 167 25 131 26 189 (6 Replies)
Discussion started by: genehunter
6 Replies

3. Programming

Finding range of values in an array

I have an array containing distances in ascending order, for example: distances = 100 120 150 170 200 280 300 .... I have a number, let's say v = 170 and a variation value, let's say var = 100 . I want to return the array indexes for which the distances cover the range (v - var) to (v +... (3 Replies)
Discussion started by: kristinu
3 Replies

4. Shell Programming and Scripting

For Loop Range Create Directories

Hello, I am a bit stumped on this. I am attempting to create 24 empty directories with a loop. Seems like I have incorrect syntax. When I run the following command I get the error below. Command $ for i in {2..24}; do mkdir $i_MAY_2011 ; doneError x 24 mkdir: missing operand Try `mkdir... (2 Replies)
Discussion started by: jaysunn
2 Replies

5. Programming

grepping a range of values

I need to return all records in a file starting with a row that says TABLE: <tabl name> lists of hexadecimal records TABLE: <some table> TABLe is a key word in the file. I know the name of the table I want to start with. I do not know the name of the table that I will end with. I just... (4 Replies)
Discussion started by: guessingo
4 Replies

6. Shell Programming and Scripting

AWK Sorting with range values

Hello, I am looking for some help on GAWK script. I have a list of phone numbers as below. I need to sort these in the range of first 6 digits. 2402170338 2402170387 2402170478 2402170744 2403100025 2403100026 2403100027 2403100028 So for the above sample data, I require an output... (9 Replies)
Discussion started by: Diwakar9
9 Replies

7. Shell Programming and Scripting

Convert Column Values to a Range of Values

I have a list of columns with values that I need to transform into a row containing the range of each column. For example: "Column A" 1 2 3 4 10 12 14 15 16 17 18 "Column B" 1 4 5 6 (4 Replies)
Discussion started by: newbio
4 Replies

8. Shell Programming and Scripting

How to create individual entries from a range of numbers?

I want to create entries based on the series as in examples below: Input: 2dat3 grht-5&&-15 3dat3 grht-16&&-30 4dat3 ftht-4&&-12 5sat3 ftht-16&&-20 Output: 2dat3 grht-5 2dat3 grht-6 2dat3 grht-7 2dat3 grht-8 (7 Replies)
Discussion started by: aydj
7 Replies

9. Shell Programming and Scripting

Find values within range and output

Dear All, I am stacked and I ask for your help. Briefly, I have two files, one like this one (file1): 1 101 5 1 102 6 1 103 2 1 104 9 1 105 10 2 301 89 2 302 4 2 303 13 2 304 34 2 305 1 and the other like this one (file2): 1 103 2 303well, what I am trying to do is obtain a... (2 Replies)
Discussion started by: giuliangiuseppe
2 Replies

10. Shell Programming and Scripting

Create range of values and count values.

Gents, It is possible to generate a range of values according to column 1 and count the total of rows in the range. example input 15.3 15.5 15.8 15.9 16.0 16.1 16.8 17.0 17.5 18.0 output desired 15.0 - 15.9 = 4 (10 Replies)
Discussion started by: jiam912
10 Replies
TTFAUTOHINTGUI(1)						   User Commands						 TTFAUTOHINTGUI(1)

NAME
ttfautohintGUI - add new auto-generated hints to a TrueType font SYNOPSIS
ttfautohintGUI [OPTION]... DESCRIPTION
A GUI application to replace hints in a TrueType font. The new hints are based on FreeType's autohinter. This program is a simple front-end to the `ttfautohint' library. Long options can be given with one or two dashes, and with and without equal sign between option and argument. This means that the follow- ing forms are acceptable: `-foo=bar', `--foo=bar', `-foo bar', `--foo bar'. Mandatory arguments to long options are mandatory for short options too. Options not related to Qt or X11 set default values. OPTIONS
-f, --latin-fallback set fallback script to latin -G, --hinting-limit=N switch off hinting above this PPEM value (default: 200); value 0 means no limit -h, --help display this help and exit --help-all show Qt and X11 specific options also -i, --ignore-restrictions override font license restrictions -l, --hinting-range-min=N the minimum PPEM value for hint sets (default: 8) -n --no-info don't add ttfautohint info to the version string(s) in the `name' table -p, --pre-hinting apply original hints in advance -r, --hinting-range-max=N the maximum PPEM value for hint sets (default: 50) -s, --symbol input is symbol font -v, --verbose show progress information -V, --version print version information and exit -x, --increase-x-height=N increase x height for sizes in the range 6<=PPEM<=N; value 0 switches off this feature (default: 14) -X, --x-height-snapping-exceptions=STRING specify a comma-separated list of x-height snapping exceptions Qt Options: --graphicssystem=SYSTEM select a different graphics system backend instead of the default one (possible values: `raster', `opengl') --reverse set layout direction to right-to-left --session=ID restore the application for the given ID --style=STYLE set application GUI style (possible values: motif, windows, platinum) --stylesheet=SHEET apply the given Qt stylesheet to the application widgets X11 options: --background=COLOR set the default background color and an application palette (light and dark shades are calculated) --bg=COLOR same as --background --btn=COLOR set the default button color --button=COLOR same as --btn --cmap use a private color map on an 8-bit display --display=NAME use the given X-server display --fg=COLOR set the default foreground color --fn=FONTNAME set the application font --font=FONTNAME same as --fn --foreground=COLOR same as --fg --geometry=GEOMETRY set the client geometry of first window --im=SERVER set the X Input Method (XIM) server --inputstyle=STYLE set X Input Method input style (possible values: onthespot, overthespot, offthespot, root) --name=NAME set the application name --ncols=COUNT limit the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification --title=TITLE set the application title (caption) --visual=VISUAL force the application to use the given visual on an 8-bit display (only possible value: TrueColor) The program accepts both TTF and TTC files as input. Use option -i only if you have a legal permission to modify the font. If option -f is not set, glyphs not in the latin range stay unhinted. The used PPEM value for option -p is FUnits per em, normally 2048. With option -s, use default values for standard stem width and height, otherwise they are derived from latin character `o'. A hint set contains the optimal hinting for a certain PPEM value; the larger the hint set range, the more hint sets get computed, usually increasing the output font size. Note, however, that the `gasp' table of the output file enables grayscale hinting for all sizes (limited by option -G which is handled in the bytecode). A command-line version of this program is called `ttfautohint'. REPORTING BUGS
Report bugs to: freetype-devel@nongnu.org ttfautohint home page: <http://www.freetype.org/ttfautohint> COPYRIGHT
Copyright (C) 2011-2012 Werner Lemberg <wl@gnu.org>. License: FreeType License (FTL) or GNU GPLv2. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ttfautohintGUI 0.9 June 2012 TTFAUTOHINTGUI(1)
All times are GMT -4. The time now is 01:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy