10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please, i'd like to extract string just before '.fr'.
Here is some lines of my file:
i'd like to extract this text:
Please, which command i have to use in my script shell ?
... (16 Replies)
Discussion started by: chercheur111
2. UNIX for Dummies Questions & Answers
I need to remove lines when date format is below certain date
My file input
20140906|ALASKA|USASEL|CRUIEMBANG|2013-10-01|82280779814|9|0... (4 Replies)
Discussion started by: radius
3. Shell Programming and Scripting
I want to make a script that check for the argument passed to it and generates an error in case any character/string argument passed to it.
I am using below code, but its not working. can anyone help.
if ]; then
echo 'An integer argument is passed to the script hence... (3 Replies)
Discussion started by: mukulverma2408
4. Shell Programming and Scripting
I am new to scripting.
I have a file with colon separated values called mylist.txt
using our internal os utility (called mvsping) we need to check all these servers if they are... (6 Replies)
Discussion started by: kraljic
5. Shell Programming and Scripting
I want to script for this scenerio,
Scenario : We are looking to find all the *.a files from the following locations in the filesystem of a server.
These *.a files should have the permissions on... (12 Replies)
Discussion started by: sakthilinux
6. Shell Programming and Scripting
This is the data I am having in a file
Just for sample I have given 3 records. The file which I am having consists of n number of records.
ABC123 10 01/02/2008 2008-01-03-00.00.00.000000
DYUU 22 02/03/2008 2008-01-04-00.00.00.000000
RF33 88 03/05/2008 2008-01-05-00.00.00.000000
... (24 Replies)
Discussion started by: kmanivan82
7. Shell Programming and Scripting
I need a help in getting substring of each line in input file.
I am writing a script that will read a file from a directory on daily basis, I mean everyday a new file will be stored in this directory, it will replace old file. I have to read contents of this file, the contents will be as... (5 Replies)
Discussion started by: jyotib
8. UNIX for Dummies Questions & Answers
I'm new to Shell scripting. Someone please help me in extracting a portion of string from a file.
I got a file like, Readme.txt and has the following name value pairs
input1 : /homes/input1/
input2 : /homes/input2/
When I give the parameter input1, the value... (3 Replies)
Discussion started by: smartbuddy
9. Shell Programming and Scripting
I am writing a script file which sends the log files along with their size in a folder named log to a file called temp.log using the following cmd:
ls -st 190_GSTV_HUX_003QISCGSK026** >> /home/user/temp.log
the temp.log looks like this:
... (11 Replies)
Discussion started by: kiran1112
10. Shell Programming and Scripting
i am a new user of C-shell script.
I want to know can i create a substring in a string.
That means when i got a variable $input = "it is number 2"
I want to get the "2" to be another variable.
Can i do that in C-shell and how to ?
Thank you so much
dinodash (0 Replies)
Discussion started by: dinodash