hi,
i'm having problem like this.
i wish to grep some keyword from certain files in one directory.
let's say i have a lot of files in my directory with the name of file.1 file.2 file.3 ...... file.500
i only wish to grep the keyword from file.20, file.21, file.23 .... file.50
i tried... (5 Replies)
hey.....
i do have text where the contents are like as follows,
FILE_TYPE_NUM_01=FILE_TYPE=01|FILE_DESC=Periodic|FILE_SCHDL_TYPE=Daily|FILE_SCHDL=|FILE_SCHDL_TIME=9:00am|RESULTS=B
FILE_TYPE_NUM_02=FILE_TYPE=02|FILE_DESC=NCTO|FILE_SCHDL_TYPE=Daily|FILE_SCHDL=|FILE_SCHDL_TIME=9:00am|RESULTS=M... (2 Replies)
Hi,
I try to grep lines with pattern like
float_or_int float_or_int float_or_int
where float_or_int is any float or any integer of any length.
I tried some :
grep "* * *" FILENAME #Work for integers but not for floats
grep '\<.*\> \<.*\> \<.*\>' FILENAME #Work for float but not... (4 Replies)
Here is the sample of my file address.txt
Address 1
1234 Drive way
New Orleans, LA
Zipcode :- 12345
Address 2
4567 Spring way
Chicago, IL
Zipcode :- 67890
I would like to grep for an Address title (Ex :- Address 2) , then get its zipcode and echo both in a single line. Ex :- ... (3 Replies)
Hi
This time I'm trying to grep for an exact match
e.g
cat.dog.horse.cow.bird.pig
horse.dog.pig
pig.cat.horse.dog
horse
dog
dog
pig.dog
pig.dog.bird
how do I grep for dog only so that a wc -l would result 2 in above case.
Thanks in advance
---------- Post updated at 06:33 AM... (4 Replies)
Hello everyone!I have a problem with grep function in unix.I have two files.One like this one:File1(Code)>100_10_50 >100_10_56>10_45_345and the other one like this:File2(Code more... (1 Reply)
Hello!
I have 2 files named tacs.tmp and tacDB.txt
tacs.tmp looks like this
0
10235647
102700
106800
107200
1105700
tacDB.txt looks like this
100100,Mitsubishi,G410,Handheld,,0,0,0
100200,Siemens,A53,Handheld,,0,0,0
100300,Sony Ericsson,TBD (AAB-1880030-BV),Handheld,,0,0,0... (2 Replies)
Hi There,
How do i finding files with match and without match
Normally,
I will use
grep -l 'Hello'
grep -L 'Hello World'
How do we combined (2 Replies)
Hi all,
Im trying to use grep to match a exact mask where some characters are known and some are not. for example:
j***n@email.com
in this case the length is known and the position of the unknown characters are know (and will be )
any idea how I can do this? the file list is not just... (3 Replies)
Discussion started by: flamer
3 Replies
LEARN ABOUT SUNOS
asadmin-list-javamail-resources
asadmin-list-javamail-resources(1AS) User Commands asadmin-list-javamail-resources(1AS)NAME
asadmin-list-javamail-resources, list-javamail-resources - gets all the Javamail resources
SYNOPSIS
list-javamail-resources --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file-
name] [--terse=false] [--echo=false] [--interactive=true]
Gets all the Javamail resources. This command can only be run remotely.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
Example 1: Using list-javamail-resources
asadmin> list-javamail-resources --user admin1
--password adminadmin1 --host pigeon --port 5001
mail/MyMailSession
Command list-javamail-resources executed successfuly
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-javamail-resource(1AS), asadmin-delete-javamail-resource(1)J2EE 1.4 SDK March 2004 asadmin-list-javamail-resources(1AS)