Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Paste command reading no delimeters for sun box Post 42789 by r1500 on Tuesday 4th of November 2003 11:30:42 AM
Old 11-04-2003
Paste command reading no delimeters for sun box

I use a paste command on my HP/UX which by specifying single quotation marks my output creates a fixed width file with no delimeters:
paste -d '' a b > temp

on the Sun box the same command recieves an error specifying no delimeters provided.

Both are running ksh.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Booting off of a cd on a Sun Box

I have a Sun box that I am trying to get started up, but everytime it will crap out because it is bound to an NIS domain that no longer exists. The Master for that domain was put out of commission. It was suggested to me that I could boot off of the Installation cd for the OS (Solaris 8) and... (4 Replies)
Discussion started by: Jody
4 Replies

2. UNIX Benchmarks

move from an HP box to Sun Box

I could write a long spec here, however.....we are looking at investing in one of thise shiny blue Sun V440's. Rediculousely expensive, however possibly more cost effective over time...too much time listening to salesmen. To the point has anyone actually performed a comparison for Oracle running on... (4 Replies)
Discussion started by: luker
4 Replies

3. Solaris

What to look for in my sun box if I'm new to this?

Evening... I just recently purchased an older Ultra 5 with Solaris 8 equiped with NT. I'm not necessarily new to the unix world but this is the first time I've had my own box. I'm used to Unix in the working environment. So with that said... Are there any specific files I should be... (2 Replies)
Discussion started by: PapaPark
2 Replies

4. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

5. Solaris

migration of sun box 5.8 to 5.10

i want to migrate sun box 5.8 to 5.10 and also 5.9 to 5.10 with jump start without ditrubing any users, how it can be done? (3 Replies)
Discussion started by: saini707
3 Replies

6. IP Networking

snoop command on Sun box

Hi Gang: Need some help with a snoop command. Sun box (solaris 8) has 4 nic cards, I need to snoop one address and output that to a file so wireshark can read it. Can anyone help me out..? Think its something like.... snoop -i 10.10.10.10 -o snoop_output (1 Reply)
Discussion started by: jimmyc
1 Replies

7. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

8. Solaris

Help with booting SUN Box

Got the console cable all connected up and got tot he ok prompt. Typed in boot cdrom and got the following: ok boot cdrom Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args: ERROR: /packages/deblocker: Last Trap: Corrected ECC Error Can't read disk label. Can't open disk... (4 Replies)
Discussion started by: bbbngowc
4 Replies

9. Shell Programming and Scripting

Reading a FLAT File - No Delimeters

Hi Folks, I have a file without any delimeters and it is a flat file. Example, my raw data looks: x25abcy26defz27ghi..... Now, could you please any one help me to program to split this into variable and create a text file. I want a output as below Name Age Number x 25 abc... (14 Replies)
Discussion started by: Jerald Nathan
14 Replies

10. UNIX for Dummies Questions & Answers

Sun Virtual box

hi Am Using Windows vista machine where i installed Sun Virtual Box on Which i installled Solaris 10.. am not able to ping my windows machine from Sun OS neither viceversa.. Can someone help me out to get this sorted please .... (2 Replies)
Discussion started by: Sojourner
2 Replies
PASTE(1)						    BSD General Commands Manual 						  PASTE(1)

NAME
paste -- merge corresponding or subsequent lines of files SYNOPSIS
paste [-s] [-d list] file ... DESCRIPTION
The paste utility concatenates the corresponding lines of the given input files, replacing all but the last file's newline characters with a single tab character, and writes the resulting lines to standard output. If end-of-file is reached on an input file while other input files still contain data, the file is treated as if it were an endless source of empty lines. The options are as follows: -d list Use one or more of the provided characters to replace the newline characters instead of the default tab. The characters in list are used circularly, i.e., when list is exhausted the first character from list is reused. This continues until a line from the last input file (in default operation) or the last line in each file (using the -s option) is displayed, at which time paste begins selecting characters from the beginning of list again. The following special characters can also be used in list: newline character tab character \ backslash character Empty string (not a null character). Any other character preceded by a backslash is equivalent to the character itself. -s Concatenate all of the lines of each separate input file in command line order. The newline character of every line except the last line in each input file is replaced with the tab character, unless otherwise specified by the -d option. If '-' is specified for one or more of the input files, the standard input is used; standard input is read one line at a time, circularly, for each instance of '-'. The paste utility exits 0 on success, and >0 if an error occurs. SEE ALSO
cut(1) STANDARDS
The paste utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible. BSD
June 6, 1993 BSD
All times are GMT -4. The time now is 02:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy