Shell Scripting - Select multiple files from numbered list
I am trying to have the user select two files from a numbered list which will eventually be turned into a variable then combined. This is probably something simple and stupid that I am doing.
Code:
clear
echo "Please Select the Show interface status file"
select FILE1 in *;
echo "Please Select the Show Vlan file"
select FILE2 in *;
do
Hi there, just wondered if somebody could help me with a problem I have
I have a program that when run from the command line will output a list of objects
# list_servers
server1
server5
server7
server8
#
I just wanted to know, in perl, how can i make each line of output from... (4 Replies)
Hi,
I would like to write a for loop that does the following:
I have a file called X.txt and other files called 1.txt,2.txt, .....,1000.txt.
I want to substitute the 6th column of the file X.txt with 1.txt and store the output as X.1. Then I want to do the same with X.txt and 2.txt and store... (0 Replies)
Hi,
I have some hundreds/thousands of files named logX.dat, where X can be any integer, and they are sequential, X ranges between 1 and any number:
log1.dat log2.dat log3.dat log6.dat log10.dat ... log6000.dat
I would like to rename them to
scatter_params_0001.dat... (6 Replies)
Hi,
I've a list of files
ac_info.tps, subscription_array.tps, .......and many other files
one of the file, bin_range_list.tps has the following content
CREATE OR REPLACE TYPE "BIN_RANGE_LIST" AS TABLE OF BIN_RANGE_ELEM;
/
grant execute on... (4 Replies)
I copied the below program to play around with displaying a list of items using the select command in ksh. When I put all items in the same line, it works fine. I am trying to use multiple lines instead of a single row...my list is too large for a single line. How do I get the line continuation... (3 Replies)
I have about 6000 files of the following format (three simplified examples shown; actual files have variable numbers of columns, but the same number of lines). I would like to concatenate the ID (*Loc*) and data lines, but not the others, as shown below. The result would be one large file (or... (3 Replies)
I have a text file in this format
Some lines....
Question no: 1
The question?
A. Answer 1
B. Answer 2
C. Answer 3
D. Answer 4
Answer:B
Some lines....
Question no: 2
The question? (choose 2) (10 Replies)
Hi,
I am trying to script the below, but I am not very good at it :(
Your help would be greatly appreciated.
1. read all files in the directory in strings
strings *.*
2. in each file, for each line that contains "ABCD", store characters located at position 521 and 522 of this line... (9 Replies)
Hello All,
just wanted to export multiple tables from oracle sql using unix shell script to csv file and the below code is exporting only the first table.
Can you please suggest why? or any better idea?
export FILE="/abc/autom/file/geo_JOB.csv"
Export= `sqlplus -s dev01/password@dEV3... (16 Replies)
Discussion started by: Hope
16 Replies
LEARN ABOUT DEBIAN
katedj
KATEDJ(1) libkate KATEDJ(1)NAME
KateDJ - edits and remixes Kate streams in Ogg
SYNOPSIS
KateDJ [-hV]
DESCRIPTION
KateDJ allows extracting Kate tracks embedded in an Ogg stream, editing them, and rebuilding the Ogg stream after the Kate tracks are modi-
fied.
KateDJ is a simple GUI program, so usage is UI driven, rather than command line driven.
This is a walkthrough of the usual program flow:
Select 'Load Ogg stream' to select the Ogg file you want to remix.
Select 'Demux file' to extract Kate streams from this file to a temporary directory. Depending on the size of the Ogg file, that step may
take a while. A message will then tell you where the temporary files have been placed. All Kate streams will be decoded to a text
description and placed in this temporary directory, and a list of them, along with their serial number, language, and category, will be
displayed in a list.
Those files may then be edited at will, either in the embedded editor by double clicking on the stream in the supplied list, or with your
favorite text editor. Any modification may be done, including removing some of those files altogether, or even adding some. However, in
order to be recognized, any new files must be named according to the same naming convention as the existing ones.
Once the desired modifications are done, select 'Remux file from parts' to attempt to recreate the Ogg stream. If any error occurs (eg,
syntax error in the Kate files), a message will inform you. Once the errors are fixed, select 'Remux file from parts' again, until the
operation succeeds.
The embedded editor can test a modified stream, so it more convenient for quick modifications, while your editor of choice may be more pow-
erful for complex modification.
OPTIONS -h Show command line help.
-V Show version information.
SEE ALSO katedec(1), kateenc(1), katalyzer(1)libkate 0.4.1 18 august 2009 KATEDJ(1)