9 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. Shell Programming and Scripting
These three finds worked as expected:
$ find . -iname "*.PDF"
$ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \)
$ find . -path "*_nobackup*" -prune -iname "*.PDF"
They all returned the match:
./folder/file.pdf
:b:
This find returned no matches:
$ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
3. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
./local/share/test23.log
How can achieve that
a.) the leading "./" is omitted
and/or
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
1 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
I don't know if there's a better name for what I call "file collision"... Basically, I have a script that I'm using for quick and dirty MySQL testing. Here's the idea...
#!/usr/local/bin/bash
for num in `jot $1` ## Yep, jot... this is FreeBSD
do
/usr/bin/time mysql --user=root... (2 Replies)
Discussion started by: treesloth
2 Replies
6. Solaris
Hi All,
I'm actually trying to configure a Qlogic HBA on a solaris9 connecting in a Brocade SAN. I installed Solaris9 and now trying to look at FC devices..
bash-2.05# luxadm -e port
Found path to 0 HBA ports
bash-2.05# luxadm probe
No Network Array enclosures found in /dev/es... (7 Replies)
Discussion started by: ilan
7 Replies
7. AIX
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Discussion started by: jerardfjay
11 Replies
8. UNIX for Dummies Questions & Answers
Hey All,
Let me start out w/ I have serched the forums and found this to be a typical problem. None of the threads have been able to help in my situation though.
I know cc or gcc needs to be installed in ...bin]# (or lead the path of the app to wherever gcc is when compiling) so the app can... (4 Replies)
Discussion started by: SloYerRoll
4 Replies
9. Solaris
I recently got this new old server from a friend. I just installed a fresh version of Solaris 10 on it. I have put a static IP of 192.168.100.10 the server. Their is no subnetting scheme on the network. And I made the hostname "SunServ." And I also changed the folder "/etc/inet/hosts" because I... (4 Replies)
Discussion started by: louisd11
4 Replies
icmstart.rc(7) icmstart resource file icmstart.rc(7)
NAME
icmstart.rc - The icmstart(1) resource file
DESCRIPTION
The icmstart.rc file defines the initial files of a program that are installed by icmstart(1).
By default icmstart.rc is found in /etc/icmake/icmstart.rc, but if a file $HOME/.icmake/icmstart.rc is found then the latter file is used
by icmstart(1). $HOME/.icmake/icmstart.rc in turn is overruled by specifying a -c option when invoking icmstart(1).
The default resource file contains the following specifications, preparing for the construction of a C++ program using icmbuild(1):
CLASSES
P main.cc
P main.ih
P usage.cc
P version.cc
P ? scanner
P ? parser
The icmstart.rc file may contain:
o empty lines, which are ignored;
o lines beginning with a hash-character (#), also ignored;
o Optionally: a P (don't install with icmstart xxx library) or an L (don't install with icmstart xxx program), followed by a blank;
see also icmstart(1).
o Optionall: a ? (followed by a blank) following the optional P or L in which case the installation of the element must be confirmed
by the user.
o Source path names. Relative path names are interpreted relative to the current working directory. Environment variables are not
expanded, the initial tilde character is interpreset as the user's home directory.
o Source path names followed by a destination (relative to the directory initialized by icmstart(1)). A source path may be either a
file or a directory. If a directory is specified then all files in and below that directory will be installed.
When specifying a destination a path may be specified as well. However, the destination path is always interpreted relative to the instal-
lation directory specified when calling icmstart(1).
If a destination is omitted, the source is installed as specified below icmstart(1)'s destination directory.
EXAMPLES
The following entries can be used in an icmstart.rc file:
o source
`Source' must be in the skeleton directory visited by icmstart(1) and is installed as source in the destination directory specified
when calling icmstart(1).
o source dest
`Source' must be in the skeleton directory visited by icmstart(1) and is installed as dest in the destination directory specified
when calling icmstart(1).
o ~/path
`~/path' is installed as ~/path in the destination directory specified when calling icmstart(1). The ~-character is expanded to the
user's home directory.
o ~/path dest
`~/path' is installed as dest in the destination directory specified when calling icmstart(1). The ~-characteris expanded to the
user's home directory.
o /path
`/path' is installed as ./path in the destination directory specified when calling icmstart(1).
o /path dest
`/path' is installed as dest in the destination directory
o ? source
The user must confirm the installation of source.
o ? source dest
The user must confirm the installation of source as dest in the destination directory specified when calling icmstart(1).
o # text
Interpreted as comment and ignored. The #-character must be the first character on the line.
o an empty line
Empty lines are skipped.
FILES
The mentioned paths are sugestive only and may be installation dependent:
o /usr/share/icmake/icmconf Example of an icmbuild configuration file;
o /usr/share/icmake/CLASSES Example of an icmbuild CLASSES file.
o /usr/share/icmake/icmstart.rc Default skeleton resource file.
SEE ALSO
icmake(1), icmbuild(1), icmconf(7), icmstart(1)
BUGS
None reported
COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl).
icmake.7.18.00.tar.gz 1992-2012 icmstart.rc(7)