Search Results

Search: Posts Made By: huko99
2,455
Posted By huko99
Learning Perl
Folks! Anyone please explain the behavior of this program step by step. Thanks.
#! /usr/bin/perl
$testfile = "./testfile2";
for ( $i = 1, $i <= 5, $i++) {
open ($FILE, ">", $testfile);
...
1,064
Posted By huko99
yes, it make sense. but what does 'y means? ...
yes, it make sense.

but what does 'y means?

---------- Post updated at 11:32 PM ---------- Previous update was at 11:27 PM ----------
cat script
sed 'y/^biecn/CFKZNT/' $1

./script file.txt...
1,064
Posted By huko99
Thanks for you reply. If i run the above...
Thanks for you reply.

If i run the above script on the file.txt
cat file.txt
beware it's still relatively early in the smartphone game, and it's still an open question how low the price will go....
1,064
Posted By huko99
sed question
Hello Folks,


Can someone explain what does the following command mean.
sed 'y/^biecn/CFKZNT/' $1
the middle part will replace biecn with FKZNT and stores the values in 1st.

any ideas?
Showing results 1 to 4 of 4

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