Not last time I asked. It doesn't make much sense to do SQL on something without keys, data types, or any kind of constraints.
Figuring how to manage without was the impetus for me to learn awk. awk can do simple filtering as a trivial one-liner:
All lines where column one is MYTYPE and column 2 is an integer or floating point greater than 37 will be printed. (The +0 forces it to interpret $2 as a number, not a string.)
There's also the join utility which can join flatfiles on a common field.
Please explain in more detail what you need.
Last edited by Corona688; 11-27-2018 at 03:13 PM..
Hi Gurus,
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to a@a.com
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
I am new to shell scripting and I have to to the following
I have a flat file with storename(lenth 20) , emailaddress(lenth 40), location(15). There is NO delimiters in that file.
Like the following str00001.txt
StoreName emailaddress location... (3 Replies)
Hi,
I am reading a file line by line using read line function of while loop. Each line contains 4 fields. I want to take these 4 values in 4 variables in each iteration so that i can use them in my script. The issue here is that my awk command is returning awkward results -
Here is a sample line... (8 Replies)
Hi Folks,
I have a file without any delimeters and it is a flat file. Example,
my raw data looks: x25abcy26defz27ghi.....
Now, could you please any one help me to program to split this into variable and create a text file. I want a output as below
Name Age Number
x 25 abc... (14 Replies)
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
I have 'n' number of files in a folder .each file in the folder "myfolder" is having the content like.
COLNAME
------------
AAAAAA
BBBBBB
CCCCCC
DDDDDD
...
...
...
ZZZZZZ
26 recrod(s) selected.
My request is by reading each file in "myfolder" and format each file such a way... (18 Replies)
I have a requirement to read the xml file and split the files into two diffrent files in Unix shell script. Could anyone please help me out with this requirement.
Sample file
---------------
0,<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Information... (3 Replies)
hi
i have written a script for reading a csv file and creating a flat file, suggest if this script can be optimized
#----------------
FILENAME="$1"
SCRIPT=$(basename $0)
#-----------------------------------------//
function usage
{
echo "\nUSAGE: $THIS_SCRIPT file_to_process\n"... (3 Replies)
Hi ,
i have a parameter which has path of a file. Now i need to have another parameter with the content of that file. I tried the belwo script , can any one please help.
I dont want to use cat command to read. Can we do it with out using cat command.
while read line
do... (9 Replies)
Dear Gurus
I am stuck with the peice of work and do not know from where to start.
I get a machine generated file which is binary file contain binary data, i want to read binary data as it is without converting into any other format.
i want to read byte by byte.
Please let me know what... (24 Replies)
Discussion started by: guddu_12
24 Replies
LEARN ABOUT DEBIAN
rpld-import
rpld-tools(1) System User's Manual: rpld-tools rpld-tools(1)NAME
rpld-tools - RoarAudio PlayList Daemon control programs
SYNOPSIS
rpld-next --ifcurple PLE
rpld-ctl [COMMON OPTIONS] COMMAND [arg]
rpld-queueple [COMMON OPTIONS] [--pos {first|last|POS]] PLE [PLI]
rpld-listq [COMMON OPTIONS] [PLI]
rpld-setpointer [COMMON OPTIONS] POINTER PLE [PLI]
rpld-listplaylists [COMMON OPTIONS] [{--tree|--flat}]
rpld-import [COMMON OPTIONS] PLI TYPE FILE
DESCRIPTION
The RoarAudio PlayList Daemon is a daemon which manages playlists and can play files or streams from those lists using a RoarAudio Sound
Server.
This is a set of Perl based tools to do simple control of the server.
The following tools are supported:
rpld-next --ifcurple PLE
Skip current song.
if --ifcurple and a PLE is given the song is only skiped if the currently played song matches the given PLE.
rpld-ctl [COMMON OPTIONS] COMMAND [arg]
This command can alter diffrent parts of the current rpld state. This included playback state as well as some playlist manipula-
tion.
Possible commands are:
pause Pause playback.
unpause
Unpause playback.
togglepause
If playback is paused unpause, if not pause.
volume VOL
Set volume to VOL. VOL must be in range 0%..100% or 0..65535.
play Start playback.
stop Stop playback.
next Play next track.
prev Play previous track.
store Save current state to store.
addplaylist PLAYLIST
Add a new playlist.
delplaylist PLAYLIST
Delete a playlist.
rpld-queueple [COMMON OPTIONS] [--pos {first|last|POS]] PLE [PLI]
Queue the song PLE form playlist PLI. If no playlist is given all playlists are searched. A position where to queue to can option-
aly be given.
rpld-listq [COMMON OPTIONS] [PLI]
List content of queue or given playlist PLI.
rpld-setpointer [COMMON OPTIONS] POINTER PLE [PLI]
Set pointer POINTER to a given target PLE. If no playlist (PLI) is given Main Queue is used.
rpld-listplaylists [COMMON OPTIONS] [{--tree|--flat}]
List all known playlists. Listing is done in correct tree view (default) or as flat view.
rpld-import [COMMON OPTIONS] PLI TYPE FILE
Import a playlist file FILE into a playlist PLI. The type of the file is given as TYPE.
COMMON OPTIONS
The following common options are supported:
--help THis option shows a brief help.
--server SERVER
This option sets the server to connect to. This overrides the defaults.
--queue QUEUE
This sets the default queue for the current process.
SEE ALSO rpld-deprecated(1), rpld(7), RoarAudio(7).
HISTORY
For history information see RoarAudio(7).
rpld-tools May 2012 rpld-tools(1)