9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having a csv file like this
ahdh,95.5,girl, 2737,jolllI need to add width="100" to the value which is greater than 90 like decimal points but less than 100
Output... (5 Replies)
Discussion started by: kshitij
2. Shell Programming and Scripting
Good Day All,
I need your urgent support to get the following script (bash), (it should be as simple as possible please) :
The script will check the .csv file( attached example)
The script will generated 3 files from the initial one.
The script must check one field “NEType”, and then ... (2 Replies)
Discussion started by: engkemo2002
3. Shell Programming and Scripting
I am having a file in below format
server-2 AIX:server-2-:server-2 server-2
I want the output like this
I used the... (7 Replies)
Discussion started by: ranjancom2000
4. Shell Programming and Scripting
Hello. I have big file data like this(part of file):
021001... (3 Replies)
Discussion started by: maxoff
5. Shell Programming and Scripting
Hi all ,
Recently i came across this in FAQ's.
I have a file
I have to replace sreedhar with "Sridhar" if the second parameter is > 18.
I need to do it in "sed" only. I am wondering how this... (4 Replies)
Discussion started by: panyam
6. UNIX for Dummies Questions & Answers
From the file "example" with lines like below, I need the int value associated with ENG , i.e, 123
SUB: ENG123, GROUP 1
SUB: HIS124, GROUP 1
Normally , i do
grep ENG example | cut -d ' ' -f 2 | cut -c 4-6
Is it possible to do it in simpler way using awk/sed ?
... (5 Replies)
Discussion started by: priyam
7. Shell Programming and Scripting
I'm trying to use sed to extract data within a String, but I'm having problems with sed command:
STATUS OSRC_R6_0_MENT_R1H_CU M_901662 R1H_LV1_20080313
Based from the Text above, I just need to extract this data
Is there a solution for this in... (1 Reply)
Discussion started by: racbern
8. UNIX for Dummies Questions & Answers
Hi guys ,
I think i have completely lost touch with awk ... but now i need it deseparatly ...
my problem is for each line in the line i have to check if the first 2 charactes are 'A4' and if they are 'A4' then cut the characters
from position 11-16 from that line ...
In the meantime i... (1 Reply)
Discussion started by: myelvis
9. UNIX for Dummies Questions & Answers
I just want to exit my script in a new directory from a bash shell. Problem is that the script internally changes to the directory I want to move to, however when exits is still in the original directory. Does that make sense?
ie usage: goto null
changing from /usr/bin/xtra/test/test3/
... (8 Replies)
Discussion started by: Shakey21