10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, all
I just came to new system with RH, and it has alot of macros I was told to use, but I can't find how to open it for display or for edit, can you help me please, is it all about make/makefile?
let say I have macro <trx> like this, that does a lot of things:
>$ trx
... creating new... (1 Reply)
Discussion started by: trento17
1 Replies
2. UNIX for Advanced & Expert Users
I need a shell script to make a table from Named Variables
Input File(Can have multiple lines):
a=1,b=2,d=4,e=5
a=11,b=12,c=13,d=14
Output file:
a,b,c,d,e
1,2,,4,5
11,12,13,14,
Thanks in advance (7 Replies)
Discussion started by: shariramani
7 Replies
3. UNIX for Dummies Questions & Answers
Hello every body,
I need to make a constant variable to the root such as #PS1="I am Amer" and so on.
I know if i am a user,I can make it fixed from #vi .profile
HOW to make it fixed for the root?
Thanks in advance
BR
Ahmed Amer
Cairo,Egypt (7 Replies)
Discussion started by: ahmedamer12
7 Replies
4. Programming
I have a PORT_NUM macro (10 digits long number)
in a server file, if i do
htons(PORT_NUM)
i get
warning: this decimal constant is unsigned only in ISO C90
warning: large integer implicitly truncated to unsigned type
whats wrong with this? (2 Replies)
Discussion started by: omega666
2 Replies
5. UNIX for Advanced & Expert Users
Hello Everyone,
I want to know how can we make the variables of one script available for the other script?
for example i have three scripts variable_availability.sh,first.sh,second.sh and a file containing variables called common
----------------------------------
cat variable_availability.sh... (2 Replies)
Discussion started by: Kesavan
2 Replies
6. Linux
Masters,
I am trying to learn the serial mouse driver for linux kernel. On the kernel source tree I find out these macros and I am unable to find out the meaning of these macros. Please anyone help me to understand these.
These macros are defined in linux/serio.h... (2 Replies)
Discussion started by: iamjayanth
2 Replies
7. Shell Programming and Scripting
Is it possible to make function variables local?
I mean for example, I have a script variable 'name' and in function I have declared variable 'name'
I need to have script's 'name' have the same value as it was before calling the function with the same declaration.
The way to preserve a... (5 Replies)
Discussion started by: alex_5161
5 Replies
8. Shell Programming and Scripting
Hey people!
I just started out working at an ISP as tech support and thought that I should ease the work load by scripting some small macros.
I create different commands with Alias through .bashrc which are all directed to the same script file. Here I planned on using Expect to run different... (0 Replies)
Discussion started by: GhettoFish
0 Replies
9. UNIX for Dummies Questions & Answers
The question is , as the topic says, how does one save macros for VIM in the .vimrc.
I had a look on web and it gave all this ****** about how to build turing machines in vim code or something but i just want to store a macro to like :
if(){
}
I know how to do it IN vim but .vimrc??????!?!?!... (3 Replies)
Discussion started by: yngwie
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm going write a small handbook. The typesetting software I'm going to use is troff. There are -ms -me -mm macros for troff. Which one is the most suitable? Thanks!
-Tony (2 Replies)
Discussion started by: tonyt
2 Replies