10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: rupeshkp728
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I was asked to create sudoers file for operation team so they can sudo as another user and run few commands.
I have updated /etc/sudoers file.
User_Alias LEVEL1 = JamesF, dennisW, juanC, steveS,
Cmnd_Alias SU_PROD=/bin/su prod, /bin/su - prod
Cmnd_Alias SU_NYOP=/bin/su... (2 Replies)
Discussion started by: samnyc
2 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I have a number files like these below
R1_970804_125318
R1_970804_125404(2)
R1_980322_219282
R1_980301_210651(2)
R1_980301_210651(3)and I'm trying to put file names into a string in order to perform some processings.
FILES=`cat namelist.txt`
for F in $FILES
do
...
...... (10 Replies)
Discussion started by: sunnydanniel
10 Replies
4. Shell Programming and Scripting
Hi all - I''m in a little bit of jam - If you can please help
I have a file that has the following content ( please see below)
I need to read the file and then get this result in this format
------------- To put out in this format
name: sophis Total: 22328
name: tca ... (2 Replies)
Discussion started by: mnassiri
2 Replies
5. Linux
i am trying to create rpm pacakage from hello world source code.
after running rpmbuild -bs test.spec file
i am successfully getting test-1-1.src.rpm package inside the /usr/src/redhat/SRPMS
But after running rpmbuild -ba test.spec i am not getting
test-1-1.i386.rpm binary package ... (1 Reply)
Discussion started by: anand121
1 Replies
6. Shell Programming and Scripting
hey i want to over write the fourth field of a ':' delimited file by first finding the required row by using grep.
i have done the following
cat file | grep no. | awk -F ':' { $4=count; print $1:$2:$3:$4;}
the correct values are being printed but nothin is bein added to the file..please... (5 Replies)
Discussion started by: dhe.arora
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I wrote a script, but it's not working. Please advise. I want to add the text at the end of the file. Should I use sed or awk. Not sure any thing is fine with me.
#!/usr/bin/ksh
DATE=`/usr/bin/date '+%m%d%y'`
cp -p /etc/inittab /etc/inittab_$DATE... (5 Replies)
Discussion started by: samnyc
5 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Pls help me with file editing using awk.
I have a text file with the below format.
"STANDARD VOLUME ","2009","BUX","V","JCBH49","NF", 001413
"VENDOR MATERIAL-STD ","2009","BUX","V","JCBH49","NF", 009948
"INBOUND TRANS-STD ... (2 Replies)
Discussion started by: srinivas.maddy
2 Replies
9. Shell Programming and Scripting
Hi All,
I have a file like
john::208:johnson
john::208:mery
john::208:test
admin:*:1:johnson
admin:*:1:test
and wanna convert this as
john::208:johnson,mery,test
admin:*:1:johnson,test
please help me to create a script for this
thanks in advance
John (4 Replies)
Discussion started by: johnsonpk
4 Replies
10. Shell Programming and Scripting
Hi
I have two files in unix. I need to compare two files and print the differed lines in other file
Eg
file1
1111
2222
3333
file2
1111
2222
3333
4444
5555
newfile
4444
5555
Thanks In advance (3 Replies)
Discussion started by: evvander
3 Replies
PERLCE(1) Perl Programmers Reference Guide PERLCE(1)
Name
Perl for WinCE
Description
This file gives the instructions for building Perl5.6 and above for WinCE. Please read and understand the terms under which this software
is distributed.
Build
This section describes the steps to be performed to build PerlCE.
Tools & SDK
For compiling, you need Microsoft Embedded Visual Tools, my celib-sources, my console-sources and a perl for win32.
Needed source files can be downloaded via: www.rainer-keuchel.de/wince/dirlist.html
Some portions of the makefile need a shell for win32, rm, cp, mv, xmkdir (mkdir with a -p option). It also uses my cecopy program for
copying files to the ce device.
Make
Miniperl is not built. A pre-existent win32 perl is used.
The paths for tools and additional libraries have to be changed in wince/makefile.ce.
Different ce targets can be specified with the TARGET macro.
Before you start, you need to build celib.dll and w32console. See instructions in these packages for building.
In the wince directory, type "nmake -f makefile.ce". This should build perl.exe and perl.dll. For building extension dlls, type "nmake -f
makefile.ce dlls"
When building ext dlls, you get lots of macro redefinition errors. Just ignore them.
For further information, look in the text files in the wince sub-directory.
Acknowledgements
The port for Win32 was used as a reference.
Author
Rainer Keuchel (keuchel@netwave.de)
perl v5.8.0 2003-02-18 PERLCE(1)