Sponsored Content
Top Forums Shell Programming and Scripting Sorting with list, - 2 lists next to 200 Post 302893448 by Paul Walker on Wednesday 19th of March 2014 09:33:31 AM
Old 03-19-2014
Hi unfortunately that wont work is there a way I can use the version option to see just the OPS-order-326-item-PM447_Quantity_"2" or OPS-order-326-item-PM447_Quantity_"200" as the version number?
Thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

help with sorting sequence in Unix C:sort -t ':' +0 -1 -n +1 -2 +2 -3 -o list list

Hi List is 000|2008-07-17|556543|RTJ|35-RTGJ|EYT 465|2008-11-10|567789|GHJ|45-DGHH|ETU 533|2008-09-06|567789|GHJ|45-DGHH|ETU How does it do it? sort -t ':' +0 -1 -n +1 -2 +2 -3 -o list list (6 Replies)
Discussion started by: gurvinder
6 Replies

2. Shell Programming and Scripting

List UID's between 100 and 200

If i wanted to list all users who have a UID between 100 and 200 which command would i use? (1 Reply)
Discussion started by: warlock129
1 Replies

3. Shell Programming and Scripting

Shell Script to Create non-duplicate lists from two lists

File_A contains Strings: a b c d File_B contains Strings: a c z Need to have script written in either sh or ksh. Derive resultant files (File_New_A and File_New_B) from lists File_A and File_B where string elements in File_New_A and File_New_B are listed below. Resultant... (7 Replies)
Discussion started by: mlv_99
7 Replies

4. Programming

Help in sorting and merging lists

Hi everyone, need your help in sorting and merging two numerical lists Example: I have one list 1 2 3 4 5 7 and the other 4 6 8, then the final output should be 1 2 3 4 5 6 7 8 Requesting your kind help in this Regards, RB :) (1 Reply)
Discussion started by: ramakanth_burra
1 Replies

5. UNIX for Dummies Questions & Answers

Sorting a list

n02-z30-dsr65-terr0.50-dc0.010-16x12drw-run1.cmd n02-z30-dsr65-terr0.50-dc0.008-16x12drw-run1.cmd n02-z30-dsr65-terr0.50-dc0.006-16x12drw-run1.cmd n02-z30-dsr65-terr0.50-dc0.004-16x12drw-run1.cmd n02-z30-dsr65-terr0.50-dc0.002-16x12drw-run1.cmd n02-z30-dsr65-terr0.50-dc0.006-16x12drw-run2.cmd... (13 Replies)
Discussion started by: kristinu
13 Replies

6. Shell Programming and Scripting

Perl: Sorting a hash value that is a list.

Hi Folks I am very much a newbie at perl but picking it up and I'm hoping you can help. I have a file input that details all the /etc/group files in our enterprise in the following format: "<host>:<group>:<gid>:<users>" I want to parse this data display it as the following:... (9 Replies)
Discussion started by: g_string
9 Replies

7. Shell Programming and Scripting

Sorting a list

I am trying to sort a list If you walk through the list, every you have passed both website1 and website2 and get back to website1, the last lines should be collected into one line and the process should start again. The following: http://www.website1.com http://www.website1.com... (2 Replies)
Discussion started by: locoroco
2 Replies

8. Shell Programming and Scripting

Sorting a list of words one per line by their ending

Hello, My OS is Windows and therefore DOS. Hence I have no access to Unix tools. I am trying to sort a file in Urdu by the character by which it ends. Each word is on a separate line. As input, an example in English would help: fruit banana apple pear house I need the sort to be on the... (5 Replies)
Discussion started by: gimley
5 Replies

9. Shell Programming and Scripting

Help with split a list of records into each line with 200 coordinate at a time

Input File: E 3359799 3360148 350 X D 3471287 3471607 321 X E 3359799 3360740 942 X E 4359790 4360039 250 X . . . Desired Output File: E 3359799 3359998 200 X E 3359999 3360148 150 X D 3471287 3471486 200 X D 3471487 3471607 121 X E 3359799 3359998 200 X E 3359999 3360198 200 X... (1 Reply)
Discussion started by: perl_beginner
1 Replies
LIBATOMIC-OPS(3)														  LIBATOMIC-OPS(3)

NAME
libatomic-ops - Library providing user level atomic operations SYNOPSIS
#include <atomic_ops.h> cc ... -latomic_ops Note that all operations have an additional barrier option that can be set explicitly. void AO_load(AO_t *addr) void AO_store(AO_t *addr, AO_t val) int AO_test_and_set (AO_t *addr) AO_t AO_fetch_and_add(AO_t *addr, AO_t incr) AO_t AO_fetch_and_add1(AO_t *addr) AO_t AO_fetch_and_sub1(AO_t *addr) void AO_or(AO_t *p, AO_t incr) int AO_compare_and_swap(AO_t *addr, AO_t old, AO_t new_val) DESCRIPTION
libatomic-ops offers a programming interface to a comprehensive range of atomic operations at user level. We define various atomic operations on memory in a machine-specific way. Unfortunately, this is complicated by the fact that these may or may not be combined with various memory barriers. Thus the actual operations we define have the form AO_<atomic-op>_<barrier> for all plausible combinations of <atomic-op> and <barrier>. The valid barrier suffixes are _release Earlier operations may not be delayed past it. _acquire Later operations may not move ahead of it. _read Subsequent reads must follow this operation and preceding reads. _write Earlier writes precede both this operation and later writes. _full Ordered with respect to both earlier and later memops. _release_write Ordered with respect to earlier writes. _acquire_read Ordered with repsect to later reads. This of course results in a mild combinatorial explosion. The library will find the least expensive way to implement your operations on the applicable hardware. In many cases that will involve, for example, a stronger memory barrier, or a combination of hardware primitives. Note that atomicity guarantees are valid only if both readers and writers use AO_ operations to access the shared value, while ordering constraints are intended to apply all memory operations. If a location can potentially be accessed simultaneously from multiple threads, and one of those accesses may be a write access, then all such accesses to that location should be through AO_ primitives. However if AO_ operations enforce sufficient ordering to ensure that a location x cannot be accessed concurrently, or can only be read concurrently, then x can be accessed via ordinary references and assignments. All operations operate on an AO_t value, which is the natural word size for the architecture. AO_load and AO_store load and store the specified pointer address. AO_test_and_set atomically replaces an address with AO_TS_SET and returns the prior value. An AO_TS_t location can be reset with the AO_CLEAR macro, which usually uses AO_store_release AO_fetch_and_add takes an address and a value to add. AO_fetch_and_add1 and AO_fetch_and_sub1 are provided since they may have faster implemenations on some hardware AO_or atomically ors an AO_t value into a memory location, but does not provide access to the original AO_compare_and_swap takes an address, an old value and a new value and returns an int. non-zero indicates the compare and swap succeeded. SEE ALSO
libatomic-stack(3), libatomic-malloc(3) AUTHOR
This manual page was written by Ian Wienand <ianw@gelato.unsw.edu.au>, based on comments in the source code. It was written for the Debian project (but may be used by others). Ian Wienand May 17, 2005 LIBATOMIC-OPS(3)
All times are GMT -4. The time now is 11:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy