Hi, excuse me for my poor english.
My problem is that:
I have a File
i want to add to each line of that file two strings: one at the beginning of the line, one at the ending.
string1="abcd"
string2="efgh"
i want $string1 content $string2 for each line.
Is that possible? (3 Replies)
file1 contains:
this is a test
this is a test and only a test
this is another test
this is another test and only another only
i'd like my file to look like this:
this is a test.
this is a test and only a test.
this is another test.
this is another test and only another only. (6 Replies)
Hi,
I just wanted to know if you have any idea or script to insert a text at everyend of the line, the text will vary. for example
sample:
this is line1 ok
this is line2 ok
this is line3 ok
output:
this is line1 ok /home/line1.txt
this is line2 ok /home/line2.txt
this is line3 ok... (6 Replies)
Hello Firends
I have a file that contains data within single quotes, which has meaning of its own. When I am trying to parse through the file for a different functionality I noticed that I was loosing the backslash when occurrences in the file look like ('\0'). I would want to retain the... (3 Replies)
Dear
I have one problem in SCO Unix command line.
I want to disable execution of commands with backslash.
For example - if the user executes the following command
\exec_script
Here - i want the system should NOT execute this command.
Can any one give me a suitable... (8 Replies)
Hi guys,
I have some echo scripts and awk scripts like these:
echo "some text" > output1
.
.
awk '{....}{print}' input > output2Both output1 and output2 are saved with unix END Of Line, then,
is there an option to include within echo command and awk command to save the output as DOS END Of... (3 Replies)
I have text file which is a tab delimited one. Sample data from the file is shown below:
unix is\ great\ os
linux\ is superb
I want to replace that backslash with empty string preserving the tab delimiter. Output should be
unix is great os
linux is ... (3 Replies)
Hi all,
can some one help me out
file 1 i have
06/01 3:14 d378299
06/01 8:10 d642036
06/01 10:51 d600441
06/01 10:52 d600441
06/01 11:11 d607339
06/01 11:49 d398706
something like this and in file named list i have ( there is space btwn 06/01 and 11:49 and d398706)
d607339... (5 Replies)
hi,
I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT FREEBSD
msdos
MSDOSFS(5) BSD File Formats Manual MSDOSFS(5)NAME
msdosfs -- MS-DOS file system
SYNOPSIS
options MSDOSFS
DESCRIPTION
The msdosfs driver will permit the FreeBSD kernel to read and write MS-DOS based file systems.
The most common usage follows:
mount -t msdosfs /dev/ada0sN /mnt
where N is the partition number and /mnt is a mount point. Some users tend to create a /dos directory for msdosfs mount points. This helps
to keep better track of the file system, and make it more easily accessible.
It is possible to define an entry in /etc/fstab that looks similar to:
/dev/ada0sN /dos msdosfs rw 0 0
This will mount an MS-DOS based partition at the /dos mount point during system boot. Using /mnt as a permanent mount point is not advised
as its intention has always been to be a temporary mount point for floppy and ZIP disks. See hier(7) for more information on FreeBSD direc-
tory layout.
SEE ALSO mount(2), unmount(2), mount(8), mount_msdosfs(8), umount(8)AUTHORS
This manual page was written by Tom Rhodes <trhodes@FreeBSD.org>.
BSD October 1, 2013 BSD