05-17-2010
Tried again after making sure there are no typos. It did not return anything.
Not sure why.
- Also, I need to fetch all filenames which have a value contains GSM (like GSM management, GSM networks etc) within the value column inside Product value. How do we modify ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Nice forum for noobs like me to UNIX. With that said, I need assistance.
I am trying to make a script to search files for a specific date and string within the file. Then I need the script to move the file that have the specific date and string to a directory. In the interim I have been manually... (7 Replies)
Discussion started by: I4ce
7 Replies
2. Shell Programming and Scripting
Hi All,
I have two directories as
1) mi/job -> job1.sh, job2.sh, job3.sh
2) mi/sysin -> sysin1, sysin2, sysin3,sysin4
I want to wrrite a script such that it should accept two parameters as directory paths.
$ myscript mi/sysin mi/job.
The script should be able to scan all files... (3 Replies)
Discussion started by: rahulrathod
3 Replies
3. Shell Programming and Scripting
hello
have a file1
H87I
Y788O
T347U
J23U
and
file2 J23U U887Y I99U T556U
file3 I99O J99T F557J
file4 N99I T666U R55Y
file5 H87I T347U
file6 H77U R556Y E44T
file7 Y788O K98U H8I
May be using script we can use file1 to search for all the files
and have the output
H87I file5... (3 Replies)
Discussion started by: cdfd123
3 Replies
4. Shell Programming and Scripting
hi all
i have a requirement to write a script which will serach a file in a particuar location for 3 hours from the time when the script is run.if during this period the file arrives in a particular location then this will transmit the file to a other server.please help me writing the script which... (1 Reply)
Discussion started by: dr46014
1 Replies
5. UNIX for Dummies Questions & Answers
Compete noob question....
I need a script to search through a directory and find files containing text string abcde1234 for example and then copy that file with that text string to another directory
help please :eek: (9 Replies)
Discussion started by: imeadows
9 Replies
6. Shell Programming and Scripting
Hi All,
I would like to write a script which will search a file say abc.dat in /a/b/data for 15 mins only. If the script finds the file in 15 mins then it will exit will exit sucessfully and if there is no file for 15 mins it will exit and copy the last day file (abc.dat_ddmmyyhhmmss) from... (1 Reply)
Discussion started by: chandancsc
1 Replies
7. Shell Programming and Scripting
Hi All,
I have a sql output file has below. I want to get the values 200000040 and 1055.49 .Can anyone help me to write a shell script to get this.
ACCOUNT_NO
------------------------------------------------------------
BILL_NO ... (8 Replies)
Discussion started by: girish.raos
8 Replies
8. Shell Programming and Scripting
Hi-
I am trying to search a large file with a number of different search terms that are listed one per line in 3 different files. Most importantly I need to be able to do a case insensitive search.
I have tried just using egrep -f but it doesn't seam to be able to handle the -i option when... (3 Replies)
Discussion started by: dougzilla
3 Replies
9. Shell Programming and Scripting
Hello,
I use the following script to delete files from folders.
There is an old file I wish to exclude the deletion script.
How to exclude a file by name?
Current script:
=============================
#!/bin/ksh
# ----------------------------------------------------
#... (1 Reply)
Discussion started by: pointer
1 Replies
10. Shell Programming and Scripting
I have file which contains a huge amount of data. I need to search the pattern Message id. When that pattern is matched I need to get abcdeff0-1g6g-91g3-1z2z-2mm605m90000 to another file.
Kindly provide your input.
File is like below
Jan 11 04:05:10 linux100 |NOTICE... (2 Replies)
Discussion started by: Raysf
2 Replies
LEARN ABOUT CENTOS
gsm_print
GSM_PRINT(3) Library Functions Manual GSM_PRINT(3)
NAME
gsm_print -- GSM 06.10 supplementary function for debugging
SYNOPSIS
#include "gsm.h" #include <stdio.h>
int gsm_print(f, g, frame);
FILE * f;
gsm g;
gsm_frame frame;
DESCRIPTION
Gsm is an implementation of the final draft GSM 06.10 standard for full-rate speech transcoding, a lossy speech compression algorithm. The
compressed form involves 76 variables with different numbers of significant bits packed into 33 bytes.
If you are interested in investigating the details of this coding scheme, gsm_print() can be used to dump the contents of individual
gsm_frames to a file pointer provided by the application.
RETURN VALUE
gsm_print() returns -1 if the frame is invalid, else 0.
EXAMPLE
A single frame looks like this:
LARc: 29 32 20 11 08 05 06 07
#1: Nc 0040 bc 0 Mc 1 xmaxc 60
06 04 00 03 03 06 04 02 02 04 05 04 01
#2: Nc 0045 bc 1 Mc 1 xmaxc 48
03 07 01 03 04 04 07 01 03 02 04 05 03
#3: Nc 0091 bc 1 Mc 1 xmaxc 46
00 03 03 07 01 06 02 04 05 03 03 02 04
#4: Nc 0120 bc 0 Mc 1 xmaxc 47
07 03 06 00 03 03 06 05 00 03 02 07 04
BUGS
Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de.
SEE ALSO
gsm(3), gsm_explode(3)
GSM_PRINT(3)