Sponsored Content
Top Forums Shell Programming and Scripting change number into dollars and cents Post 302543584 by bartus11 on Monday 1st of August 2011 09:59:39 AM
Old 08-01-2011
Glad it worked Smilie
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to change name for N number of files

Hi Guys, Please can you let me know, how to change file names in a directory that has say 10 files I have files like STR1.rman.pre.script STR1.rman.post.script STR1.rman.inc.script STR1.rman.cold.script STR1.rman.hot.script I need a command to change the above files all in one go... (6 Replies)
Discussion started by: kamathg
6 Replies

2. Shell Programming and Scripting

how to change a number in a file with sed?

Hello, I have a file which contains some line as follows, 9.9 TEMP 9.9 MUCOEFF 0.0 EPSILON And I want to increase this MUCOEFF by 0.2 as 9.9 TEMP 10.1 MUCOEFF 0.0 ... (7 Replies)
Discussion started by: lorenzz
7 Replies

3. Shell Programming and Scripting

Need to change format of number

Hi, using a shell script to get values from a CSV eg: 12345.67,5678990.89,76232882.90 12345,5678990.89,76232882 Need the format of these numbers to change to 12,345.67:5,678,990.89:76,232,882.90 12,345:5678990.89:76232882 Using nawk on solaris, to parse these values, need the... (10 Replies)
Discussion started by: pgop
10 Replies

4. Shell Programming and Scripting

Change the File name using pattern and number

Hi, i have the below files in the wrk folder. File names are AAB0001.R BBA0002.R CCDC0003.R AAB0002.R AAB0034.R BBA0081.R DDDE0008.R i need to change the file name USING pattern and number. output like below :wall: AAB0001.R AAB0002.R AAB0003.R BBA0001.R BBA0002.R CCDC0001.R... (3 Replies)
Discussion started by: krbala1985
3 Replies

5. UNIX for Dummies Questions & Answers

How do i change string in a certain column number?

I have a file which looks like this 01081023442 220000000410629994812279000001099952504280000000000000000000000000010050000000000 0000000000 0000000000 1101211221099952504280000010704525042800120000000000000000000000000000000000001 0000000000000006000000000000815500000010000010000000000000... (2 Replies)
Discussion started by: reignangel2003
2 Replies

6. Shell Programming and Scripting

2 dollars wrapped to a string

Hi, I am writing an awk script and I have got stuck. I am trying to find a word that has 2 dollar signs in it but its failing. I have already tried to escape it with single and double back slash and also I have tried to use \044 in the search but even that doesnt work. can you please help me... (7 Replies)
Discussion started by: hitmansilentass
7 Replies
rwbytype.d(1m)							   USER COMMANDS						    rwbytype.d(1m)

NAME
rwbytype.d - read/write bytes by vnode type. Uses DTrace. SYNOPSIS
rwbytype.d DESCRIPTION
This program identifies the vnode type of read/write activity - whether that is for regular files, sockets, character special devices, etc. This is measuring at the application level, so file activity may well be cached by the system. Since this uses DTrace, only users with root privileges can run this command. EXAMPLES
This samples until Ctrl-C is hit. # rwbytype.d FIELDS
PID process ID CMD process name VNODE vnode type (describes I/O type) DIR direction, Read or Write BYTES total bytes DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
rwbytype.d will sample until Ctrl-C is hit. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
rwbypid.d(1M), rwbbypid.d(1M), dtrace(1M) version 0.70 Jan 11, 2006 rwbytype.d(1m)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy