04-23-2015
Thanks a lot Singh.Its working fine
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello people.
I need some help to do this:
I've got some files that i need to count the caracters of filenames.
20080209_2000591574_237004076372.xml
20080202_1360584_267002636042.xml
The minimum is 15 . If some file with less must move them to another directory.
Obviously these... (3 Replies)
Discussion started by: osramos
3 Replies
2. Shell Programming and Scripting
Hi what is the purpose of using underscore in awk. I suppose it is for defining macro's and reducing repeatation but can some one show me an example? (6 Replies)
Discussion started by: ahmedwaseem2000
6 Replies
3. Shell Programming and Scripting
I am taking an user input which should only be an alphanumeric character or an underscore. How to i do it? (2 Replies)
Discussion started by: vickylife
2 Replies
4. Shell Programming and Scripting
Hi
I have the following files in a directory -
ds_pl_W_Test
ds_pl_list_Test
ds_pl_list_Test
ds_pl_listl_Test
ds_pl_file_Test
ds_pl_xx_Test
I would like to count the number files in the directory that contain the word "list"
I tried the following but it returns zero -
... (3 Replies)
Discussion started by: Prega
3 Replies
5. UNIX for Advanced & Expert Users
How does adding an underscore change a google search? I was searching for John Elway and got different results with and without an unscore. (3 Replies)
Discussion started by: cokedude
3 Replies
6. Shell Programming and Scripting
Hi Everyone,
I am looking for a command that would do the following:
1) Change all the letters/words in a file to Lower case Letters/words.
2) Remove the Underscore (_) and Change the Character after the underscore (_) to an Uppercase letter.
Example:
File contains the below words:
... (5 Replies)
Discussion started by: filter
5 Replies
7. Shell Programming and Scripting
Hi,
I have been trying to change underscores to dots.
For example:
1122_91 1022_233 .
2237_23 9382_2339 2998_234
345_257 . .
Desired output:
1122.91 1022.233 .
2237.23 9382.2339 2998.234
345.257 . .
Any idea?
Thanks (4 Replies)
Discussion started by: iconig
4 Replies
8. Shell Programming and Scripting
Hello,
I do have folders containing having funny strings in their names and one space.
First, I do remove the funny strings and replace the space by an underscore.
find . -name '* *' | while read file;
do
target=`echo "$file" | sed 's/... (2 Replies)
Discussion started by: tempestas
2 Replies
9. HP-UX
Hello,
I have spent a couple of hours trying to answer this myself, so forgive me if the answer is simple but I have tried.
I have a text file generated from svn log output which contains a list of files.
Two regexps im using are
*
and
*
They both work but some lines has a mixture... (7 Replies)
Discussion started by: YogaBija
7 Replies
10. Shell Programming and Scripting
Hi I have a set of files in one directory like below
FIN_TASK1.csv
FINA_TASK2.csv
FIN_TASK3.csv.
I want a command to print the count in each file and the correspong file name into one file.My expected output is given below
cat filcount.txt
2 "FIN_TASK1.csv"
4 "FIN_TASK2.csv"
... (3 Replies)
Discussion started by: ginrkf
3 Replies
privgrp(5) File Formats Manual privgrp(5)
NAME
privgrp - HP-UX group privileges
DESCRIPTION
HP-UX allows subletting of limited superuser-like privileges to all users or to members of a particular group or groups. This capability
is deprecated and only existing applications should use it. The newer fine-grained privilege facilities described in privileges(5) should
be used by new applications.
The header defines the following symbolic privilege names: and
All but one of the group privileges are supported as fine-grained privileges and described in privileges(5). The one group privilege not
supported as a fine-grained privilege is:
Permits the use of the
and system calls for changing respectively the real user ID and real group ID of a process (see setuid(2)). This
behavior of is deprecated and only legacy applications should use it. Newer applications should use and respec-
tively, to achieve the same effect. (No special privileges required.)
The header defines two additional symbolic constants:
defines the maximum number of groups with special privileges.
Of this maximum, one is reserved for global privileges (granted to all processes) and the remainder can be assigned
to actual group IDs.
defines the size of the multi-word mask used
in defining privileges associated with a group ID.
The and commands and the and system calls may be used to define and query the privilege group associations.
The group privileges are automatically initialized from the contents of (see privgrp(4)) at boot time.
WARNINGS
This mechanism is deprecated and only legacy applications should use it. See privileges(5) for a description of fine-grained privileges.
SEE ALSO
getprivgrp(1), setprivgrp(1M), chown(2), getprivgrp(2), lockf(2), mpctl(2), plock(2), pset_create(2), rtprio(2), rtsched(2), serialize(2),
setgid(2), setuid(2), shmctl(2), privgrp(4), privileges(5).
privgrp(5)