02-16-2011
Yes they can.
---------- Post updated at 08:48 AM ---------- Previous update was at 08:33 AM ----------
They must be in order by their sequence number.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi folks,
I would like to know the difference between shell programming and awk programming. Actually i have developed a few applications in both but i could not find a better difference other than the syntax differences.
For example, the awk programming syntax is complicated. It has "{" and... (4 Replies)
Discussion started by: Nisha
4 Replies
2. Programming
Im trying to write some code atm which gets the complete pathname of a folder and strips off references to the parent folders. The end result should be just the name of the folder.
Currently Im able to extract the folder name, however Im getting junk added onto the name as well which is making... (7 Replies)
Discussion started by: JamesGoh
7 Replies
3. UNIX for Dummies Questions & Answers
Hello
i need help with following problem:
i need to update a file containing records in following format:
student1
classa
student2
classb
student3
student4
classc
i need to associate EACH student with a class in my output file ... so for students 3 and 4, i need to create a... (12 Replies)
Discussion started by: alrinno
12 Replies
4. UNIX for Advanced & Expert Users
Hi all
I encountered a strange phenomenon when reading / writing to RS232 serial device (on my machine /dev/ttyS0)
I have simple 2 processes:
1) process which WRITE characters from /dev/ttyS0
For example write the characters... (2 Replies)
Discussion started by: dudi.forum
2 Replies
5. Shell Programming and Scripting
i want to calculate power of 10 as follows:
coef=2.0588
ra1=$(awk 'BEGIN{print 10^$coef}')
it gives a result 1
when,
if i calculate
ra1=$(awk 'BEGIN{print 10^2.0588}')
it gives a result 114.499
what should i do? (2 Replies)
Discussion started by: SANGUINE
2 Replies
6. Shell Programming and Scripting
Hi
I have a multi -line file which is sorted by the 1-st colomn in the following format:
400 0000 0001 1000 1010 0111 0000 1000 0000
402 1101 0000 1100 1010 0111 1000 1000 0000
403 1001 0000 1100 1010 0111 0000 1000 0000
495 1000 0000 1100 ... (4 Replies)
Discussion started by: aoussenko
4 Replies
7. Programming
Hi Everybody.
I have an Ubuntu linux 10.04 os and want be able to use the website of intuit but it only runs on unix. Is there any way that I can put the needed drivers in this os since both linux/unix share some distinctive programs.
If this is not possible how can I save the information that I... (1 Reply)
Discussion started by: mk631219
1 Replies
8. Shell Programming and Scripting
Hi All,
I read the AWK manual in the MAN page. But i didn't understand the below piece of code in the script
TABLE=`echo "${FILE}" | awk -F"/" '{print $NF}' | cut -d"." -f1 | awk -F"_" '{print $NF}' 2>> ${LOGFILE}`;
Please explain the above code.
Thanks in advance .......
Regards,... (4 Replies)
Discussion started by: pdathu
4 Replies
9. Programming
Dear Linux users,
I'm a noob at openmp, gcc and c programming. I can run my own openmp code in terminal with no problem, eg. gcc -fopenmp program.c -o program.
But now I'm trying to compile and run another person's code, it contains a makefile and multiple .c and .h files. I don't know how to... (2 Replies)
Discussion started by: pigeon151
2 Replies
10. Shell Programming and Scripting
Hi All,
I am new to AWK programming. I have the following for loop in my awk program.
cat printhtml.awk:
BEGIN
-------- <some code here>
END{
----------<some code here>
for(N=0; N<H; N++)
{
for(M=5; M<D; M++) print "\t" D "";
}
-----
}
... (2 Replies)
Discussion started by: ctrld
2 Replies
LEARN ABOUT SUSE
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)