Sponsored Content
Full Discussion: awk misreading txt file
Top Forums Shell Programming and Scripting awk misreading txt file Post 302237108 by ccox85 on Wednesday 17th of September 2008 02:12:18 AM
Old 09-17-2008
Thank you everyone!

With all this help, I completed the project today! I definitely need to get vi up and running on my mac. Doesn't feel very professional working in textedit Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Binary txt file received when i use uuencode to send txt file as attachment

Hi, I have already read a lot of posts on sending attachments in unix...but none of them were of help for my problem...so here goes.. i wanna attach a text file and send to a mail id..used the following code : uuencode "$File1" "$File1" ;|mail -s "$Mail_sub" abc@abc.com it works... (2 Replies)
Discussion started by: ash22
2 Replies

2. Shell Programming and Scripting

AWK CSV to TXT format, TXT file not in a correct column format

HI guys, I have created a script to read 1 column in a csv file and then place it in text file. However, when i checked out the text file, it is not in a column format... Example: CSV file contains name,age aa,11 bb,22 cc,33 After using awk to get first column TXT file... (1 Reply)
Discussion started by: mdap
1 Replies

3. Shell Programming and Scripting

Select some lines from a txt file and create a new file with awk

Hi there, I have a text file with several colums separated by "|;#" I need to search the file extracting all columns starting with the value of "1" or "2" saving in a separate file just the first 7 columns of each row maching the criteria, with replacement of the saparators in the nearly created... (4 Replies)
Discussion started by: capnino
4 Replies

4. Shell Programming and Scripting

Using csh / awk / sed to compare database sizes in a txt file

Hello, I have an output file showing database sizes across the 3 environments that I use (LIVE, TEST & DEVELOPMENT). I am trying to write a script that lets me know if the size of a db on one environment is different to its corresponding db on the other environments. Here is an example... (4 Replies)
Discussion started by: stevie_g
4 Replies

5. Shell Programming and Scripting

Help with selecting column with awk for a txt file generated by excel

I am new to scripting/programming, so I apologize for any novice questions. I have a tab delimited text file that was saved from excel xls file. I am trying to select only the third column using awk command. My command line is as below: cat test.txt | awk '{print $3}' However, above... (8 Replies)
Discussion started by: SangLad
8 Replies

6. Shell Programming and Scripting

awk append fileA.txt to growing file B.txt

This is appending a column. My question is fairly simple. I have a program generating data in a form like so: 1 20 2 22 3 23 4 12 5 43 For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Discussion started by: theawknewbie
4 Replies

7. Shell Programming and Scripting

awk to print value from txt file to csv

Hi, I want to print two columns from a .txt file to a .csv file using awk. data in text file: Application -------------------------------------------------- ----------- OS Related Issues 1 EMEA Solutions ... (8 Replies)
Discussion started by: prashu_g
8 Replies

8. Shell Programming and Scripting

Converting txt file into CSV using awk or sed

Hello folks I have a txt file of information about journal articles from different fields. I need to convert this information into a format that is easier for computers to manipulate for some research that I'm doing on how articles are cited. The file has some header information and then details... (8 Replies)
Discussion started by: ksk
8 Replies

9. Shell Programming and Scripting

Desired output.txt for reading txt file using awk?

Dear all, I have a huge txt file (DATA.txt) with the following content . From this txt file, I want the following output using some shell script. Any help is greatly appreciated. Greetings, emily DATA.txt (snippet of the huge text file) 407202849... (2 Replies)
Discussion started by: emily
2 Replies

10. Shell Programming and Scripting

Awk, sed, shell all words in INPUT.txt find in column1 of TABLE.txt and replce with column2 in

Hi dears i have text file like this: INPUT.txt 001_1_173 j nuh ]az 001_1_174 j ]esma. nuh ]/.xori . . . and have another text like this TABLE.txt j j nuh word1... (6 Replies)
Discussion started by: alii
6 Replies
iecset(1)						      General Commands Manual							 iecset(1)

NAME
iecset - Set or dump IEC958 status bits SYNOPSIS
iecset [options] [cmd arg...] DESCRIPTION
iecset is a small utility to set or dump the IEC958 (or so-called "S/PDIF") status bits of the specified sound card via ALSA control API. When iecset is started without arguments except for options, it will show the current IEC958 status in a human-readable form. When the commands are given in the arguments, they are parsed and the IEC958 status bits are updated. The resultant status is shown as well. The commands consist of the command directive and the argument. As the boolean argument, yes, no, true, false, or a digit number is allowed. EXAMPLES
iecset -Dhw:1 Displays the current IEC958 status bits on the second card. This is equivalent with -c 1. iecset -x Displays the current IEC958 status bits in a style of the arguments for the PCM stream. The output string can be passed to the iec958 (or spdif) PCM type as the optional argument. iecset pro off audio off Sets the current status to the consumer-mode and turns on the non-audio bit. The modified status will be shown, too. OPTIONS
-D device Specifies the device name of the control to open -c card Specifies the card index to open. Equivalent with -Dhw:x. -n index Specifies the IEC958 control element index, in case you have multiple IEC958 devices and need to choose one of them. -x Dumps the status in the form of AESx bytes. -i Reads the command sequences from stdin. Each line has single command. COMMANDS
professional <bool> The professional mode (true) or consumer mode (false). audio <bool> The audio mode (true) or non-audio mode (false). rate <int> The sample rate in Hz. emphasis <int> The emphasis: 0 = none, 1 = 50/15us, 2 = CCITT. lock <bool> Rate lock: locked (true), unlocked (false). This command is for the professional mode only. sbits <int> Sample bits: 2 = 20bit, 4 = 24bit, 6 = undefined. This command is for the professional mode only. wordlength <int> Wordlength: 0 = No, 2 = 22-18 bit, 4 = 23-19 bit, 5 = 24-20 bit, 6 = 20-16 bit. This command is for the professional mode only. category <int> Category: the value is from 0 to 0x7f. This command is for the consumer mode only. copyright <bool> Copyright: copyrighted (true), non-copyrighted (false). This command is for the consumer mode only. original <boo> Original flag: original (true), 1st generation (false). This command is for the consumer mode only. AUTHOR
Takashi Iwai <tiwai@suse.de> 23 Oct 2003 iecset(1)
All times are GMT -4. The time now is 12:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy