07-31-2007
well that works - yet what i saw once was even simpler, something like opening with #/' and closing with something like '/ -yet i cant remember the syntax, and cant remember where i saw it.
Do you/anyone know that kind of multible line outcommenting?
10 More Discussions You Might Find Interesting
1. BSD
I have been toying with this all night now and cannot seem to get it to work, so I came to you for some aid. I recently discovered the wonders of the AWK programming language and how it can be useful of UNIX system administratioin, especially directly from and interacitive interpreter (ala sh).
... (0 Replies)
Discussion started by: erebus47
0 Replies
2. AIX
Under smit, one has to manually select each fix with F7. there 9000 fixes left to be marked. How Can I manually install/Mark all of these without SMIT.
---------- Post updated at 02:29 PM ---------- Previous update was at 01:15 PM ----------
From the command line
instfix -T -d... (4 Replies)
Discussion started by: mrmurdock
4 Replies
3. Shell Programming and Scripting
hi,
my directory has the following files
I want to rename or mv them as
file 1 corresponds to new_1.bed, file2 to new_2.bed and so on.
How do I do it using awk or bash? TIA (4 Replies)
Discussion started by: jacobs.smith
4 Replies
4. Shell Programming and Scripting
I'm trying to write a script that can compile my students' homework submissions in bulk. My students' c code is buried in a file path that looks like this:
./Homework\ X/Doe, John/Submission\ Attachments
Where I'm struggling is determining how to navigate to each of the submission attachment... (11 Replies)
Discussion started by: GingerGiant
11 Replies
5. Shell Programming and Scripting
Hi Friends,
I have a directory with a ton of .html files, like this
ls -m1 dir
1.html
2.html
3.html
4.html
Somewhere in the files, there is a pattern like this
1.html
http://unix.com/cgi-bin/task?taskid=12010&task.out
2.html
http://unix.com/cgi-bin/task?taskid=11110&task.out... (1 Reply)
Discussion started by: jacobs.smith
1 Replies
6. Shell Programming and Scripting
Hi,
I have a directory with 100 subdirectories and each of these subdirectories has 1 file. Now I have to rename all these.
The structure is "files directory has 100 SRR191639-SRR191718 subfolders and in each there is a file with the same name a subdirectory followed by .sra extension... (5 Replies)
Discussion started by: Diya123
5 Replies
7. Shell Programming and Scripting
Hi,
I have a bunch of files which are named something like:
Company Name~1234~X1234~X1-123.pdf
I need to get them renamed something like:
Company Name~1234(X1234)X1-123.pdf
Once I have the X1234 inside () I have a piece of software which can use the X1234 bit. I will be receiving... (7 Replies)
Discussion started by: jcborland
7 Replies
8. Shell Programming and Scripting
Hi All, :D
Actullay I am looking for a smart way :b: to parse files in a directory whose count is around 2000000 :eek: in a single day.
Find is working with me but taking a lot of times :confused:, sometimes even a day which is not helping me.:wall:
So anyone can help me know a smart... (5 Replies)
Discussion started by: jojo123
5 Replies
9. Shell Programming and Scripting
Hallo Team,
I would like to change everything on field 24 that starts with
10.0.108.* to be 10.0.108.11
-bash-3.2$ cat pax1.csv|cut -f24 -d","|sort -u
10.0.108.11
10.0.108.11100
10.0.108.11102
10.0.108.11104
10.0.108.11105
10.0.108.11106
10.0.108.11108
10.0.108.11110... (6 Replies)
Discussion started by: kekanap
6 Replies
10. Shell Programming and Scripting
Greeting.
How to download messages in bulk in mailx? e.g. how to download all the message received on mar-23-2017 and save as a file or download individual mailx message that received on mar-23-2017 as individual file and as a loop?
We are on HP-UX centstdb B.11.31 U ia64 3294693583... (1 Reply)
Discussion started by: moneric
1 Replies
LEARN ABOUT LINUX
costransactions_resource
CosTransactions_Resource(3erl) Erlang Module Definition CosTransactions_Resource(3erl)
NAME
CosTransactions_Resource - This module implements the OMG CosTransactions::Resource interface.
DESCRIPTION
To get access to the record definitions for the structures use:
-include_lib("cosTransactions/include/CosTransactions.hrl").
EXPORTS
commit(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_NotPrepared'{} | #'CosTransactions_HeuristicRollback'{} | #'CosTransactions_HeuristicMixed'{} | #'Cos-
Transactions_HeuristicHazard'{}
This operation instructs the Resource to commit all changes made as a part of the transaction.
The Resource can raise:
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
commit_one_phase(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_HeuristicHazard'{} | #'CosTransactions_TransactionRolledBack'{}
If possible, the Resource should commit all changes made as part of the transaction, else it should raise the TRANSACTION_ROLLEDBACK
exception. This operation can only be used if the Resource is the only child of its parent.
forget(Resource) -> Return
Types Resource = #objref
Return = ok
This operation informs the Resource that it is safe to forget any Heuristic decisions and the knowledge of the transaction.
prepare(Resource) -> Return
Types Resource = #objref
Return = Vote | {'EXCEPTION', E}
Vote = 'VoteReadOnly' | 'VoteCommit' | 'VoteRollback'
E = #'CosTransactions_HeuristicMixed'{} | #'CosTransactions_HeuristicHazard'{}
This operation is invoked on the Resource to begin the two-phase commit protocol.
The Resource can reply:
* 'VoteReadOnly' - if no persistent data has been modified by the transaction. The Resource can forget all knowledge of the trans-
action.
* 'VoteCommit' - if the Resource has been prepared and is able to write all the data needed to commit the transaction to stable
storage.
* 'VoteRollback' - under any circumstances but must do so if none of the alternatives above are applicable.
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
rollback(Resource) -> Return
Types Resource = #objref
Return = ok | {'EXCEPTION', E}
E = #'CosTransactions_HeuristicCommit'{} | #'CosTransactions_HeuristicMixed'{} | #'CosTransactions_HeuristicHazard'{}
This operation instructs the Resource to rollback all changes made as a part of the transaction.
The Resource can raise:
* Heuristic Exception - if a Heuristic decision is made which differ from the true outcome of the transaction. The Resource must
remember the Heuristic outcome until the forget operation is performed.
Ericsson AB cosTransactions 1.2.10 CosTransactions_Resource(3erl)