Search Results

Search: Posts Made By: xqwzts
4,743
Posted By balajesuri
$ cat test.pl #! /usr/bin/perl print "hello...
$ cat test.pl
#! /usr/bin/perl
print "hello ";
system ("/usr/bin/perl /home/user/test1.pl");
$
$ cat test1.pl
#! /usr/bin/perl
print "world\n";
$
$ ./test.pl
hello world
$
$
13,483
Posted By Scrutinizer
try: IFS= read -r
try:
IFS= read -r
7,247
Posted By Scrutinizer
Or for example, just put the sequences in...
Or for example, just put the sequences in variables and use those in the format part of printf.
$ BLUE="\e[0;34m"
$ GREEN="\e[0;32m"
$ RED="\e[0;31m"
$ NOCOLOR="\e[0m"
$ printf "%s $BLUE%s...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy