I am on linux and I am supposed to receive 3 files. If any of the files are not received I need to identify the missing file and throw it out in a variable.
I have put in something like this
Is there a way I can capture each file in a variable and throw out the missing file after all the checks are completed?
What do you mean by "capture each file in a variable"? You already have each file's pathname in a variable. You can't put the contents of a file that was not found in a variable (unless you just want to set a variable to an empty string).
I assume that you are asking for our help in setting variables (since you have put those comments in bold text), but I have no idea what you intend to do with those variables???
How do you "throw out the missing file"? If a file is missing isn't it already gone???
hi all,
i have the next question:
how can i identify the type of a file? . I'm working in Unix (Solaris 5.7) and i would like identify if a file is or not is a "flat file". I need have a program what separates the flat file in a directory, and the excel file in another directory.
I must get... (1 Reply)
hi,
I have a requirement in that i need to process a input file
The problem is, the input file sometimes it is coming in dos mode and some times it is coming in unix mode
The script which i have written will process the file only if it is in unix mode and it is not processing if the file is in... (7 Replies)
Dear Members,
I have a file which contains ControlM characters in it.
I need a command by the means of which i should be able to identify if a file has controlM characters.
How can this be achieved.
Thanks
Sandeep (4 Replies)
Dear Members,
Can we find if a particular file is encrypted or decrypted.
I need a command by which i should be able to identify if a file is encrypted or decrypted.
How can we do this? (1 Reply)
Hi all,
I'm using SunOS.
need to find age of the file in terms of seconds. The file
name with its path will be given to the script as input.
Any kinda help will be appreciated.
Thanks in advance (7 Replies)
I have a very large system generated file containing around 500K rows size 100MB like following
HOME|ALICE STREET|3||NEW LISTING
HOME|NEWPORT STREET|1||NEW LISTING
HOME|KING STREET|5||NEW LISTING
HOME|WINSOME AVENUE|4||MODIFICATION
CAR|TOYOTA|4||NEW LISTING
CAR|FORD|4||NEW... (9 Replies)
Hi,
need help in recognizing the pattern of file name. For e.g.
file name 1: <static file prefix>.<store cd>_<YYYYMMDD>.<ext>
file name 2: <static file prefix>_<YYYYMMDD>.<ext>
I want to know that there are 3 dots "." in the file name1 and one dot "." in file name2. How can I know... (3 Replies)
The contents of my service file srvtemplate-data-i4-s1.conf is
Description=test service for users
After=network.target local-fs.target
Type=forking
RemainAfterExit=no
PIDFile=/data/i4/srvt.pid
LimitCORE=infinity
EnvironmentFile=%I
.
.
.
WantedBy=multi-user.target (0 Replies)
Hi
I am trying to understand a shell scipt file ( .ksh file ) . In the shell script we are referring a variable .
Example : SessLogs=$STAFF_MSTR_DIR/staff_dtls
There are no references in the shell script from where the variable "$STAFF_MSTR_DIR" is being read from .
Could anyone... (2 Replies)
Discussion started by: Sudheer Maddula
2 Replies
LEARN ABOUT DEBIAN
aldo
ALDO(1) General Commands Manual ALDO(1)NAME
aldo - A fully console morse code trainer written in ISO C++.
SYNOPSIS
aldo
DESCRIPTION
Aldo is developed from scratch in ISO C++ using GNU C++ Standard Library and libao (www.xiph.org/ao).
It is a morse code learning tool which provides four type of training methods:
Blocks
Identify blocks of random characters played in morse code.
Koch
Two morse characters will be played at full speed (20wpm)
until you'll be able to identify at least 90 percent of them.
After that, one more character will be added, and so on.
File
Identify played characters generated from a file.
Callsign
Identify random callsigns played in morse code.
NOTES
The "Device" option under the keyer depends on the particular driver. The "default" setting picks the default sound device. This option
may be used to pick a different soundcard than the default one.
For alsa, it is "hw:<card>,<device>", where the card and device number are the particular hardware devices. The default is generally
"hw:0.0". Generally 0 is the first card, 1 is the second, etc. Some sound cards may have multiple output devices, the device picks the
particular one.
For oss, sun, and aixs, it is the device name, like /dev/dsp.
For esd, it is the host name, like "whizbang.com:555".
It is not used on any other drivers.
AUTHOR
This manual page was written by Giuseppe Martino <denever@users.sf.net>, for the Debian project (but may be used by others).
Nov 20, 2004 ALDO(1)