02-13-2019
Please make sure your files don't contain DOS line termnators (^M = \r = 0x0D = <CR>).
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all!
I have two files containing one field each.
The fields consist of numbers separated in records e.g.
file1.dat
1657
2345
5678
5676
7978
7856
5686
5676
8990
.
.
. (2 Replies)
Discussion started by: bjorb
2 Replies
2. Shell Programming and Scripting
I was wondering if there was a way to modify a tab delimited text file, up to 185,000 lines long by adding a repeated field to a block of 20 data , then repeat the process until the file is processed.
The current file looks like: ... (3 Replies)
Discussion started by: saint65
3 Replies
3. Shell Programming and Scripting
Hi,
I have a huge text file. It looks like
abcde bangalo country 12345 lastfield
i want to get first 3 characters from field1 and first 3 characters from field 2 and insert the result as a new field. example the result should be:
abcde bangalo abcban country 12345 lastfield
Please... (4 Replies)
Discussion started by: ajithshankar@ho
4 Replies
4. Shell Programming and Scripting
I have a large flat file with variable length fields that are pipe delimited. The file has no new line or CR/LF characters to indicate a new record. I need to parse the file and after some number of fields, I need to insert a CR/LF to start the next record.
Input file ... (2 Replies)
Discussion started by: clintrpeterson
2 Replies
5. Shell Programming and Scripting
Hi,
I want to add two fields with values '1000' and 'XYZ-1234' at the end of every line in a comma delimited file.
Should I use any command in a loop to add the fields or using any single command Shall I acheive it?
Kindly help me in code.
Thanks,
Poova. (6 Replies)
Discussion started by: poova
6 Replies
6. Shell Programming and Scripting
Hi everyone,
after entering the following command:
/usr/sfw/bin/snmpwalk -v2c -c "sMart5snmPaCC3ss" ABI0-QCLAMI-CE2 1.3.6.1.4.1.9.9.43.1.1.6.1.7
I get this output:
SNMPv2-SMI::enterprises.9.9.43.1.1.6.1.7.24 = INTEGER: 194
SNMPv2-SMI::enterprises.9.9.43.1.1.6.1.7.25 = INTEGER: 194... (4 Replies)
Discussion started by: omoyne
4 Replies
7. Shell Programming and Scripting
Hi everybody (first time posting here)
I have a file1 that looks like >
1,101,0.1,0.1
1,26,0.1,0.1
1,3,0.1,0.1
1,97,0.5,0.5
1,98,8.1,0.218919
1,99,6.2,0.248
2,101,0.1,0.1
2,24,3.1,0.147619
2,25,23.5,0.559524
2,26,34,0.723404with 762 lines..
I have another 'similar' file2 >
... (10 Replies)
Discussion started by: murpholinox
10 Replies
8. Shell Programming and Scripting
In the attached file I am trying to use awk to extract multiple values and create the tab-delimited desired output.
In the output R_Index is a the sequential # and Pre_Enrichment is defaulted to ..
I can extract from the values to the side of the keywords, but most are above and I can not... (2 Replies)
Discussion started by: cmccabe
2 Replies
9. UNIX for Beginners Questions & Answers
So, I have three problems that cover this subject.
First one asks me to find the number of fields in the file that contain the substring "he". I found the number of fields, but the problem I have is that they are displaying by each record. I want to add all of the records' fields together.
With... (2 Replies)
Discussion started by: mc10
2 Replies
LEARN ABOUT OSF1
dxmtools
dxmtools(1) General Commands Manual dxmtools(1)
NAME
dxmtools - DOS Tools Graphical User Interface for manipulating files on an MSDOS diskette
SYNOPSIS
/usr/bin/X11/dxmtools
OPTIONS
DESCRIPTION
The DOS Tools application, dxmtools, uses a graphical user interface to copy files to and from an MSDOS formatted diskette to manipulate
files on that diskette, in the same manner as the mtools(1) commands, which are accessed from the command line interface.
The DOS Tools application accepts the standard X11 resource options. For more information, see the X(1X) reference page
Use the DOS Tools application to: Copy a diskette file to Tru64 UNIX Copy Tru64 UNIX files to the diskette Create a directory on the
diskette Delete diskette files Format a diskette Change the diskette volume label Change the archive, read-only, hidden, and system
attribute bits on a diskette file Display the contents of a diskette file Find a diskette file by its name, size, or attribute settings
Rename a diskette file.
MSDOS filenames are optionally composed of a drive letter followed by a colon, optional subdirectories, and a filename. Subdirectory names
can use either the '/' or '' separator. The current working directory relative to the diskette is A:/.
The regular expression pattern matching routines follow the UNIX-style rules. For example, an asterisk (*), in place of asterisks separated
by a dot (.) that is *.*, matches all MSDOS files. The archive, hidden, read-only, and system attribute bits are ignored during pattern
matching.
The DOS Tools application requires a diskette properly installed on the system.
The DOS Tools application addresses a device named /dev/disk/floppy; a symbolic link between the diskette device and /dev/disk/floppy is
required.
Online help is available for the dxmtools application. To get help, click on any Help button or use the Help pull-down menu.
The DOS Tools application can be invoked from:
The CDE Application Manager.
Application Group: Desktop_Apps
Desktop_Apps Subgroup: dxmtools
EXAMPLES
Invoke the DOS Tools application from the command line. /usr/bin/X11/dxmtools Open the DOS Tools help volume from the command line without
running the application. /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/dxmtools.sdl
FILES
DOS Tools executable DOS Tools Help Volume Symbolic link for diskette drive.
SEE ALSO
Commands: ln(1), mattrib(1), mcd(1), mcopy(1), mdel(1), mdir(1), mlabel(1), mmd(1), mrd(1), mread(1), mren(1), mtools(1), mtype(1),
mwrite(1), X(1X)
Diskette interface: fd(7)
Utilities: MAKEDEV(8), mknod(8)
dxmtools(1)