Sponsored Content
Top Forums Shell Programming and Scripting Detect continuous number as range Post 302974017 by before4 on Wednesday 25th of May 2016 02:35:59 AM
Old 05-25-2016
Work perfect, and good finding for my mistake many thanks
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validate number range

Hi If I want to read user input and want to validate if it is a numeric number in some range of 1-100 what would be the best way? Sabina (5 Replies)
Discussion started by: sabina
5 Replies

2. Shell Programming and Scripting

extract number range from a file

Hi Everyone, a.txt 1272904667;1272904737;1 1272904747;1272904819;1 1272904810;1272904857;1 1272904889;1272904926;1 1272905399;1272905406;1 1272905411;1272905422;1 if i want to get the record, when the a.txt 1st field is between 1272904749 and 1272905399, any simple way by using awk,... (1 Reply)
Discussion started by: jimmy_y
1 Replies

3. Shell Programming and Scripting

Number range for SSNs

Hi All. I have a file that has an ID Number field....some of the ID Numbers are actual SSNs. ...does anyone know the range that SSNs may be...this is what I have found so far poking around SSN info sites.... greater than 001-01-0000 and less than 770-00-0000. Does anyone know this to be... (1 Reply)
Discussion started by: lyoncc
1 Replies

4. Shell Programming and Scripting

Closest Number from a Range of Numbers

out of a range of numbers, how can i pick out the number that is the closest to any arbitrary/random number that a user supplies? say the range of numbers are between 1 - 90000. but that doesn't mean each number exist between 1 - 90000. the range of numbers could be for example: 1, 3, 4, 6,... (6 Replies)
Discussion started by: SkySmart
6 Replies

5. Shell Programming and Scripting

how can I detect number series range

Hi I have one source file and content of source file as follows; 3 00 3 01 3 02 3 07 3 09 3 10 3 15 3 16 3 17 3 18 3 40 3 45 3 500 3 501 3 502 3 70 3 80 (8 Replies)
Discussion started by: kocaturk
8 Replies

6. Shell Programming and Scripting

Range of number from 0.1 to 10.0

Is there a way to create a loop that will output number starting from 0.1 to 10.0 0.1 0.2 0.3 0.4 0.5 .. ... 10.0 This is what i tried. for i in {1..50}; do printf -v i '%02d' $i ; echo "$i"; done That will print 01 02 03 .. .. 50 (9 Replies)
Discussion started by: vietrice
9 Replies

7. Shell Programming and Scripting

If statement test against number range [0-9]

Is it possible to test against a varible within a ranges in a if statement. ex. if ];then echo "not in range" else echo "number within range" fi (8 Replies)
Discussion started by: leemalloy
8 Replies

8. Shell Programming and Scripting

Fill data if number range is given

Hi I want to get all numbers if number range is given as input. Eg: INPUT FILE 100-105 107 108-112 OUTPUT REQUIRED: 100 101 102 103 104 105 107 108 109 110 111 112 How can I do it using shell? :confused: Thanks in advance. (11 Replies)
Discussion started by: dashing201
11 Replies

9. Shell Programming and Scripting

Generating Random Number in certain range

Hi there I am trying to generate a random number between 40 and 70 using the shell here is my code so far and it keeps going above 70. all help much appreciated! comp=$(( RANDOM%70+40 )) echo $comp (4 Replies)
Discussion started by: faintingquiche
4 Replies

10. UNIX for Dummies Questions & Answers

Using sed to replace a range of number

Trying to use SED to replace numbers that fall into a range but can't seem to get the logic to work and am wondering if SED will do this. I have a file with the following numbers 3 26 20 5. For the numbers that are greater than zero and less than 25, SED would add the word range after the... (7 Replies)
Discussion started by: jimmyf
7 Replies
ARMSCII-8(7)						     Linux Programmer's Manual						      ARMSCII-8(7)

