03-22-2016
thank you thank you very much! but what does c[] mean?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file containing a list of references and I want to run a script that will make the same action for each reference.
The input file changes every hour, it's why I want to use a script that can read in a file, record by record, and run a specific action for the reference readed.
Thanks... (1 Reply)
Discussion started by: dde
1 Replies
2. Shell Programming and Scripting
Hello,
I read a file whose in lines are datas and between thses datas there is blank characters (10, 12 or 5 or 1 .......)
So when i use the command while read line in the script(see under) there is also only one character between the datas and the others blank characters are not here.
... (3 Replies)
Discussion started by: steiner
3 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have a LONG ! column of text and I would like to format this into several columns.
so from this
abcd
efgh
ijkl
mnop
qrst
uvwx
yz12
to this
abcd efgh ijkl
mnop qrstu vwx
yz12 (2 Replies)
Discussion started by: mlucas
2 Replies
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
Hi everybody
I want to manipulate the output of this command: df -h to something like this:
df -h | awk '{print"\t\t "$1"\t\t"$6"\t\t"$2"\t\t" $4}' | sed 's/Mounted/Mount Point/g' | sed 's/Avail/Free Space/g'but my problem is: if for example the mounting point is a long name everything beside... (3 Replies)
Discussion started by: ialbert
3 Replies
6. Shell Programming and Scripting
hi,
my input file is containg uid, eriMaster ,eriResign, ericontry, dept.
some of the uid are not having all info.
out put should include all info irrespctive of datas of input file
if any one data is missing, then it has to print Null or zero..then continue with the existing one.
here... (0 Replies)
Discussion started by: hegdeshashi
0 Replies
7. Shell Programming and Scripting
I need a script that takes it input wither it be from a file or inputed as variables and sort that into three columns. Thanks (3 Replies)
Discussion started by: prottheman
3 Replies
8. Shell Programming and Scripting
Hi People !!
I need your help.
I have a a txt file "example" with it datas.
11:35 10/12/2003 10.10.10.1 God.com 5 country Responsable of ASN
11:37 12/12/2003 10.10.10.1 FATHER.COM 5 country Responsable of ASN
11:40 14/12/2003 10.10.10.3 www.mother 6... (6 Replies)
Discussion started by: ras
6 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
i have two excel sheets with same column name as below
col1 col2 col3
---- ---- -----
1 121 156
24 456 788
45 444 777
765 32 77
col1 col2 col3
---- ---- -----
24 456 ... (1 Reply)
Discussion started by: arunmanas
1 Replies
10. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I would like to know how to display my output to this format below:
5000 Bash
300 zsh
0 sh
... (4 Replies)
Discussion started by: scopiop
4 Replies