Sponsored Content
Top Forums Shell Programming and Scripting change small letters to capital Post 302075936 by tmarikle on Wednesday 7th of June 2006 04:21:22 PM
Old 06-07-2006
Quote:
Originally Posted by atticus
i think i have to do soemthin with sort -f
Why would you need to sort the file in the first place?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

capital letters GONE!

I have an odd issue. I am trying to copy some files/folders to my linux box via a burned CD which I created on my mac. When I browse the files on the mac (or my windows box), everything looks fine (some of the folder names start with a capital letter, which is needed for everything to work... (8 Replies)
Discussion started by: blogg
8 Replies

2. Shell Programming and Scripting

Change a parameter to be in capital letters

Hi, I have a korn shell script with 1 parameter. My script deletes certain files, for example.... sid=$1 rm $ORC/dbs/orapwd${sid} #orapwddb1 rm $ORC/dbs/lk${sid} #lkDB1 In the first file, the $sid must be in small letters and in the second file, the $sid must be in capital... (4 Replies)
Discussion started by: n8575
4 Replies

3. UNIX for Dummies Questions & Answers

How to search for capital letters

Hi, I just want to search a file for any words containng a capital letter and then display a list of just these words! I have been trying grep but to no has not helped.(im using the bash shell) (1 Reply)
Discussion started by: djdaniel3
1 Replies

4. Shell Programming and Scripting

I want a small change in my script

Hi All, I have a script like this which read a file and take data with file seperator , and it is working fine for only one line.If i am giving two line of data in this file it is taking the second line only.Can anyone help me to solve the problem.My aim is to read the file each line by line. ... (5 Replies)
Discussion started by: Renjesh
5 Replies

5. Shell Programming and Scripting

Put parentheses around all capital letters using SED

Hello everyone I tell you that I'm trying to do a bash program that can put parentheses around each capital letter of each line using SED. I tell you probe with: sed -e '1,$s/A/(A)/g' "$file" but only add parentheses in A. then tested with: sed 'y/AB/(A)(B)/' "$archivo" but it... (3 Replies)
Discussion started by: adiegorpc
3 Replies

6. Shell Programming and Scripting

changing all characters of a file to capital letters

Hi guys. I have file named output.txt containing file names. one per line. I use this command to convert all characters to capital letters and write to the same file. cat output.txt | tr 'a-z' 'A-Z' > output.txtBut at the end output.txt is emtpy. Could anyone help?? (6 Replies)
Discussion started by: majid.merkava
6 Replies

7. Shell Programming and Scripting

Small help related to date change

Hi, I am using this code in order to automate a commands in DB: begin for i in 0..23 loop dbms_output.put_line ( 'ALTER TABLE CRESTELMEDIATIONPRD501.TBLMEDIATIONCDR ADD PARTITION'||' ... (3 Replies)
Discussion started by: hitesh1907
3 Replies

8. Solaris

Escape Sequence for Capital Letters Input at Shell Not Working

Hello, I am running Solaris 8. When issuing the command "stty lcase" all text which is output to the terminal are capitalized. Letters that are supposed to be capitals are preceded by a backslash during output. All text which is input is converted to lower case. This is the expected behaviour... (5 Replies)
Discussion started by: rstor
5 Replies

9. Shell Programming and Scripting

Organizing text file by Capital Names (capital word ' ' capital word)

Hi I have a file passwd_exmpl that contains: root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync... (5 Replies)
Discussion started by: eladage
5 Replies

10. Shell Programming and Scripting

Find words containing small letters

Hello, I have a file containing different words. How can i print the words which contain at least one small letter, for example if i have: today TOMORROw 12345 123a next preViou5 no it should print the following: today TOMORROw 123a next preViou5 no Please use code tags as required... (5 Replies)
Discussion started by: JhonTheNewbie
5 Replies
lifinit(1)						      General Commands Manual							lifinit(1)

NAME
lifinit - write LIF volume header on file SYNOPSIS
nnn] nnn] string] nnn] nnn] nnn] file DESCRIPTION
writes a LIF volume header on a volume or file. Options recognizes the following options and command-line arguments which can appear in any order: Sets volume size to nnn bytes. If nnn is not a multiple of 256, it is rounded down to the next such multiple. Sets directory size to nnn file entries. If nnn is not an integer multiple of 8, it is rounded up to next such multiple. Sets the volume name to be string. If the option is not specified, the volume name is set to the last component of the path name specified by file. A legal LIF volume name is 6 characters long and is limited to uppercase letters (A-Z), digits (0-9) and the underscore character (_). The first character (if any) must be a letter. The utility automatically performs translation to create legal LIF volume names. Therefore, all lowercase letters are converted to uppercase, and all other characters except numeric and underscore are replaced with a capital letter If the volume name does not start with a letter, the volume name is preceded by a capital letter The volume name is also right-padded with spaces or truncated as needed to be six characters long. If is used with no string, the default volume name is set to 6 spaces. set the initial system load (ISL) start address to nnn in the volume label. This is useful when building boot media for Series 700/800 systems. specifies the length in bytes of the ISL code in the LIF volume. set the ISL entry point to nnn bytes from the beginning of the ISL. For example, specifying means that the ISL entry point is 3272 (decimal) bytes from the beginning of the ISL object module. forces the directory start location to be the nearest multiple of nnn x 1024 bytes from the beginning of the volume. This is necessary for booting Series 700/800 systems from LIF media. If file does not exist, a regular HP-UX disk file is created and initialized. The default values for volume size are 256 kilobytes for regular files, and the actual capacity of the device for device files. The default directory size is a function of the volume size. A percentage of the volume size is allocated to the volume directory as fol- lows: | Volume Size | Directory Size ------------+---------------- < 2MB | ~1.3% > 2MB | ~0.5% Each directory entry occupies 32 bytes of storage. The actual directory space is subject to the rounding rules stated above. RETURN VALUE
returns exit code 0 if the volume is initialized successfully. Otherwise it prints a diagnostic message and returns nonzero. EXAMPLES
Initialize file to be a LIF volume containing 500000 bytes with 10 directory file entries: Initialize device as a LIF volume using default initialization conditions (device must not be a mounted file system device): WARNINGS
To prevent media corruption, do not terminate lifinit once it has started executing. AUTHOR
was developed by HP. SEE ALSO
lifcp(1), lifls(1), lifrename(1), lifrm(1), lif(4). lifinit(1)
All times are GMT -4. The time now is 12:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy