Search Results

Search: Posts Made By: 123script
2,442
Posted By 123script
Great. Thanks
Great. Thanks
2,442
Posted By 123script
print "\\a\b\c\d" using ksh
Hello,
I am trying to get the output in the format \\a\b\c\d using ksh

I tried print and echo commands but still unable to get \\ in front of the first character.

Please advise


Thanks
11,865
Posted By 123script
Print the second field of a csv if the last field is p
Hello
How can I print the 2 fields if the last field is p for a csv file.
Example
1.11a,test2,Test result for scenario 1,1 2 3 4,v
1.12b,test4,Test result for scenario 2,incomplete,p...
11,865
Posted By 123script
Can you please explain how this command works ...
Can you please explain how this command works

Thanks
11,865
Posted By 123script
Hi Jagadeeswaran, This is an interesting...
Hi Jagadeeswaran,
This is an interesting command (awk '{printf("%sZ\n",substr($0,1,length($0)-1)) ;}' test).
Can please explain how it works

Thanks
11,865
Posted By 123script
Example of file content: ksh: cat result.dat ...
Example of file content:
ksh: cat result.dat
1.11a,Test result for scenario 1,1 2 3 4,p
1.12b,Test result for scenario 2,incomplete,q
1.13,Test result for scenario 3, 4 5 6,P
...

The number...
11,865
Posted By 123script
Replacing the last character for each line in a file
Hello,
I have a csv file and will like to replace the last character of each line in the file with Z
Showing results 1 to 7 of 7

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