NAME
armscii-8 - Armenian character set encoded in octal, decimal, and hexadecimal DESCRIPTION
The Armenian Standard Code for Information Interchange, 8-bit coded character set. ArmSCII-8 characters The following table displays the characters in ArmSCII-8, which are printable and unlisted in the ascii(7) manual page. The fourth column will only show the proper glyphs in an environment configured for ArmSCII-8. Oct Dec Hex Char Description -------------------------------------------------------------------- 240 160 A0 NO-BREAK SPACE 242 162 A2 ARMENIAN SMALL LIGATURE ECH YIWN 243 163 A3 ARMENIAN FULL STOP 244 164 A4 ) RIGHT PARENTHESIS 245 165 A5 ( LEFT PARENTHESIS 246 166 A6 >> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 247 167 A7 << LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 250 168 A8 -- EM DASH 251 169 A9 . FULL STOP 252 170 AA ARMENIAN COMMA 253 171 AB , COMMA 254 172 AC - HYPHEN-MINUS 255 173 AD ARMENIAN HYPHEN 256 174 AE HORIZONTAL ELLIPSIS 257 175 AF ARMENIAN EXCLAMATION MARK 260 176 B0 ARMENIAN EMPHASIS MARK 261 177 B1 ARMENIAN QUESTION MARK 262 178 B2 ARMENIAN CAPITAL LETTER AYB 263 179 B3 ARMENIAN SMALL LETTER AYB 264 180 B4 ARMENIAN CAPITAL LETTER BEN 265 181 B5 ARMENIAN SMALL LETTER BEN 266 182 B6 ARMENIAN CAPITAL LETTER GIM 267 183 B7 ARMENIAN SMALL LETTER GIM 270 184 B8 ARMENIAN CAPITAL LETTER DA 271 185 B9 ARMENIAN SMALL LETTER DA 272 186 BA ARMENIAN CAPITAL LETTER ECH 273 187 BB ARMENIAN SMALL LETTER ECH 274 188 BC ARMENIAN CAPITAL LETTER ZA 275 189 BD ARMENIAN SMALL LETTER ZA 276 190 BE ARMENIAN CAPITAL LETTER EH 277 191 BF ARMENIAN SMALL LETTER EH 300 192 C0 ARMENIAN CAPITAL LETTER ET 301 193 C1 ARMENIAN SMALL LETTER ET 302 194 C2 ARMENIAN CAPITAL LETTER TO 303 195 C3 ARMENIAN SMALL LETTER TO 304 196 C4 ARMENIAN CAPITAL LETTER ZHE 305 197 C5 ARMENIAN SMALL LETTER ZHE 306 198 C6 ARMENIAN CAPITAL LETTER INI 307 199 C7 ARMENIAN SMALL LETTER INI 310 200 C8 ARMENIAN CAPITAL LETTER LIWN 311 201 C9 ARMENIAN SMALL LETTER LIWN 312 202 CA ARMENIAN CAPITAL LETTER XEH 313 203 CB ARMENIAN SMALL LETTER XEH 314 204 CC ARMENIAN CAPITAL LETTER CA 315 205 CD ARMENIAN SMALL LETTER CA 316 206 CE ARMENIAN CAPITAL LETTER KEN 317 207 CF ARMENIAN SMALL LETTER KEN 320 208 D0 ARMENIAN CAPITAL LETTER HO 321 209 D1 ARMENIAN SMALL LETTER HO 322 210 D2 ARMENIAN CAPITAL LETTER JA 323 211 D3 ARMENIAN SMALL LETTER JA 324 212 D4 ARMENIAN CAPITAL LETTER GHAD 325 213 D5 ARMENIAN SMALL LETTER GHAD 326 214 D6 ARMENIAN CAPITAL LETTER CHEH 327 215 D7 ARMENIAN SMALL LETTER CHEH 330 216 D8 ARMENIAN CAPITAL LETTER MEN 331 217 D9 ARMENIAN SMALL LETTER MEN 332 218 DA ARMENIAN CAPITAL LETTER YI 333 219 DB ARMENIAN SMALL LETTER YI 334 220 DC ARMENIAN CAPITAL LETTER NOW 335 221 DD ARMENIAN SMALL LETTER NOW 336 222 DE ARMENIAN CAPITAL LETTER SHA 337 223 DF ARMENIAN SMALL LETTER SHA 340 224 E0 ARMENIAN CAPITAL LETTER VO 341 225 E1 ARMENIAN SMALL LETTER VO 342 226 E2 ARMENIAN CAPITAL LETTER CHA 343 227 E3 ARMENIAN SMALL LETTER CHA 344 228 E4 ARMENIAN CAPITAL LETTER PEH 345 229 E5 ARMENIAN SMALL LETTER PEH 346 230 E6 ARMENIAN CAPITAL LETTER JHEH 347 231 E7 ARMENIAN SMALL LETTER JHEH 350 232 E8 ARMENIAN CAPITAL LETTER RA 351 233 E9 ARMENIAN SMALL LETTER RA 352 234 EA ARMENIAN CAPITAL LETTER SEH 353 235 EB ARMENIAN SMALL LETTER SEH 354 236 EC ARMENIAN CAPITAL LETTER VEW 355 237 ED ARMENIAN SMALL LETTER VEW 356 238 EE ARMENIAN CAPITAL LETTER TIWN 357 239 EF ARMENIAN SMALL LETTER TIWN 360 240 F0 ARMENIAN CAPITAL LETTER REH 361 241 F1 ARMENIAN SMALL LETTER REH 362 242 F2 ARMENIAN CAPITAL LETTER CO 363 243 F3 ARMENIAN SMALL LETTER CO 364 244 F4 ARMENIAN CAPITAL LETTER YIWN 365 245 F5 ARMENIAN SMALL LETTER YIWN 366 246 F6 ARMENIAN CAPITAL LETTER PIWR 367 247 F7 ARMENIAN SMALL LETTER PIWR 370 248 F8 ARMENIAN CAPITAL LETTER KEH 371 249 F9 ARMENIAN SMALL LETTER KEH 372 250 FA ARMENIAN CAPITAL LETTER OH 373 251 FB ARMENIAN SMALL LETTER OH 374 252 FC ARMENIAN CAPITAL LETTER FEH 375 253 FD ARMENIAN SMALL LETTER FEH 376 254 FE ARMENIAN APOSTROPHE SEE ALSO
ascii(7) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2010-09-20 ARMSCII-8(7)
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy