12-12-2013
It didn't work. It says couldn't find A1,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to substituted a variable to a file using sed. However, the value of that variable is not being substituted. Here is an example of my code.
lf='
'
v_whole="${1} ${2} ${3} $lf"
cp ${IPPDIR}/ctl/fax_sub_text_a.${4}.${5}.txt... (1 Reply)
Discussion started by: supercbw
1 Replies
2. UNIX for Dummies Questions & Answers
In a file I want to globally change a "|" charater by a new line character.
I am using the command
1,$s/\|/??/g
Can anybody say what should I put in place of ?? in the above command? (3 Replies)
Discussion started by: uLearner
3 Replies
3. Shell Programming and Scripting
Hi ,
I am stuck up in the below scenario:-
I need to read a file name (eg A.txt) name frm another file (eg B.txt) and then I need to search for a particular expression in A.txt and substitute it with another expression.
How can I use SED inside SHELL Scripting and command prompt as... (2 Replies)
Discussion started by: shubhranshu
2 Replies
4. Shell Programming and Scripting
Hi ,
I am stuck up in the below scenario:-
I need to read a file name (eg A.txt) name frm another file (eg B.txt) and then I need to search for a particular expression in A.txt and substitute it with another expression.
How can I use SED inside SHELL Scripting and command prompt as well to... (1 Reply)
Discussion started by: shubhranshu
1 Replies
5. Shell Programming and Scripting
Hi,
What is the actual difference between these two? Why the following code works for process substitution and fails for command substitution?
while IFS= read -r line; do echo $line; done < <(cat file)executes successfully and display the contents of the file
But,
while IFS='\n' read -r... (3 Replies)
Discussion started by: royalibrahim
3 Replies
6. Shell Programming and Scripting
All,
I have this text document that contains a listing(See below).
What i would like to ask is how i could extract just the information i need which is the files name (CWS*****.***.gz)
If anyone has any suggestions i would be very grateful. I am sure its relatively simple but i just... (6 Replies)
Discussion started by: Andyp2704
6 Replies
7. UNIX for Dummies Questions & Answers
Hello, I have a file with 10,000+ records which look like this:
Image3992170.tif 4/21/200811:42:09AM 3,373.13KB
Image3993265.tif 4/11/20087:17:58PM 2,369.72KB
Image3996764.tif 5/2/200811:01:28AM 2,155.87KB
Image3997700.tif ... (4 Replies)
Discussion started by: lotusdeva
4 Replies
8. Shell Programming and Scripting
How do i substitute ' with space in a file using sed or awk
i am getting the following two scenarios
1) xyz'd with xyz d
if i use
sed 's/xyz\\\'d/xy z/g'
it is taking ' after \ as closing expr for substitution
2) xyz';d with xyz d
please advice (8 Replies)
Discussion started by: mad_man12
8 Replies
9. Shell Programming and Scripting
Hello, I'm trying to do a substitution in vi. which adds a field for the year to a line.
If the line doesnt include a year, it should still add a field (although empty)
the fields are:
Country:number:number:name(and sometimes year):place
this is a desired in and output:
Sweden:55:32:John... (2 Replies)
Discussion started by: drareeg
2 Replies
10. UNIX for Dummies Questions & Answers
Hi experts,
Could someone help me how to figure out the following substitution?
I copied and pasted a column of names from an Excel file into another file in vi. The column of data has last names with dash (hyphens) and apostrophes. My goal is to do the following:
1) remove the apostrophes... (10 Replies)
Discussion started by: onlinelearner02
10 Replies
LEARN ABOUT DEBIAN
mapistore_err_context_failed
mapiproxy/libmapistore/mapistore_errors.h(3) OpenChange mapistore library mapiproxy/libmapistore/mapistore_errors.h(3)
NAME
mapiproxy/libmapistore/mapistore_errors.h -
This header provides a set of result codes for MAPISTORE function calls.
SYNOPSIS
Enumerations
enum mapistore_error { MAPISTORE_SUCCESS = 0, MAPISTORE_ERROR = 1, MAPISTORE_ERR_NO_MEMORY = 2, MAPISTORE_ERR_ALREADY_INITIALIZED = 3,
MAPISTORE_ERR_NOT_INITIALIZED = 4, MAPISTORE_ERR_CORRUPTED = 5, MAPISTORE_ERR_INVALID_PARAMETER = 6, MAPISTORE_ERR_NO_DIRECTORY =
7, MAPISTORE_ERR_DATABASE_INIT = 8, MAPISTORE_ERR_DATABASE_OPS = 9, MAPISTORE_ERR_BACKEND_REGISTER = 10, MAPISTORE_ERR_BACKEND_INIT
= 11, MAPISTORE_ERR_CONTEXT_FAILED = 12, MAPISTORE_ERR_INVALID_NAMESPACE = 13, MAPISTORE_ERR_NOT_FOUND = 14,
MAPISTORE_ERR_REF_COUNT = 15, MAPISTORE_ERR_EXIST = 16, MAPISTORE_ERR_INVALID_DATA = 17, MAPISTORE_ERR_MSG_SEND = 18,
MAPISTORE_ERR_MSG_RCV = 19, MAPISTORE_ERR_DENIED = 20, MAPISTORE_ERR_NOT_IMPLEMENTED }
Detailed Description
This header provides a set of result codes for MAPISTORE function calls.
Enumeration Type Documentation
enum mapistore_error
Enumerator:
MAPISTORE_SUCCESS
The function call succeeded.
MAPISTORE_ERROR
The function call failed for some non-specific reason.
MAPISTORE_ERR_NO_MEMORY
The function call failed because it was unable to allocate the memory required by underlying operations.
MAPISTORE_ERR_ALREADY_INITIALIZED
The function call failed because underlying context has already been initialized.
MAPISTORE_ERR_NOT_INITIALIZED
The function call failed because context has not been initialized.
MAPISTORE_ERR_CORRUPTED
The function call failed because an internal mapistore storage component has corrupted data.
MAPISTORE_ERR_INVALID_PARAMETER
The function call failed because one of the function parameters is invalid.
MAPISTORE_ERR_NO_DIRECTORY
The function call failed because the directory doesn't exist.
MAPISTORE_ERR_DATABASE_INIT
The function call failed because the underlying function couldn't open a database.
MAPISTORE_ERR_DATABASE_OPS
The function call failed because the underlying function didn't run a database operation successfully.
MAPISTORE_ERR_BACKEND_REGISTER
The function failed to register a storage backend.
MAPISTORE_ERR_BACKEND_INIT
One of more storage backend initialization functions failed to complete successfully.
MAPISTORE_ERR_CONTEXT_FAILED
The function failed because mapistore failed to create a context.
MAPISTORE_ERR_INVALID_NAMESPACE
The function failed because the provided namespace is invalid.
MAPISTORE_ERR_NOT_FOUND
The function failed to find requested record/data.
MAPISTORE_ERR_REF_COUNT
The function still has a reference count.
MAPISTORE_ERR_EXIST
The function already have record/data for the searched element.
MAPISTORE_ERR_INVALID_DATA
The function failed to generate requested data/payload.
MAPISTORE_ERR_MSG_SEND
The function failed to send message.
MAPISTORE_ERR_MSG_RCV
The function failed to receive message.
MAPISTORE_ERR_DENIED
The operation required privileges that the user does not have.
MAPISTORE_ERR_NOT_IMPLEMENTED
The function is not implemented.
Author
Generated automatically by Doxygen for OpenChange mapistore library from the source code.
Version 1.0 Sat Jun 14 2014 mapiproxy/libmapistore/mapistore_errors.h(3)