Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: pciatto
Forum: Programming 10-23-2003
1,983
Posted By pciatto
OK
Many thanks! My application is working!

Bye,
Paride
Forum: Programming 10-13-2003
1,983
Posted By pciatto
Getting File Name
Hi!

I'm developing an application program by C++ language in the UNIX environment and I would know the name of last file written at a particular path and with a particular prefix.
For...
17,924
Posted By pciatto
ps output truncated
Hi!

I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.

A typical shell command line is:

PROMPT >...
7,365
Posted By pciatto
ps output truncated
Hi!

I have some shell scripts receiving in input lots of parameters and I need to select the ones having a particular value in one parameter.

A typical shell command line is:

PROMPT >...
2,310
Posted By pciatto
Select running process
Hi!

I need select a running process by ps command, for instance:

PROMPT> ps -fu $LOGNAME | grep executable_program
executable_program -input_file file1.txt
grep executable_program

I...
10,291
Posted By pciatto
Upper And Lower Case
Hi!

I pass a parameter to a script code and I have to make it upper case before use:

$ MyShell aBcDe

script code:

UpperVariable=function($1)

I can't know how make function, maybe some...
8,783
Posted By pciatto
Thank You, Melissa!
Thank You, Melissa!
8,783
Posted By pciatto
Sed String Substitution
Hi!

I've the following script code with an input parameter:

sed 's/oldstring/$1/g' myfile > newfile

(I launch it with comman line: $ MyShell newstring)

Problem: the substituion...
2,905
Posted By pciatto
SED STRING SUBSTITUTION
Hi!

I've the following script code with an input parameter:

sed 's/oldstring/$1/g' myfile > newfile

(I launch it with comman line: $ MyShell newstring)

Problem: the substituion doesn't...
Showing results 1 to 9 of 9

 

Featured Tech Videos

All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy