Sponsored Content
Full Discussion: Guide me please
Top Forums UNIX for Dummies Questions & Answers Guide me please Post 302608109 by unibeginner on Friday 16th of March 2012 07:48:16 AM
Old 03-16-2012
Guide me please

Hi All,

I am kinda struck at one point Smilie need ur help to move further.

Query:
My inputs files are

Quote:
12345_file_ab.txt
34567_file_cd.txt
12345_file_cd.txt
34567_file_ab.txt
test_file_ab.txt
test_file_cd.txt
Expected output:
Quote:
12345_file.txt (Concatenated with 12345_file_ab.txt and 12345_cd.txt)
34567_file.txt (Concatenated with 34567_file_ab.txt and 12345_cd.txt)
I am sure there should be similar tread relating my query ..but as i couldnt find the details i am posting again.
Please direct me to the tread or reply me with ur valuable suggestions.

Appreciate your valuable time and suggestion in advance.
 

8 More Discussions You Might Find Interesting

1. SCO

New to SCO -Guide me

Hello can any1 tell me the latest version of SCO. ALso can u give me some of the basic differences between Mandrake Linux and SCO Unix. (1 Reply)
Discussion started by: rahulrathod
1 Replies

2. Solaris

Guide to Samba

Anyone have guide to install samba on solaris 9 I tried couple of times. --How do I go about uninstalling it? bash-2.05# testparm -s > output.file Load smb config files from /usr/local/samba/lib/smb.conf Processing section "" Processing section "" Loaded services file OK. bash-2.05#... (2 Replies)
Discussion started by: brabored
2 Replies

3. UNIX for Dummies Questions & Answers

pls guide this..

in what real time scenerios we write shell scripts in oracle (1 Reply)
Discussion started by: ss4u
1 Replies

4. IP Networking

NIC driver guide

Hi I need to know how a driver for a network interface card works, I want to learn the basic principles since I know that every driver has its specific implementation. For example when we speak about the scheduler, we can read an operating system book and learn general design concepts e.g.... (0 Replies)
Discussion started by: Puntino
0 Replies

5. UNIX for Advanced & Expert Users

installion guide

Hi everyone. I need to install HP-UX 11i and I want user installation guide which shows me how to install HP-UX 11i step by step.:) (1 Reply)
Discussion started by: ahmedbashir
1 Replies

6. UNIX and Linux Applications

GD installation guide asking....

Hi, Does anybody success install GD and apply it in linux? I got trying to install it recently. Unfortunately, it seems like got a lot of error message shown :( Thus anybody got success install and use the GD in linux? Can share it with me? I'm using ia64 linux system. Thanks a lot for all... (6 Replies)
Discussion started by: patrick87
6 Replies

7. Solaris

Best guide for Jumpstart

Hi Gurus, Can you please suggest me any good guides for a Beginner to learn Solaris Jumpstart. Thank You, Rama Krishna. (2 Replies)
Discussion started by: rama krishna
2 Replies

8. Shell Programming and Scripting

if else statement... need guide

read readTerminal terminal_c=$readTerminal if ; then { #Execute the first SQL query } else echo next script fi anything wrong here? (2 Replies)
Discussion started by: ment0smintz
2 Replies
unix2dos(1)						      General Commands Manual						       unix2dos(1)

NAME
unix2dos - UNIX to DOS text file format converter SYNOPSYS
unix2dos [options] [-c convmode] [-o file ...] [-n infile outfile ...] Options: [-hkqV] [--help] [--keepdate] [--quiet] [--version] DESCRIPTION
This manual page documents unix2dos, the program that converts text files in UNIX format to DOS format. OPTIONS
The following options are available: -h --help Print online help. -k --keepdate Keep the date stamp of output file same as input file. -q --quiet Quiet mode. Suppress all warning and messages. -V --version Prints version information. -c --convmode convmode Sets conversion mode. Simulates unix2dos under SunOS. -o --oldfile file ... Old file mode. Convert the file and write output to it. The program default to run in this mode. Wildcard names may be used. -n --newfile infile outfile ... New file mode. Convert the infile and write output to outfile. File names must be given in pairs and wildcard names should NOT be used or you WILL lost your files. EXAMPLES
Get input from stdin and write output to stdout. unix2dos Convert and replace a.txt. Convert and replace b.txt. unix2dos a.txt b.txt unix2dos -o a.txt b.txt Convert and replace a.txt in ASCII conversion mode. Convert and replace b.txt in ISO conversion mode. unix2dos a.txt -c iso b.txt unix2dos -c ascii a.txt -c iso b.txt Convert and replace a.txt while keeping original date stamp. unix2dos -k a.txt unix2dos -k -o a.txt Convert a.txt and write to e.txt. unix2dos -n a.txt e.txt Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt. unix2dos -k -n a.txt e.txt Convert and replace a.txt. Convert b.txt and write to e.txt. unix2dos a.txt -n b.txt e.txt unix2dos -o a.txt -n b.txt e.txt Convert c.txt and write to e.txt. Convert and replace a.txt. Convert and replace b.txt. Convert d.txt and write to f.txt. unix2dos -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt DIAGNOSTICS
BUGS
The program does not work properly under MSDOS in stdio processing mode. If you know why is that so, please tell me. AUTHOR
Benjamin Lin - ( blin@socs.uts.edu.au ) MISCELLANY
Tested environment: Linux 1.2.0 with GNU C 2.5.8 SunOS 4.1.3 with GNU C 2.6.3 MS-DOS 6.20 with Borland C++ 4.02 Suggestions and bug reports are welcome. SEE ALSO
dos2unix(1) 1995.03.31 unix2dos v2.2 unix2dos(1)
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy