10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a variable named as output which holds value as below -
I need to extract bdfo_run_date value which is '41991' out of this, any pointers will be greatly appreciated. (4 Replies)
Discussion started by: ektubbe
2. Shell Programming and Scripting
I'm trying to create multiple commands using a variable input from another file but am not getting any successful results.
Basically, file1.txt contains multiple lines with single words:
I want to create multiple echo commands with these... (8 Replies)
Discussion started by: demmel
3. UNIX for Advanced & Expert Users
I am being passed a file in UNIX, ie: variable.txt
I need to extract the first part of the file content, up to the period, content ie: common_dir.second_output
cut -d'.' -f1 /content/stores/variable.txt
I then need to utilize the results to create a variable ($1), and test on that... (4 Replies)
Discussion started by: talonbow
4. Shell Programming and Scripting
I am trying to count the number of records from different files using grep, and then place the result in a separate variable for each file, so at the end of my shell script, I can sum all the variables and check if the number of records are equal to what I was expecting. It is weird butwc -ldoes... (2 Replies)
Discussion started by: dhruuv369
5. UNIX for Dummies Questions & Answers
I'm doing a script to list all scripts called by a "master" script.
But I have an issue as there is some variables in the name of the called scripts.
% cat master_script.sh
/users/maturix/$ENVIR/program_$VERSION.shI would like my script displays a kind... (7 Replies)
Discussion started by: maturix
6. Shell Programming and Scripting
I have a requiremnent that i have to read a mail from a mail box and extract the attachment from that mail and place it in a directory.
First of all is it possible in unix ? if so could you please help me out how it can be done
Thanks in advance. (3 Replies)
Discussion started by: krishna_gnv
I need you to advice or suggestion about the best solution to copy data around 200-300G from serverA(location A) to serverB(location B). Normally, I will share folder and then copy but it takes too long time(about 2 days).
Do you have any suggestion or which way should be... (9 Replies)
Discussion started by: unitipon
8. Shell Programming and Scripting
Is it possible using just korn shell script to display a variable on the screen that is constantly changing in on place on the screen, to tell it in coordinates or something? In a loop, echo will print a new line each time, can I make it a static position? Thanks (7 Replies)
Discussion started by: raidzero
9. UNIX for Dummies Questions & Answers
I have scenario as below,
I want to cut the characters and store it variable2.. and want to display the variable2.. as shown below...
eg: the size may differs , i am show just an example.....
numbers are not fixed in variable1..i want to extract characters and... (1 Reply)
Discussion started by: G.K.K
10. Shell Programming and Scripting
I have many files that have 1 or more occurrences of the information I want. There are two distinct sets of information. I want get this info and place each occurrence in its own file.
The 3 lines before one set are
00 01 02
16 17 18
**40 lines of code I want to... (5 Replies)
Discussion started by: gobi