10-12-2003
The saving file - is generated
"cpp" file, which must be compiled by this CGI-programm after it is saved.
And user can do it in any folder he wants (no possibility for using 'usr/temp/').
Maybe i have to change the directory's permissions? How to do it in C++?
Is there a function like "chmod()" in C++?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
There is a file A.lcf.
I am updating the file and saving it .
But as soon as I am logging off and then logging in I am finding that the updated changes are not there in the file. (5 Replies)
Discussion started by: suchismitasuchi
5 Replies
2. Shell Programming and Scripting
Hi i have wriiten a script which fetches the data from text file, and saves in the output in a text file itself, but i want that the output should save in different columns.
I have the output like:
For Channel:response_time__24.txt
1547 data points
0.339
0.299
0.448
0.581
7.380
... (1 Reply)
Discussion started by: rohitkalia
1 Replies
3. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
4. UNIX for Dummies Questions & Answers
is i want to sort or delete lines etc etc to a file, how do i save the changes.
example i do sort file > file
when i do cat file, all data is erased.
thanks. (2 Replies)
Discussion started by: hobiwhenuknowme
2 Replies
5. Shell Programming and Scripting
Hi All,
I have a file, let's call it "info.tmp" that contains data like this ..
ABC123456
PCX333445
BCD789833
I need to read "info.tmp" and for each line add strings in a way that the final output is
put /logs/ua/dummy.trigger 'AAA00001.FTP.XXX.BLA03A01.xxxxxx(+1)'
where XXX... (5 Replies)
Discussion started by: Andy_ARG
5 Replies
6. Shell Programming and Scripting
Dears,
i want cut the lines from a log file. Example of the log file as follows..
May 27, 2011 5:54:51 PM com.huawei.ivas.utilities.sm.client.SMDeliverContrUtil isDeliverSM
FINE:
May 27, 2011 5:54:51 PM com.huawei.ivas.utilities.sm.client.SMUtil addSysUpMsgLog
INFO: . The message content... (1 Reply)
Discussion started by: tonypalokkaran
1 Replies
7. UNIX for Dummies Questions & Answers
Hi Unix gurus,
Maybe it is too much to ask for but please take a moment and help me out. A very humble request to you gurus. I'm new to Unix and I have started learning Unix. I have this project which is way to advanced for me.
File format: CSV file
File has four columns with no header... (8 Replies)
Discussion started by: arvindosu
8 Replies
8. Shell Programming and Scripting
FILE_ID extraction from file name and save it in CSV file after looping through each folders
My files are located in UNIX Server, i want to extract file_id and file_name from each file .and save it in a CSV file. How do I do that?
I have folders in unix environment, directory structure is... (15 Replies)
Discussion started by: princetd001
15 Replies
9. Shell Programming and Scripting
Hi friends,
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
------------------------------------------------------------
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
2 Replies
10. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT OSF1
rcvstore
rcvstore(1) General Commands Manual rcvstore(1)
NAME
rcvstore - incorporate new mail asynchronously
SYNOPSIS
rcvstore [+folder] [-[no]create] [-help] [-sequence name] [-[no]public] [-[no]zero]
OPTIONS
Creates the specified folder. If you attempt to incorporate mail into a folder that does not exist, rcvstore creates the folder if you sup-
ply the -create option. If you supply the -nocreate option, the folder is not created and rcvstore exits. The default is -create. Prints a
list of the valid options to this command. Sets the read permissions of sequences. Normally, when you create a sequence with the -sequence
option, the sequence is not accessible to other MH users. The -public option makes the sequence accessible to other MH users. You can use
the -nopublic option to ensure that the sequence that you create is only accessible to yourself. Specifies a sequence in which rcvstore
places the messages which it incorporates. For more information on sequences, see mark(1). The name of the sequence must begin with a let-
ter, and must consist entirely of alphabetic or numeric characters; no punctuation is allowed. Specifies whether to zero existing
sequences before adding new messages. Normally, rcvstore removes all existing messages from a sequence before adding messages to it. If you
specify the -nozero option, rcvstore adds the messages it finds to the existing contents of the sequence. This option only works with the
-sequence option.
The defaults for this command are:
+folder defaults to +inbox -create -nopublic if the folder is read-only, otherwise -public -nozero
DESCRIPTION
The command rcvstore incorporates a message from the standard input into an MH folder. If a +folder argument is not given the file is
placed in your +inbox folder. The new message being incorporated is assigned the next highest number in the folder.
If the specified (or default) folder does not exist, it is created if the -create option is specified; otherwise rcvstore exits.
If your file contains a Msg-Protect: entry, it is used as the protection on the newly created messages; otherwise the MH default of 0600 is
used. During all operations on messages, this initially assigned protection is preserved for each message. You can use chmod to change the
protection on an individual message, and the new protection is preserved thereafter.
The rcvstore command incorporates anything except zero length messages into your MH folder.
If the profile entry Unseen-Sequence: is present and non-empty, then rcvstore adds the newly incorporated message to each sequence named by
the profile entry. Note that rcvstore does not zero each sequence prior to adding messages.
PROFILE COMPONENTS
Path: To determine your Mail directory
Folder-Protect: To set protections when creating a new
folder
Msg-Protect: To set protections when creating a new mes-
sage
Unseen-Sequence: To name sequences denoting unseen messages
FILES
The user profile.
SEE ALSO
chmod(1), inc(1), mark(1), pick(1), mh-mail(4), mh_profile(4)
rcvstore(1)