05-02-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have one file which is named ^? ( the DEL character )
I'd like to know how to rename or copy the file by using its i-node number
TYIA (2 Replies)
Discussion started by: nawnaw
2 Replies
2. UNIX for Dummies Questions & Answers
Can I get some help on this please, I have looked at the many post with similar questions and have tried the solutions and they are not working for my scenario which is:
I have a text file (myfile) that contains
b_log=$g_log/FILENAME.log
echo "Begin processing file FILENAME " >> $b_log
... (4 Replies)
Discussion started by: CAGIRL
4 Replies
3. UNIX for Dummies Questions & Answers
HI All
I need a shell script ehich removes all special characters from file and converts the file to UTF-* format
Specail characters to be removed must be configurable.
strIllegal = @"?/><,:;""'{|\\+=-)(*&^%$#@!~`";
Please help me in getting this script as my scripting skilla are... (2 Replies)
Discussion started by: sujithchandra
2 Replies
4. UNIX for Dummies Questions & Answers
Well, I've searched the forum, but couldn't find an option, that would help me. I'm really a dummie in unix, so here it goes.
I've got like 50k files in a single catalogue. One of them contains a string:
Including the box/square brackets. I tried to find it manually, and use some search... (2 Replies)
Discussion started by: kalik
2 Replies
5. Shell Programming and Scripting
Hi,
I am creating a script to do a find and replace single/multiple lines in a file with any number of lines.
I have written a logic in a script that reads a reference file say "findrep" and populates two variables $FIND and $REPLACE
print $FIND gives
Hi How r $u
Rahul()
Note:... (0 Replies)
Discussion started by: r_sarnayak
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm trying to find all DISTINCT words having _mr in the line and ENCLOSED in '/'.
For eg below is the text in a file..
/database/new_mr254/1
/database/rawdb/views/new_mr254/1
/database/project/rawdb/tables/new_mr232/1
/database/project/rawdb/views/new_mr253/1... (5 Replies)
Discussion started by: northwest
5 Replies
7. Shell Programming and Scripting
Hey guys,
I'm trying to replace "]Facebook" from the text
but
sed 's/]Facebook/Johan/g'
is not working
could you please help me with that? (6 Replies)
Discussion started by: Johanni
6 Replies
8. Shell Programming and Scripting
i need to replace the any special characters with escape characters like below.
test!=123-> test\!\=123
!@#$%^&*()-= to be replaced by
\!\@\#\$\%\^\&\*\(\)\-\= (8 Replies)
Discussion started by: laknar
8 Replies
9. Shell Programming and Scripting
I have flat file which has data like this
glid¿as_liste¿025175456
How can I print these lines into new file? (4 Replies)
Discussion started by: sol_nov
4 Replies
10. Shell Programming and Scripting
Hi....I have a xml file which is having lots of special characters which I need to find out and put the distinct list of those into a text file. The list of special characters is not specific, it can be anything at different point of time.
Can anyone help me to find out the same and list out?
... (10 Replies)
Discussion started by: Krishanu Saha
10 Replies
LEARN ABOUT OSX
labelit_hsfs
labelit_hsfs(1M) System Administration Commands labelit_hsfs(1M)
NAME
labelit_hsfs - provide and print labels for hsfs file systems
SYNOPSIS
/usr/sbin/labelit -F hsfs [generic_options] [-o specific_options] special
DESCRIPTION
labelit can be used to provide labels for unmounted CD-ROM images (CD-ROMs may not be labeled, as they are read-only media).
generic_options are options supported by the generic labelit command.
If no specific_options are specified, labelit prints the current value of all label fields.
The special name should be the physical disk section (for example, /dev/dsk/c0d0s6).
OPTIONS
-o Use one or more of the following name=value pairs separated by commas (with no intervening spaces) to specify values for specific
label fields. According to the ISO 9660 specification, only certain sets of characters may be used to fill in these labels. Thus,
``d-characters'' below refers to the characters `A' through `Z', the digits `0' through `9', and the `_' (underscore) character.
``a-characters'' below refers to `A' through `Z', `0' through `9', space, and the following characters: !"%&'()*+,-./:;<=>?_.
absfile= Abstract file identifier, d-characters, 37 characters maximum.
applid= Application identifier, d-characters, 128 characters maximum.
bibfile= Bibliographic file identifier, d-characters, 37 characters maximum.
copyfile= Copyright file identifier, d-characters, 128 maximum.
prepid= Data preparer identifier, d-characters, 128 maximum.
pubid= Publisher identifier, d-characters, 128 maximum.
sysid= System identifier, a-characters, 32 maximum.
volid= Volume identifier, d-characters, 32 maximum.
volsetid= Volume set identifier, d-characters, 128 maximum.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
labelit(1M), volcopy(1M), attributes(5)
SunOS 5.10 20 Mar 1992 labelit_hsfs(1M)