06-11-2012
Want to write all the jar name in single with delimiter ":" in beween the jar name
Hi All,
I am having 7 jar files in a dir. abc like listed below
HTML Code:
bash-3.00$ cd abc
bash-3.00$ ls
123.jar
23wdawd.jar
dfsa23.jar
dsa.jar
wew234.jar
adsd234234.jar
dfsda423.jar
Now i want to assign all this jar files to a variable in the below format
HTML Code:
AB=123.jar:.:23wdawd.jar:dfsa23.jar:dsa.jar:wew234.jar:adsd234234.jar:dfsda423.jar
Note: 1st delimiter will be "
:.:" remaining all will be "
:"
Any suggestion on how can i achieve this task?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies
2. Shell Programming and Scripting
Hi All,
I have working (Perl) code to combine 2 input files into a single output file using the join function that works to a point, but has the following limitations:
1. I am restrained to 2 input files only.
2. Only the "matched" fields are written out to the "matched" output file and... (1 Reply)
Discussion started by: Katabatic
1 Replies
3. Shell Programming and Scripting
Hi,
I am reading a directory that has a list of jar files. I am searching these files for specific keywords. What i would like to do is write the address of the jar file to a new file if the search result is returned as false. For example;
/home/user/JarDirectory/Examplefile.jar
... (2 Replies)
Discussion started by: crunchie
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Solaris
I am trying to understand why the runnable jar file runs on one Unix server, but not the other with same environment settings.
I copied exact same test jar from here -->
http://www.javaworld.com/javaworld/javatips/javatip127/MakeJarRunnable.zip
on to both Unix servers. Then changed... (5 Replies)
Discussion started by: kchinnam
5 Replies
6. Shell Programming and Scripting
Hi,
I'm dealing with an issue and losing a lot of hours figuring out how i would solve this.
I have an input file which looks like this:
('BLABLA +200-GRS','Serviço ','TarifaçãoServiço','wap.bla.us.0000000121',2985,0,55,' de conversão em escada','Dia','Domingos')
('BLABLA +200-GRR','Serviço... (6 Replies)
Discussion started by: poliver
6 Replies
7. Shell Programming and Scripting
Hi all.
I have a .txt file that I need to sort it
My file is like:
1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO)
2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies
8. Shell Programming and Scripting
Hello,
I am using VirtualBox to simulate a small network with two Linux computers, the host is Mac OS X. My problem is that I can't send "write" and "wall" messages from the host to one of those Linux computers.
Here is what works:
- The virtual Linux computer answers "ping" messages that have... (5 Replies)
Discussion started by: 123_abc
5 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
package-appclient
package-appclient(1M) Application Server Utility package-appclient(1M)
NAME
package-appclient - packs the application client container libraries and jar files
SYNOPSIS
package-appclient
Use the package-appclient command to pack the application client container libraries and jar files into an appclient.jar file. The created
file is located at appserver_install_dir/lib/appclient/appclient.jar. The appclient.jar file provides an application client container
package targeted at remote hosts that do not contain a server installation.
The appclient.jar archive contains native code and can be used on a target machine that is of similar architecture as the machine where it
was produced. So, for example, an appclient.jar produced on a Solaris SPARC platform cannot be used on a Windows client machine.
After copying the appclient.jar file to a remote location, unjar it to get a set of libraries and jar files in the appclient directory
After unjarring on the client machine, modify appclient_install_dir/config/asenv.conf (asenv.bat for Windows) as follows:
o set AS_WEBSERVICES_LIB to appclient_install_dir/lib
o set AS_NSS to appclient_install_dir/lib (appclient_install_dirin for Windows)
o set AS_IMQ_LIB to appclient_install_dir/imq/lib
o set AS_INSTALL to appclient_install_dir
o set AS_JAVA to your JDK 1.4 home directory
o set AS_ACC_CONFIG to appclient_install_dir/config/sun-acc.xml
Modify appclient_install_dir/config/sun-acc.xml as follows:
o Ensure the DOCTYPE file references appclient_install_dir/lib/dtds
o Ensure that target-server address attribute refrences the server machine.
o Ensure that target-server port attribute refrences the ORB port on the remote machine.
o Ensure that log-service references a log file; if the user wants to put log messages to a log file.
Modify appclient_install_dir/bin/appclient (appclient.bat for Windows) as follows:
o change token %CONFIG_HOME% to appclient_install_dir/config
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
appclient(1M)
Sun Java System Application Server March 2004 package-appclient(1M)