Sponsored Content
Top Forums Shell Programming and Scripting converting empty value into NA Post 302692429 by johnkim0806 on Monday 27th of August 2012 03:54:38 PM
Old 08-27-2012
can I ask you one more question?

ch:12 1 3 4
ch:13 3 3 4
ch:25 1 8
ch:23 2 8 1

let's say that 3rd column has 3 fields, but "8" is actually the fourth field, and third field is the value that is missing. then how would you make the 3rd field NA and 8 as the 4th field?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

converting kb to mb

When I create filesystems in AIX i often get confused(using smit) When you specify size in aix, it is asked like this SIZE of file system (in 512-byte blocks) I never seem to grasp this, what is the equation to get say 500mb? Or is there a program anyone knows of that does this, like a... (1 Reply)
Discussion started by: csaunders
1 Replies

2. Shell Programming and Scripting

Converting to Uppercase

I want to convert string into uppercase string. How can i do that ? Ex: Enter the user name: read name show=upper(name) echo $show --- This output should be the uppercase output. Thanks (3 Replies)
Discussion started by: dreams5617
3 Replies

3. Programming

need help on some converting command

Hi all, i am trying to use C in unix platform to convert a double variable (floating point) to a string variable. i tried using sprintf, ecvt, fcvt,gcvt. but all gave me funny output or altered the content. does anyone know how to convert the data and keep the original content. for... (3 Replies)
Discussion started by: szeliat
3 Replies

4. SCO

Converting

I use Sco_Sv 3.2v5.0.5 with parellel conection using dump terminals and i want to convert them to desktop pc. Anybody knows what hardware and other thing that would be involved? (3 Replies)
Discussion started by: seeyou
3 Replies

5. Shell Programming and Scripting

Converting \0 to a \n

Hi - I have seen some similar posts but I am a bit stumped here below is the first line of a 'od -c filename' command. I want to change the \0 to \n 0000000 l s \0 c d - \0 c d . . \0 l s I have tried a sed construct in a script......... sed... (2 Replies)
Discussion started by: ajcannon
2 Replies

6. UNIX for Dummies Questions & Answers

how to find empty folders without using -empty

hi all: my solaris FIND does not support find myFolder -type d -empty how can i find the empty folders? thanks! (7 Replies)
Discussion started by: lasse
7 Replies

7. UNIX for Dummies Questions & Answers

Getting same exit status for empty and non empty file

Hi All, I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both. The value of $? is coming 0 in if part also and else part too. #!/bin/ksh if ]; then echo "data" # exit 0 echo "$?" else... (4 Replies)
Discussion started by: mavesum
4 Replies

8. Shell Programming and Scripting

Need to empty

Hi, How can I empty the files of *.txt.... in one command. (6 Replies)
Discussion started by: gsiva
6 Replies

9. SCO

library converting

Hi everybody Is there any sco unix command to convert .so library to .a (under sco unix openserver.5.0.6) tnx (2 Replies)
Discussion started by: javad1_maroofi
2 Replies

10. Shell Programming and Scripting

Need Help in converting

I have Excel file with the below three columns, i need your expertise in converting this to .csv file delimiter "|" Excel - Serial Number Serial Name Serial Brand 111 test sample 123 test2 sample1 134 ... (9 Replies)
Discussion started by: kiran_hp
9 Replies
STAB(5) 							File Formats Manual							   STAB(5)

NAME
stab - current PCMCIA socket status DESCRIPTION
The stab file is created by cardmgr and contains identification and device driver information for PCMCIA cards. Each socket is described by one header line, followed by one or more device driver lines. The header gives the card name as given in /etc/pcmcia/config. Device driver lines consist of a series of tab-separated fields. The first field is the socket number. The second field is the device class, which identifies which script in /etc/pcmcia is used to configure or shut down this device. The third field is the driver name. The fourth field is used to number devices when a single card has several devices associated with the same driver. The fifth field is the device name, and the final two fields are major and minor device numbers for this device, if appropriate. The file is updated by cardmgr whenever a card is inserted or ejected, and when cardmgr receives a SIGHUP signal. The stab file will normally be created in /var/lib/pcmcia, but if that directory is unavailable, it will be found in /var/run. AUTHOR
David Hinds - dahinds@users.sourceforge.net SEE ALSO
cardmgr(8), pcmcia(5), cardinfo(1). pcmcia-cs 2000/06/12 21:24:48 STAB(5)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy