8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am using : << cut / cut to comment out block of code.
Works fine on few lines of script, then it gives me this cryptic error when I try to comment out about 80 lines.
The "warning " is at last line of script.
done < results
169 echo "END read all positioning parameters"
170... (8 Replies)
Discussion started by: annacreek
2. Shell Programming and Scripting
I want to write a code that will cut everything that is under a couple of columns in a text file but so far I am not even close to achieve something like that.
Basically, I want to cut all the information from the columns and transfer the column information to a spread sheet.
I have... (1 Reply)
Discussion started by: pericopericone
3. Shell Programming and Scripting
I am working on one script..I am having files in the below format
file 1 (each line is separated with : delimeter)
Now I want from file 1 that most left part of the first line will store in... (6 Replies)
Discussion started by: rohit22hamirpur
4. Shell Programming and Scripting
Can anyone what I am doing wrong while using cut command.
for f in *.log
Log "Log file Name: $logfilename"
logfile1=`basename $logfilename .log`
Log "file length $flength"
from_length=$(($flength - 15))
Log "from... (2 Replies)
Discussion started by: dgmm
5. UNIX for Dummies Questions & Answers
I have a file which contains comma separated values ex: abc, bdc
I need to read this file and provide each value(one by one) as a input to other function.
Can some one helpme...
-Vinodh' Kumar (1 Reply)
Discussion started by: vino_hymi
6. Shell Programming and Scripting
i have an orcale spool file with
SQL> select COMPMAP as SVC, ITEM, UNIT, sum(JAN), sum(FEB)
SVC ITE U SUM(JAN) SUM(FEB)
------ --- - ---------- ----------
401500 IOC Q 14 14
406200 LC Q 1 1
410124 IOC Q 5 4
410124 LC... (1 Reply)
Discussion started by: rejirajraghav
7. Shell Programming and Scripting
My records are like this
I want to extract the value before _97|
BSC_ID=`echo $DATA | cut -f5 -d"_"`
_97|, 4, 11
and by... (16 Replies)
Discussion started by: doer
8. Shell Programming and Scripting
Plz help me with:
I have a csv file with data separated by ',' and optionally enclosed by "". I want to check each of these values to see if they exceed the specified string length, and if they do I want to cut just that value to the max length allowed and keep the csv format as it... (9 Replies)
Discussion started by: ozzy80