8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
3. Shell Programming and Scripting
I want to move the folder once it stops receiving data. The sign to tell when the folder is ready is the number of files in it. Here, once the folder has 27 files, it tells me it is "ready". An example, S46 has 62 subfolders with similar pattern S46_005, S46_007 ---> S46_127. Some may not have 27... (9 Replies)
Discussion started by: yifangt
9 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I work noramly with 3/4/5 Terminals (not xterms) open. In the different Terminal I set different tools (software).
Unfortunately I loose easily the overview of all these Terminals. Which setup is in which Terminal?
It would be nice to have a possibility to name Termianls. By the way I work... (4 Replies)
Discussion started by: hooge789
4 Replies
6. Shell Programming and Scripting
Dear friends, following is the output of a script from which I want to remove spaces and new-line characters.
Example:-
Line1 abcdefghijklmnopqrstuvwxyz
Line2 mnopqrstuvwxyzabcdefghijkl
Line3 opqrstuvwxyzabcdefdefg
Here in above example, at every starting line there is a “tab” &... (4 Replies)
Discussion started by: anushree.a
4 Replies
7. UNIX for Advanced & Expert Users
Hey all,
I have a shell that invokes a AWK.
In this AWK i want invoke a function that receives 3 parameters:
date: 20080831
time: 235901
duration: 00023
that function receive this 3 parameters and sum to this value two more seconds:
2008083123590100025
Remember that in case that... (3 Replies)
Discussion started by: anaconga
3 Replies
8. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
DESKTOP-FILE-VALIDATE(1) General Commands Manual DESKTOP-FILE-VALIDATE(1)
NAME
desktop-file-validate - Validate desktop entry files
SYNOPSIS
desktop-file-validate [--no-warn-deprecated] [--warn-kde] FILE...
DESCRIPTION
The desktop-file-validate program is a tool to validate desktop entry files according to the Desktop Entry specification 1.0.
The specification describes a file format to provide information such as name, icon and description for an application. Such a file can
then be used as an application launcher and to display the application in the applications menu.
For information about the Desktop Entry specification, see http://freedesktop.org/wiki/Specifications/desktop-entry-spec.
The desktop entry files are commonly called desktop files.
OPTIONS
The following options are supported:
--no-warn-deprecated
Do not warn about usage of deprecated items that were defined in previous versions of the specification.
--warn-kde
Warn about usage of KDE extensions to the specification. This includes the use of the KDE Desktop Entry group, of the ServiceTypes,
DocPath, Keywords, InitialPreference, Dev, FSType, MountPoint, ReadOnly, UnmountIcon keys, or of the Service, ServiceType and FSDe-
vice types.
BUGS
If you find bugs in the desktop-file-validate program, please report these on https://bugs.freedesktop.org.
SEE ALSO
desktop-file-edit(1) desktop-file-install(1)
FREEDESKTOP.ORG DESKTOP-FILE-VALIDATE(1)