Probably a very straight forward question but please be easy on me, I am v. new to UNIX!
A script that I have runs the line
tmp=`pwd -H`
It works fine, but I needed to make a couple of other changes to the script, nowhere near this line but now this line reports:
pwd: A specified flag... (2 Replies)
Have another question that has been eluding me all day.
I have data file I'm trying to reformat so that each line is appended with an ID code, but the ID code needs to update as it searches through the file.
I.e.
----Begin Original Datafile-----
Condition = XXX
Header Line 1
Header... (1 Reply)
Hi
I am getting few messages when trying to run my script from the following lines in the script
if test
then
// SomeCode
fi
The messages are as follows:
testing.sh: OBLIGOR_GROUP_ID: 0403-012 A test command parameter is not valid.
testing.sh:... (5 Replies)
I am trying to write a bash script. I am able to do simple things like pass arguments, assign variables and echo the results. However, when I try to declare and array or anything a little more complicated I get
': not a valid identifier
Here is my code so far:
#!/bin/bash
echo start t... (7 Replies)
Hello,
Getting error "A test command parameter is not valid" when trying to run the code below under /sbin/sh
AA = "12:00"
CHK=$(date +"%H:%M")
if
then
print "Yes"
fi
Getting 2 errors:
1) "AA: not found"
2) "Specify a parameter with this command"
Thanks,
IS
Please... (5 Replies)
Hi Forum.
I tried to search the forum posts for an answer but I haven't been able to do so for what I'm trying to accomplish.
I have the following source file:
11936385~TFSA|11936385|4431|3401458067|10/09/1982|25.00|IBSBONUS|3200|||||CASH|
3401458067|1005|... (3 Replies)
Hi,
Am using a if condition to match a pattern but I get the following error..
if
then
echo "The value is $hidType"
return 0
elseif -a ]
echo "The value is $hidType"
return 0
fi
I get the following error
+ echo The value is mode
The value is mode
+
./a2: mode:... (2 Replies)
Heya fellows
Yes, script-tools and TUI are both my 'children', so i cant go anywhere (else) and ask for help/bugfixes as i need to write them myself.
However i do need help to understand error messages at times (or get hints what else might cause them), so here we go:
Since my new computer... (4 Replies)
Discussion started by: sea
4 Replies
LEARN ABOUT DEBIAN
__gnu_parallel::qsbthreadlocal
__gnu_parallel::QSBThreadLocal< RandomAccessIterator >(3cxx) __gnu_parallel::QSBThreadLocal< RandomAccessIterator >(3cxx)
NAME
__gnu_parallel::QSBThreadLocal< RandomAccessIterator > -
SYNOPSIS
Public Types
typedef
traits_type::difference_type difference_type"
typedef std::pair
< RandomAccessIterator,
RandomAccessIterator > Piece"
typedef std::iterator_traits
< RandomAccessIterator > traits_type"
Public Member Functions
QSBThreadLocal (int queue_size)
Public Attributes
volatile difference_type * elements_leftover
Piece global
Piece initial
RestrictedBoundedConcurrentQueue
< Piece > leftover_parts"
thread_index_t num_threads
Detailed Description
template<typename RandomAccessIterator>struct __gnu_parallel::QSBThreadLocal< RandomAccessIterator >
Information local to one thread in the parallel quicksort run.
Definition at line 62 of file balanced_quicksort.h.
Member Typedef Documentation
template<typename RandomAccessIterator> typedef std::pair<RandomAccessIterator, RandomAccessIterator> __gnu_parallel::QSBThreadLocal<
RandomAccessIterator >::Piece
Continuous part of the sequence, described by an iterator pair.
Definition at line 69 of file balanced_quicksort.h.
Constructor & Destructor Documentation
template<typename RandomAccessIterator> __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::QSBThreadLocal (intqueue_size) [inline]
Constructor. Parameters:
queue_size Size of the work-stealing queue.
Definition at line 88 of file balanced_quicksort.h.
Member Data Documentation
template<typename RandomAccessIterator> volatile difference_type* __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::elements_leftover
Pointer to a counter of elements left over to sort.
Definition at line 81 of file balanced_quicksort.h.
Referenced by __gnu_parallel::parallel_sort_qsb(), __gnu_parallel::qsb_conquer(), and __gnu_parallel::qsb_local_sort_with_helping().
template<typename RandomAccessIterator> Piece __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::global
The complete sequence to sort.
Definition at line 84 of file balanced_quicksort.h.
template<typename RandomAccessIterator> Piece __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::initial
Initial piece to work on.
Definition at line 72 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_conquer(), and __gnu_parallel::qsb_local_sort_with_helping().
template<typename RandomAccessIterator> RestrictedBoundedConcurrentQueue<Piece> __gnu_parallel::QSBThreadLocal< RandomAccessIterator
>::leftover_parts
Work-stealing queue.
Definition at line 75 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_local_sort_with_helping().
template<typename RandomAccessIterator> thread_index_t __gnu_parallel::QSBThreadLocal< RandomAccessIterator >::num_threads
Number of threads involved in this algorithm.
Definition at line 78 of file balanced_quicksort.h.
Referenced by __gnu_parallel::qsb_local_sort_with_helping().
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Thu Aug 2 2012 __gnu_parallel::QSBThreadLocal< RandomAccessIterator >(3cxx)